i never used dev c++ so i dont know how to download libraries for that lol..will have to have a look
i never used dev c++ so i dont know how to download libraries for that lol..will have to have a look
First off, I would suggest dropping this notion that you are obtaining libraries for Dev C++. Dev C++ is an IDE (integrated development environment). The whole point of an IDE is to be the nice pretty interface that sits on top of a compiler.
The compiler that you are using is most likely the MinGW compiler. You will need to obtain libraries compatible with the MinGW compiler, and then when you are compiling a project that uses those libraries, you must tell the compiler where the libraries are and where the necessary include files are. Usually the IDE will provide you a nice graphical way to specify this (probably in the project settings).
So, lets say you download the PDCurses library. You will recieve some header files, and some DLL's (or .lib / .a files). Lets say you put your header files in C:\pdcurses\include\ and the DLL's / .libs / .a files in C:\pdcurses\lib\ . (This naming convention is pretty common).
You now need to look in your project settings and add the C:\pdcurses\include\ directory to the project include path. Likewise, you'll need to add C:\pdcurses\lib\ to the library path. You then need to tell the compiler that you want to link the pdcurses library (and it will be able to find out where it is because you added it to the library path).
I can't tell you specifically how to do this in Dev C++, but if you were compiling on the commandline you would type: gcc -I "C:\pdcurses\include" main.c -L "C:\pdcurses\lib" -lcurses, or something similar.
where n how can i download libraries for dev c ++?