mental.cat's blog

By mental.cat, 5 years ago, translation, In English,

Hello everyone.

There was a problem when I compiled this simple program code:

#include <bits/extc++.h>
using namespace std;
using namespace __gnu_cxx;

int main() {
    printf("Hello world");
    return 0;
}

The compiler (MinGW G++ 4.9.1 and MinGW G++11 4.9.1) complains about the library bits/extc++.h. He can't find iconv.h (you can read the comments of compiler here: http://codeforces.ru/problemset/customtest ). What to do and how to fix it? I am so lazy to include libraries from bits/extc++.h by one.
Thanks in advance.
PS. Sorry for my English :)

Read more »

 
 
 
 
  • Vote: I like it
  • +4
  • Vote: I do not like it