You should read around at a couple of other threads for the answers I've given other people, but here's a snippet of what I posted before:
A few things to remember:
1) You must download the AP classes (both the ".h" and ".cpp" files) from the AP website and put them in a folder where Dev-C++ can find them. They are not a standard part of any C++ distribution.
2) Remember to include the headers!
3) When using apstring, the file "apstring.cpp" must be part of your project.
4) When using any of the other classes the corresponding ".cpp" file must not be included in your project.
I'll just finish this off by saying that I just compiled a few test projects which use the code from the AP classes on Dev, so I know they can work without a problem.
I hope this helps.
Matt
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can someone tell me how to use apstring. I tried
# include <apstring.h>, but it says it can't find the file? What should I do?
if apstring.h is located on c drive (example: c:\apstring.h)
#include "c:\apstring.h"
OR
copy apstring.h to the include folder in devcpp
c:\devcpp\include\
You should read around at a couple of other threads for the answers I've given other people, but here's a snippet of what I posted before:
A few things to remember:
1) You must download the AP classes (both the ".h" and ".cpp" files) from the AP website and put them in a folder where Dev-C++ can find them. They are not a standard part of any C++ distribution.
2) Remember to include the headers!
3) When using apstring, the file "apstring.cpp" must be part of your project.
4) When using any of the other classes the corresponding ".cpp" file must not be included in your project.
I'll just finish this off by saying that I just compiled a few test projects which use the code from the AP classes on Dev, so I know they can work without a problem.
I hope this helps.
Matt