Header files in dev-C++

后端 未结 5 1812
难免孤独
难免孤独 2021-01-21 00:07

I\'m trying to add an header file to dev-C++ but when I compile it it doesn\'t work. Here are my exact steps (for my example, I\'m trying to get mysql.h to work):

5条回答
  •  说谎
    说谎 (楼主)
    2021-01-21 00:34

    I had the same problem....

    You need to put the #include after "using namespace std;", in order to use your header file in the standard namespace.

    For me it is working.

    Best wishes.

提交回复
热议问题