Здравствуйте, noname56, Вы писали:
N>Во такой код:
N>#include <iostream>
N>int Add (int x, int y)
N>{
N> std::cout << "In Add(), received " << x /*first*/ << " and " << y /*second*/ << endl;
N> return x + y /*(first + seconds)*/;
N>}
N>int main ()
N>{
N> using std::cout;
N> using std::cin;
N> cout << "I'm in main ()!\n";
N> int a, b, c;
N> cout << "Enter two numbers: ";
N> cin >> a;
N> cin >> b;
N> cout << "\nCalling Add()\n";
N> c=Add(a, b);
N> cout << "\nBack in main().\n";
N> cout << "c was set to " << c;
N> cout << "\nExiting...\n\n";
N> return 0;
N>}
N>Компилятор выдает следующие ошибки: