[ create a new paste ] login | about

Link: http://codepad.org/O0uiD0l5    [ raw code | output | fork ]

C++, pasted on Apr 12:
1
2
std::vector<std::vector<int> > matrix = { { 1, 2, 3 }, { 4, 5 } };
int main() {}


Output:
1
2
Line 1: error: scalar object 'matrix' requires one element in initializer
compilation terminated due to -Wfatal-errors.


Create a new paste based on this one


Comments: