I am totally new to any type of programing and I was hesitant in posting this question but I cannot figure out what is wrong with this I am currently reading the C++ primer plus book and I copied this code and it doesn't want to run I have know idea why it doesn't work
Code:
//bodini.cpp -- using escape sequences
#include <iostream>
using namespace std;
int main()
{
cout << "\aOperation "HyperHyde" is now activated!\n";
cout << "Enter your agent code:_________\b\b\b\b\b\b";
long code;
cin >> code;
cout << "\aYou entered " << code << " ...\n";
cout << "\aCode verified! Proceed with Plan Z3!\n";
cin.get();
return 0;
}
the errors I am getting is this
6 C:\Documents and Settings\Server2003\My Documents\C++ Projects\Bondini.cpp expected `;' before "HyperHyde"
but I can't see anything wrong with it