When I try to compile with GCC, I am NOW getting this error:
Code:
C:\>gcc C:\C++\carp.cpp
gcc.exe: installation problem, cannot exec `cc1plus': No such file Or directory
(ENOENT)
C:\>
and I am using THIS code:
Code:
#include <isotream.h>
int main() //Most important part of the program!
{
int age; //Need a variable...
cout<<"Please Input your age: "; //Asks For age
cin>>age; //The Input is put In age
if(age<100) //If the age is less than 100
{
cout<<"You are pretty young!"; //Just To show it works
}
Else if(age==100) //I use Else just To show an example
{
cout<<"You are old"; //Just To show you it works...
}
Else
{
cout<<"You are really old"; //Executed If no other statement is executed
}
return 0;
}
Thanks alot.