online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
function* factorial() { let result = 1n; let i = 1n; while (true) { result *= i; yield result; i++; } } const iterator = factorial(); let i = 0n; while (true) { const start = performance.now(); const result = iterator.next(); const end = performance.now(); console.log(`${i}, Result: ${result.value}, Time taken: ${end - start} ms`); i++; }

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