Hello, all. So, I'm a novice programmer who recently took to running eclipse for c++ coding on my Unix machine (Ubuntu). I can't seem to get past two errors:
1) 'Launch failed. Binary not found'.
2) 'The program file specified in the launch configuration does not exist'.
I haven't found a satisfactory solution for the first, and I have found nothing at all for the second. Does anyone know the solutions for these problems? Or perhaps just what these error messages entail? I don't know too much.
This code has worked before (in codeblocks and with g++ from command line), but I have also gotten these errors before:
Invoking: Cross G++ Compiler
g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"conditionals.d" -MT"conditionals.d" -o "conditionals.o" "../conditionals.cpp"
../conditionals.cpp: In function ‘void conditionals()’:
../conditionals.cpp:9:2: error: ‘cout’ was not declared in this scope
../conditionals.cpp:10:3: error: ‘cin’ was not declared in this scope
make: *** [conditionals.o] Error 1
The error was had when launched, of course. And uh, this is embarrassing... for some reason there is a stray file from another project in this file, explaining these errors. Actually, it's the originally named 3n+1, but unremoved. I'm going to have to get back to you on this. Thanks a lot for you help.