For my assignment, I'm trying to make a program that stores my name as a variable and then displays "Hello! My name is <whatever value is stored in the variable". The problem is that my program won't function properly.
What I have so far:
Code:
#include iostream
using namespace std;
int main () {
string my_name = "Jonathan Chiou";
cout << "Hello! My name is " << my_name;
return 0;
}
What I get:
Line 9: error: #include expects "FILENAME" or <FILENAME>
What am I doing wrong, and what does this error mean?