I was using inbuilt C++ single file build, but then I found it was using C++98. Later then I tried using this build and many others builds which I found on the web. But the issue is something else. Now I'm getting the following win-error :
Can anyone please help me out.
Try this
Install MinGW for c++ and set the environmental variable path.(google it if you dont know how)
then install sublime and install package manager in sublime(google it if u dont know) .After that, press clt+alt+p ->goto "install package", then from the list search "minghang", you will find "minghang yang c and c++ build ", install it.
Now open any cpp file and for the first time press clt+alt+b and select c++ build and run. From then you can just press clt+b and it will compile and run.
And for competitive programming, I strongly suggest this Cppfastolympic package. It is the best and very useful for input/output.