0

MinGW or Cygwin for c++ compiler, which best?

I'm using windows 10 os, and i've heard both MinGW and Cygwin is good. But as beginner, when i'm using Codeblocks as my tool where it's using MinGW as default compiler, i sometimes got a trouble to. Compile some of my c/c++ codes in sololearn. I always got error messages.

31st May 2019, 3:09 PM
sherlockholmes
sherlockholmes - avatar
2 Réponses
+ 1
could be compiler flags aren’t set in codeblocks to use latest standards. For example : -std=c++11. in codeblocks: Project > Build Options > Compiler Flags depending on your code you may need one of these. -std=c++11 -std=c++14 -std=c++17
31st May 2019, 7:23 PM
Lee Howard
Lee Howard - avatar
0
can you give an example codes?
3rd Jun 2019, 8:59 AM
sherlockholmes
sherlockholmes - avatar