online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
/****************************************************************************** Online C++ Compiler. Code, Compile, Run and Debug C++ program online. Write your code in this editor and press "Run" button to compile and execute it. *******************************************************************************/ #include <iostream> #include <string> using namespace std; int main() { int temp; std::string name; std::cin >> temp; if (!temp) { std::cout << "no temperature input" << '\n'; } if (temp <= 0 || temp >= 30) { std::cout << "the temperature is good." << '\n'; } else { std::cout << "the temperature is bad." << '\n'; } std::cout << "Enter your name: "; std::cin.ignore(); std::getline(std::cin, name); if (name.empty()) { std::cout << "You didn't enter anything." << '\n'; } if (name.length() > 12) { std::cout << "Your name can't be over 12 characters long." << '\n'; } else { std::cout << "Welcome " << name << "!" << '\n'; } return 0; }

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