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?
Printable View
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;}
Any reason why you didn't press [Enter] after the includes, major_small? :D
i was actually considering writing a class... ;)