Im sure this is a simple question, but its had me stuck for hours.
using namespace std;
char name = mark;
int id = 0410448;
cout << name << " " << id << endl;
On this piece of code you have 4 errors:
include should be:
char name = markshould be
char* name = "mark"; or
char name = "mark";
int id = 0410448; should be
int id = 410448;
return0 should be
return0is a variable name, but you never specified a definition for it nor a value, what you essentially wanted there is to use the
returnkeyword with a value of 0 to indicate the program ended successfully.