online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
//#[allow(dead_code)] fn main() { let items = [ "orange" , "apple" , "pear" , "tangerine" , "watermelon" ]; let mut i_plus_1:usize; for (i, x) in items.iter().enumerate() { i_plus_1 = i + 1; println!( "Item {} = {}" , i_plus_1 , x ); } }

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