online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
/****************************************************************************** Welcome to GDB Online. GDB online is an online compiler and debugger tool for C, C++, Python, Java, PHP, Ruby, Perl, C#, VB, Swift, Pascal, Fortran, Haskell, Objective-C, Assembly, HTML, CSS, JS, SQLite, Prolog. Code, Compile, Run and Debug online from anywhere in world. *******************************************************************************/ #include <stdio.h> #include <iostream> using namespace std; class Manufacturing_Plant{ private: string car; string truck; public: Manufacturing_Plant(string new_car, string new_truck); bool IsW(); int Build_Vehicle(string new_car, string new_truck); string Process_Vehicle(); }; Manufacturing_Plant::Manufacturing_Plant(string new_car, string new_truck){ }; int Manufacturing_Plant::Build_Vehicle(string new_car, string new_truck){ new_truck = truck; new_car = car; new_car = "Car"; new_truck = "truck"; int Amount_of_cars = std::stoi(new_car); int Amount_of_trucks = std::stoi(new_truck); Amount_of_cars = 1; Amount_of_trucks = 1; std::cout << Amount_of_cars<<"+"<<new_car<<std::endl; }; string Manufacturing_Plant::Process_Vehicle(){ //printf(Amount_of_cars"+" new_car); //std::cout << Amount_of_cars<<"+"<<new_car<<std::endl; }; int main() { 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