online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
// Listing 17.11 - Using write() #include <iostream> #include <cstring> using namespace std; int main() { char cadena[] = "One if by land"; int fullLength = strlen(cadena); int tooShort = fullLength - 4; int tooLong = fullLength + 6; cout.write(cadena,fullLength) << endl; cout.write(cadena,tooShort) << endl; cout.write(cadena,tooLong) << endl; 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