View Full Version : std::cout?
arjuntank
July 5th, 2009, 07:46 AM
i use netbeans for c/c++ programs. I dont want to use std::cout. can i change it to only cout?
PS. total newbie
thanks
TheStatsMan
July 5th, 2009, 07:48 AM
using namespace std;
arjuntank
July 5th, 2009, 07:54 AM
hey! thanks, it worked!
MadCow108
July 5th, 2009, 07:55 AM
and if you want only certain elements in your namespace:
using std::cout;
using std::endl;
cout << "test" << endl;
http://www.cplusplus.com/doc/tutorial/namespaces/
arjuntank
July 5th, 2009, 07:59 AM
and if you want only certain elements in your namespace:
using std::cout;
using std::endl;
cout << "test" << endl;
http://www.cplusplus.com/doc/tutorial/namespaces/
thanks for the tips and tutorial!
:)
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.