How to compile a cpp file directly from vim editor in Windows?
问题 I've recently installed a vim editor in my Windows operating system. I only know the conventional procedure i.e, creating the source file in the editor and running it from the command line. But, I don't quite understand how to compile a CPP program directly from the vim editor. when I run the command :!g++ hello.cpp -o hello from the vim command line, I get the following message C:\WINDOWS\system32\cmd.exe /c (g++ hello.cpp -o hello) Hit any key to close this window... 回答1: I assume your