online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
/*************************************************************** * Name: Prof. Rafael Orta * Course: Computer Science & Programming * Class: CS04225 ***************************************************************** * Purpose: Demonstrate the use of data Structures (Structs) *****************************************************************/ #include <iostream> #include <string> using namespace std; struct automobile { string make; string model; int year; string color; string type; string licensePlate; string vinNumber; }; automobile autoRecord; // Instantiating an object of type struct auto. int main() { // Assigning values to the record autoRecord.make = "Ford"; autoRecord.model = "Del Rey"; autoRecord.year = 1995; autoRecord.color = "White"; autoRecord.type = "Sedan"; autoRecord.licensePlate = "NJ08023"; autoRecord.vinNumber = "BPO092N12432983K"; // Displaying the values assigned. cout << "The vehicle " << autoRecord.make << " " << autoRecord.model << " was build in " << autoRecord.year << ", it is a " << autoRecord.color << " " << autoRecord.type << " " << "has a license plate of " << autoRecord.licensePlate << " and it's VIN nunber is " << autoRecord.vinNumber; 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