i haved used c for a while, but i love oop. i want to learn c++, and need a good tutorial. **I HAVE SEARCHED GOOGLE**, but what i find iseither too simple or too complex. for example what is using thing why cant i just include std.
1 2 3 4 5 6 7 8 9 10 11 12
/*what is std exactly (besides the namespace with the string type)*/
int main(int argc, constchar *argv)
std means standard; it's not a header.
imagine that there were a class named std in the header <iostream>. you want something from inside that class, like the 'cout' command. so, you use std::cout, indicating that you're entering the class and asking for the comand cout.
if you put "using namespace std" in the beggining of the file, you're just telling that you don't want to write "std::" everytime. then, you can write just "cout", instead of "std::cout". same for endl.