- An attribute describes: The current state of an object.
- So, the following three dimensions describe any object in object oriented programming: identity, attributes, behavior.
- Each object has its own identity, data, and behavior.
Learning something about C++ on sololearn.com!
How complicated and long it is!
+ sign # at the beginning to target the compiler’s pre-processor.
+ #include tells the pre-processor to include the <iostream> header.
+ the <iostream> header defines the standard stream objects that input and output data.
+ using namespace std; tells the compiler to use the std (standard) namespace.
+ cout << “Hello world!”; : display to the screen “Hello world!”. cout is used to write output to the standard output, usually the screen.
+ return 0;
Try the above code in here!
What do I need to start coding C++?
+ Compiler like: GNU GCC;…