install C/C++ on windows

Channel:
Subscribers:
771
Published on ● Video Link: https://www.youtube.com/watch?v=9UNrPG5SQ-0



Duration: 1:23
92 views
3


https://sourceforge.net/projects/mingw/


use shift + right click to open windows shell


compiling C++:
g++ -Werror -Wall main.cpp


can also use main.c++ if that is the name of the file.



explanation: -Werror treat warnings as errors (prevents silly mistakes)
-Wall display warnings


C:


gcc -Werror -Wall main.c







Tags:
install C on windows
install C++ on windows
install gcc on windows