I need to know what the output of the following three line is:
vector<int> v;
v.push_back (3);
cout<<v[0];
Thanks
I need to know what the output of the following three line is:
vector<int> v;
v.push_back (3);
cout<<v[0];
Thanks
give it a thought...
Originally Posted by brewbuck:
Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.
I need to know why you cant write a program to find out.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
Mmm - 5 seconds to try it with your own compiler?
Several hours to wait for replies telling you to use your compiler.
That's tough.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.