   syntax error before  token?
  i keep trying to compile this thing.one of my lines is cin >> number1;but it keeps sayin syntax error before >> token dont get it   
  Did you:- #include <iostream> ?- Put in a using directive for cin? (using std::cin, or using namespace std)- Put a semi-colon on the line before this line of code?Those are some really common & obvious ones that jump out at me.EDIT: Also - it's hard to say without more context, if these don't fix, could you post a little bit of the source code above this line?   ;  Try putting this at the top of the program:using namespace std;Or, alternatively, do this:std::cin >> number1;edit: darn, beaten AGAIN!   ;  o lol thanks forgot the semicolon i keep forgettin the obvious stuff he he he   ;  I'm just too quick on the draw for you, Oberon! :DGlad your problem got fixed, OP.   