As one can see, I am just starting out with C++ and just began my hello world program.
#include <iostream>
using namespace std;
int main() {
cout << "Hello, World!" << end1;
cout << "Hooray!" << end1;
system("PAUSE");
return 0;
}
But for some reason, unknown to me, I am getting an error on both of the cout
lines, saying end1
was undeclared! How do I fix this?