I suppose this is a unix question, i'm using WIndows 7 but this is about the vi editor. Anyways, for school we use the vi editor to make c++ programs, the one at my uni is setup to where when it starts, it asks for your school id and pw, you input it, it gives you a white screen, you go to bash, and you can input unix commands to create files and what not, I downloaded the vi editor on my personal laptop and it's completely different, I try entering unix commands and it just gives me errors, do I have to set it up with a compiler for it to work? I'm trying to create cpp files, compile and execute them.
edit: In order to compile programs, we type something like g++ -o programName programName.cpp
then ./a.out or something similar to execute them, if that helps. I'm trying to write a file and give it a name then run it.
It creates a Unix shell-like experience. The cygwin installer can install a huge number of open source packages like vi, gcc, openssh, ...
So once you install cygwin, run the installer again and install the packages you need. You can remove individual packages. And you can remove the whole thing by removing C:\cygwin64.
mingw (Minimal GNU for Windows) is similar to cygwin. It includes msys (minimal system) environment.
The difference between mingw and cygwin is in libraries, i.e. how the compiled programs (which probably do not expect Windows environment) will interact with Windows system libraries.