Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 04-08-2005, 03:30 PM   #11
Daemon Poster
 
RewtGuy's Avatar
 
Join Date: Dec 2004
Posts: 595
Send a message via AIM to RewtGuy
Default Re: C++

why waste time typing std::cout all the time? just use

using namespace std;
before int main ()

also, you can just go to http://rafb.net/paste/results.html
look at other people's code and improve it. it's good practice.
__________________

__________________
Windows: A thirty-two bit extension and GUI shell to a sixteen bit patch to an eight bit operating system originally coded for a four bit microprocessor and sold by a two-bit company that can't stand one bit of competition.
RewtGuy is offline   Reply With Quote
Old 04-08-2005, 03:35 PM   #12
BSOD
 
Syn7ax 3rror's Avatar
 
Join Date: Apr 2005
Posts: 461
Send a message via AIM to Syn7ax 3rror Send a message via MSN to Syn7ax 3rror
Default Re: C++

Quote:
Originally Posted by RewtGuy
why waste time typing std::cout all the time? just use

using namespace std;
before int main ()

also, you can just go to http://rafb.net/paste/results.html
look at other people's code and improve it. it's good practice.
No, it's type def signed shor int(then name) for example.
__________________

Syn7ax 3rror is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 10:28 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0