online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
//Demonstrates logical expressions #include <iostream> using namespace std; int main () { string conditions = "blowing snow"; int winds = 100; float visibility = 0.2; if ( ( (winds > 35) && (visibility < 0.25) ) && ( (conditions == "blowing snow") || (conditions == "heavy snow") ) ) cout << "Blizzard!\n"; string origin = "South Pacific"; if (winds > 74) cout << "Major storm, called a "; if ((origin == "Indian Ocean") ||(origin == "South Pacific")) cout << "cyclone.\n"; else if (origin == "North Pacific") cout << "typhoon.\n"; else cout << "hurricane.\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