You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#include <iostream>
#include <vector>
using namespace std;
int main()
{
vector<vector<int> > a;
return 0;
}
After I save my file, the "Format on save" function will remove the space in vector<vector<int> > a;, it become vector<vector<int>> a;.
If I use $ g++ test.cpp, I got an error below:
error: ‘>>’ should be ‘> >’ within a nested template argument list
Whether it is a mistake, or it result from my wrong usage? Thank you very much!
The text was updated successfully, but these errors were encountered:
For simple code
test.cpp
below:After I save my file, the "Format on save" function will remove the space in
vector<vector<int> > a;
, it becomevector<vector<int>> a;
.If I use
$ g++ test.cpp
, I got an error below:Whether it is a mistake, or it result from my wrong usage? Thank you very much!
The text was updated successfully, but these errors were encountered: