So we just started writing programs and I followed my teachers code to the T and it looks like this.
#include<isostream>
using namespace std;
int main()
{
cout << "Hello, today is Tuesday." << endl;
cout << "Tomorrow is Wednesday.";
return 0;
}
Something simple to just have it say Hello.....Wednesday.
I end up getting these error messages:
----jGRASP exec: g++ -g -c /Users/CRinger/School/ITCS 1212-001/FirstProgram.cpp
----jGRASP wedge: could not execute g++
---- error number 2.
----
---- Target does not exist or is not on PATH.
----
---- PATH is ":/usr/bin:/bin:/usr/sbin:/sbin".
So I have figure out the issue. However I am not sure how to fix it. The IDE is installed but the compiler is not. I just downloaded straight from the jgrasp website. I've tried xcode however not having an up to date OS for mac won't let it install. I have also tried codeblocks but there are a bunch of bugs that won't let me type code in the way I would like to. Any other free IDE+Compilers I can find. Its for just an intro course so I don't need anything fancy just something to get through the semester without having to waste time in our computer labs.