I am 15 and have been foolin around/ half ..........in with a few compilers. I am taking an actual computer programming class next year and I am really interested in it. I was wondering if any of u can help me. I have read a bunch of recommended books and I need help putting them into action.
I can do really simple basic stuff but I dont know much else.
If you could help me that would be great. If you have aim u can reach me at DragonSlayerTMO.
I just need explanation.
Thanks.
This is a really simple example of what im trying to do tell me why its not working.
Code:#include <iostream.h> //this is just a simple
//explanation of what it
int main() //is that I am trying to do.
{ //if any could help me that
int a; //would be great!
cout << "testing!" << endl; //Basically I am trying to
cin >> a; //make it so the program does
cout << "testing 2!" << endl; //both functions...i think thats
//the right word anywaz! I cant
return a; //seem to get it to work
}; //correctly. Again any help would
//be glady appreciated!
{ // this is line 13
int b;
cout << "testing b!" << endl;
cin >> b;
cout << "testing b 2!" << endl;
return 0;
}
/* Here is the error it gives me.
On line 13, error c2447: missing function header*/