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.
2 Respuestas
+ 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
0
can you give an example codes?