L
L
LopHod2016-11-16 15:33:51
C++ / C#
LopHod, 2016-11-16 15:33:51

How to deal with 'In file included from...' error?

I made a calculator, a long time ago, it used to work, but now it doesn’t, it writes an error in Dev C++:
c:\program files (x86)\dev-cpp\mingw64\lib\gcc\x86_64-w64-mingw32\4.7.1\include\ c++\iostream In file included from c:\program files (x86)\dev-cpp\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.7.1/include/c++/iostream
Here is the calculator itself, what is the problem?
#include
using namespace std;
int main()
{
setlocale(0, "");
int a, b, c, d;
cout << "Enter the first number, creature: ";
cin >> a;
cout << "Now the second: ";
cin >> b;
cout << "Third: ";
cin >> c;
cout << "This amount,
return 0;
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alec Onim, 2016-11-16
@LopHod

what do you actually "include"? probably wanted to write
:
and try to replace the line:
with

d = a + b + c;
cout << d;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question