Егор56 Е Егор56 Регистрация 23 Окт 2013 Сообщения 91 Репутация 0 Спасибо 1 Монет 0 1 Мар 2017 #1 #include #include using std::count; using std::endl; int main() { int Apple, Carrots, Potaetoes; Apple = 7; Carrots = 12; Potaetoes = 160; cout << "Apple:" << Apple << endl; return 0; _getch(); } написано идентификатор cout не определён что делать? в чём ошибка?
#include #include using std::count; using std::endl; int main() { int Apple, Carrots, Potaetoes; Apple = 7; Carrots = 12; Potaetoes = 160; cout << "Apple:" << Apple << endl; return 0; _getch(); } написано идентификатор cout не определён что делать? в чём ошибка?
Aram A Aram Регистрация 7 Авг 2013 Сообщения 83 Репутация 0 Спасибо 0 Монет 0 1 Мар 2017 #2 3я строчка.... Хоть синтаксис проверяй.... Позитивный голос 0
гоги1 Г гоги1 Регистрация 27 Сен 2013 Сообщения 78 Репутация 0 Спасибо 0 Монет 0 1 Мар 2017 #3 Вместо using std::count; должно быть using std::cout; Должно быть написано, в какой строке ошибка. Позитивный голос 0
annonim A annonim Регистрация 2 Апр 2013 Сообщения 63 Репутация 8 Спасибо 1 Монет 0 1 Мар 2017 #4 #include #include int main() { int Apple(7), Carrots(12), Potaetoes(160); std::cout << "Apple:" << Apple << endl; return 0; getch(); } Позитивный голос 0
#include #include int main() { int Apple(7), Carrots(12), Potaetoes(160); std::cout << "Apple:" << Apple << endl; return 0; getch(); }
safasdfas S safasdfas Регистрация 14 Июн 2013 Сообщения 81 Репутация 0 Спасибо 0 Монет 0 1 Мар 2017 #5 include покажи что там Позитивный голос 0
Whispering Whispering Регистрация 13 Мар 2017 Сообщения 314 Репутация 70 Спасибо 11 Монет 0 13 Мар 2017 #6 Поправил, теперь работает. [THIDE="0"]#include <iostream> int main() { int Apple, Carrots, Potaetoes; Apple = 7; Carrots = 12; Potaetoes = 160; std::cout<< "Apple:"<<Apple ; return 0; } [/THIDE] Позитивный голос 0
Поправил, теперь работает. [THIDE="0"]#include <iostream> int main() { int Apple, Carrots, Potaetoes; Apple = 7; Carrots = 12; Potaetoes = 160; std::cout<< "Apple:"<<Apple ; return 0; } [/THIDE]