I just started this intro to C++ class, and I wanted to use Eclipse since it is already what I use for Java. I installed the C++ development tools, and created a new project for my pseudo-hello world program. This is the code I need to use:
//Compiler Assignment
//Your name
#include <iostream>
using namespace std;
int main()
{
cout << "Welcome to C++!\n";
return 0;
}
My teacher just wanted us to copy and paste that into a compiler and run it to display the message. My issue is that it does not recognize anything that is going on in this program (std, cout both cannot be resolved). I have been reading things everywhere, but I don't understand why this isn't working. I literally cannot write anything in C++ in Eclipse at the moment, because everything cannot be resolved. Sorry if this question seems stupid to you, but I have never done anything in C++ ever, and this doesn't seem like something that normally should be happening. Thanks in advance!
EDIT: When I go to run the program it says "Launch failed. Binary not found."