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):
You didn't say how you included it at the top of your file. This should work if you did
#include "mysql.h"
rather than
#include
which is a mistake that people sometimes make.
EDIT: Perhaps try using relative paths rather than an absolute path (as you seem to be doing) when specifying additional include directories? I don't know if that would make a difference (and I don't have the time to check) but I've always used relative paths and it's always worked for me (it's also good practice anyway). So, instead of
C:\Projects\ProjectName\Include
something like
\Include or ..\Include depending on your project file structure.