hey everyone, I'm using Bloodshed as a compiler..but anyway the problem is when i compile it says the problem is this "{"
here's the code:
also there is another problem this compiler is always making me use system("PAUSE") instead of getch(); also...wat is namespace it does mention nething about it in my book.Code:#include <iostream> #include <stdlib.h> #include <math.h> using namespace std; int newnumber newnumber = start + 1; return newnumber; } int main(int argc, char *argv[]) { int testnumber; int result; testnumber = 20 result = AddOne(testnumber); cout << result << endl; return 0; }



LinkBack URL
About LinkBacks


