Al salamo Aleekom
And Hi...
Thank you for reading my topic...
--------------------------------------------
Today and yesterday,Suddenly .... i get a problem when i writing any C++ code in ecplise
i tried most of my previous codes but it give same problem...!
Can anyone help?!
here is the code:
#include <iostream>
using namespace std;
int main()
{
int counter = 0;
while(true)
{
counter ++;
if(counter > 10)
break;
}
cout << "Counter: " << counter << endl;
return 0;
}
and this is Console view after build (debuging):
**** Build of configuration Debug for project Linux_Xp_Learning ****
make all
Building file: ../while_true_loop.cpp
Invoking: GCC C++ Compiler
g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"while_true_loop.d" -MT"while_true_loop.d" -o"while_true_loop.o" "../while_true_loop.cpp"
/bin/sh: g++: not found
make: *** [while_true_loop.o] Error 127