online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <iostream> int main() { std::cout << "Симуляция началась\n"; for (int cycle = 1; ; ++cycle) { std::cout << "\nЦикл " << cycle << "\n"; if (cycle == 1) { std::cout << "Существо голодно\n"; std::cout << "Нажата кнопка 1: существо накормлено\n"; } else if (cycle == 2) { std::cout << "Появился голод\n"; } else if (cycle == 3) { std::cout << "Существо слишком долго было голодно\n"; std::cout << "Игра окончена\n"; return 1; } } }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue