title: Vs code error which is working on online compiler
body: <p>freq_count.cpp: In function 'int main()':
  freq_count.cpp:40:45: error: in C++98 'vec' must be initialized by constructor, not by '{...}'
  vector vec = { 1, 2, 2, 3, 1, 4, 4, 5 };
  ^
  freq_count.cpp:40:45: error: could not convert '{1, 2, 2, 3, 1, 4, 4, 5}' from '' to 'std::vector'</p>