This may be really stupid but im having trouble with hello world. I keep getting this error
$ g++ test.cpp
/usr/lib/gcc/x86_64-pc-cygwin/5.4.0/../../../../x86_64-pc-cygwin/bin/ld: cannot open output file a.exe: Permission denied
collect2: error: ld returned 1 exit status
Ive tried everything. I cant really progress to the next stage because I have no idea how to fix this.
Google?
The answer is out there, just need a quick search:
cygwin cannot open output file a.exe: Permission denied
Once you have that working, you should compile with at least this:
g++ -std=c++14 -Wall -Wextra -pedantic-errors test.cpp -o YourExeFileName
Good Luck !!