Question: cygwin how to compile c++ programs?
Answer: Download this "Hello World" test program (hello.cpp), save it in your "Cygwin Home" (see Part One): ...  Run cygwin. Type "ls" and enter, or "ls -l" and enter. ...  Type the following command, and press enter: ...  Type "ls" and enter, or "ls -l" and enter. ...  Try typing either of the following and press enter: