i get the error when i use the default compiler(GNU GCC Compiler):
"Chapt3challenge1 - Release" uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]. Skipping...
Nothing to be done.
i don't think this is a bug, but just my lack of knowledge of compilers which is why i'm posting it here.
i have the visual studio 2005 compiler but i get so many warnings.
#include <iostream>
#include <stdlib.h>
using namespace std;
int main()
{
int x;
int y;
cout << "Hello world!" << endl;
cout << "Please give me a number for x." << endl;
cin >> x;
cout << endl << "Now please givee me a number for y, which will be used to divide into x." << endl;
cin >> y;
if (y <= 0)
{
cout << " Please enter a number greater than 0." << endl;
cin >> y;
}
x = x/y;
cout << endl << "Thank you, x/y = " << x << "." << endl;
system("pause");
return 0;
}
[13:14:44.392]: Scanned 0 files for #includes, cache used 0, cache updated 0
[13:14:44.392]: Scanned 0 files for #includes, cache used 0, cache updated 0
[13:14:44.402]: Scanned 0 files for #includes, cache used 0, cache updated 0
[13:14:44.412]: Scanned 0 files for #includes, cache used 0, cache updated 0
[13:14:44.522]: Can't find compiler executable in your search path (GNU GCC Compiler)...
[13:16:47.559]: Can't find compiler executable in your search path (GNU GCC Compiler)...
[13:16:53.638]: WARNING: "Chapt3challenge1 - Release" uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]. Skipping...
[13:16:53.858]: WARNING: "Chapt3challenge1 - Release" uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]. Skipping...