online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
/*************************************************************** * Name: Prof. Orta * Course: Computer Science & Programming * Class: CS04103 Section: 4 & 5 * Assignment Date: 04/20/25 * File Name: Chapter12.cpp ***************************************************************** * Purpose: Explain the use of string conversion using STOI *****************************************************************/ #include <iostream> using namespace std; int main() { // In the statement below we use size_t to find out the nunber of integers int number; size_t where; string data ="23 dozen"; number = stoi(data, &where); cout << "The result of the conversion is: " << number << " and the value of where is: " << where; 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