//When i do int it is bolded in my complier and "string" is not i do have
//the include string but nothing seems to be working.
//the errors sayes " 'string' undecleared "
using namespace std;
i havent gotten that far and my complier puts in in there and the book i have uses a differnt complier!
ty 4 u time
RE: C++ functions
Posts: Location: Joined: 01.01.70 Rank: Guest
Posted on 14-07-06 03:47
The "using namespace std" simply tells the compiler to use the names defined in the standard library as if they were functions that you defined in your program yourself pretty much. I suggest you continue to read further along in the book because they are bound to explain it sooner or later, and as a side-note, "using namespace std" isn't considered a good programming habit and should not be used unless you are really really lazy.
Hellbound Hackers is the collective work of the staff and the community and is therefore licensed under the CC BY-NC-SA license.