I'm a new c++.
1. I don't know gcc, mingw, what's the difference, are these two different things?
when I dowload mingw, I need to set the variable pah, but I dowload gcc from :http://www.equation.com/servlet/equation.cmd?fa=fortran, I dno't need to set the variable . Why??
you need to set the path so that the console is able to find the command.
2. MSYS simulates a linux environment (the way how pathes are treated).
It's sometimes necessary to execute batches under windows which are aimed for linux (to a certain extend)
gcc and mingw are program translators and are free.They translates programs into a language your computer understands:a stream of zero and one.
Don't say 'I am a new c++'.say 'I'm new to C++'
Quoting wikipedia: MinGW (Minimalist GNU for Windows), formerly mingw32, is a native software port of the GNU Compiler Collection (GCC) and GNU Binutils for use in the development of native Microsoft Windows applications
the use of 'port'implies that probably GCC is for linux systems, mingw is for windows systems