I keep getting the "undeclared identifier" error but I don't know what that means or how to fix this. Forgive me I am new to this!
#include <iostream>
#include <string>
using namespace std;
int main(void);
//Not sure why there is a Parse issue?
{
// insert code here...
cout<< "Hello, what is your name?";
cin>> Scotty;
cout<< "Hello, "<<Scotty<<endl;
return0;
}
I was able to figure out the previous question of the undeclared identifier but now I am getting an 'Expected unqualified-id' error? Thanks for answering to those who have
Check this out :