From: tomas c. <tom...@ho...> - 2008-07-11 02:20:02
|
i have dev-cpp, its in spanish but ill try to traduce the error things... my file name is called "Problema1".. well i get this error: Circular Problema1 <- Problema1.o dependency dropped. C:\Dev-Cpp\Makefile.win [Build Error] [Problema1] Error 1 With more details: Compiler: Default compilerBuilding Makefile: "C:\Dev-Cpp\Makefile.win"executing make...make.exe -f "C:\Dev-Cpp\Makefile.win" allmake.exe: Circular Problema1 <- Problema1.o dependency dropped. gcc.exe -o Problema1 gcc.exe: no input files make.exe: *** [Problema1] Error 1 The code is: #include<iostream>#include<cstdlib>using namespace std; int a, b, c, d, e, f, g, h, i , j;int main(){cout << "Write 10 numbers:\n";cout << "Number 1:\n";cin >> a;cout << "Number 2:\n";cin >> b;cout << "Number 3:\n";cin >> c;cout << "Number 4:\n";cin >> d;cout << "Number 5:\n";cin >> e;cout << "Number 6:\n";cin >> f;cout << "Number 7:\n";cin >> g;cout << "Number 8:\n";cin >> h;cout << "Number 9:\n";cin >> i;cout << "Number 10:\n";cin >> j;int sum=a+b+c+d+e+f+g+h+i+j;cout << "The sum of this numbers is:" << sum << "\n";int average= sum/10;cout << "The average of this numbers is:" << average << "\n"; system("PAUSE");return 0;} hope you can help me...im trying to learn C++ but i have some problems like this one... thank you very much, Tomas Cordeviola _________________________________________________________________ ¿Aburrido? Ingresá ya y divertite como nunca en MSN Juegos. http://juegos.ar.msn.com/ |