RE: Learning Classes? 01-17-2017, 10:02 PM
#7
I use www.cplusplus.com alot. The site has pages of everything you could ever want to know about c++ standard libraries.
Also, you probably know a little more about classes than you think. The string type variable is actually a class in c++. Whenever you use commands like 'somestring.length()' you are using the string class's member function 'length' to return the length of the string. If you check out thr standard library pages on cplusplus.com it will actually show you the code written into the string class that returns the length value.
Its honestly a shame that your school didnt cover anything about classes in C++. Its basically the defining point of the language.
Also, you probably know a little more about classes than you think. The string type variable is actually a class in c++. Whenever you use commands like 'somestring.length()' you are using the string class's member function 'length' to return the length of the string. If you check out thr standard library pages on cplusplus.com it will actually show you the code written into the string class that returns the length value.
Its honestly a shame that your school didnt cover anything about classes in C++. Its basically the defining point of the language.