online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <iostream> #include <fstream> #include <string> #include <vector> using namespace std; struct Match{ vector<int> sitVal; vector<int> opVal1; vector<int> opVal2; vector<int> opVal3; }; //fills chosen Match with data from file void conData(string file, Match& sits){ ifstream fin; fin.open(file); int jump; fin >> jump; int i = 0; while(true){ fin >> sits.sitVal[i]; if (!fin) break; fin >> sits.opVal1[i]; fin >> sits.opVal2[i]; fin >> sits.opVal3[i]; i++; } //following is for testing cout << sits.sitVal[0]; cout << sits.opVal1[0]; cout << sits.opVal2[0]; cout << sits.opVal3[0]; } int main(){ Match sits; conData("Data.txt", sits); }
1 4 8 7 end

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