I get apstring to work in my programs ,but when I try to use apvector I get errors? Its not my code I could Just #include it and it gives me errors. Please any suggestions?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is a snippet from a post I put in another thread. It should apply to your case.
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 (for example, apvector) 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:
I get apstring to work in my programs ,but when I try to use apvector I get errors? Its not my code I could Just #include it and it gives me errors. Please any suggestions?
This is a snippet from a post I put in another thread. It should apply to your case.
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 (for example, apvector) 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