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.