: I don't know anything about programming, so i hoped to have somebody let me know what the output would be. However, I did download visual c++ express and tried to compile it, but I received several syntex errors. Could you recommend what I should use to complile small programs like this?
The whole source should look like:
#include <iostream>
#include <vector>
using namespace std;
int main()
{
vector<int> v (10,5);
v.push_back (3);
cout<<v.front()<<""<<v.back();
return 0;
}