i just got a compiler, and i need to know some stuff to put into it to make a program. i was kind of hoping the program would be like a calculator. can anyone help me out?
i just got a compiler, and i need to know some stuff to put into it to make a program. i was kind of hoping the program would be like a calculator. can anyone help me out?
try this code:
Code:#include <iostream> #include <cstdlib> using std::cout;int main(){cout<<"I ";cout<<"don't ";char*word1="you'll ";char*word2="far";cout<<"think ";cout<<word1<<"get "<<word2;cout<<"without studying... \n";system("pause");return 0;}
Join is in our Unofficial Cprog IRC channel
Server: irc.phoenixradio.org
Channel: #Tech
Team Cprog Folding@Home: Team #43476
Download it Here
Detailed Stats Here
More Detailed Stats
52 Members so far, are YOU a member?
Current team score: 1223226 (ranked 374 of 45152)
The CBoard team is doing better than 99.16% of the other teams
Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)
Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT
Any reason why you didn't press [Enter] after the includes, major_small?
i was actually considering writing a class...
Join is in our Unofficial Cprog IRC channel
Server: irc.phoenixradio.org
Channel: #Tech
Team Cprog Folding@Home: Team #43476
Download it Here
Detailed Stats Here
More Detailed Stats
52 Members so far, are YOU a member?
Current team score: 1223226 (ranked 374 of 45152)
The CBoard team is doing better than 99.16% of the other teams
Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)
Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT