Menu

apstring, what is the library file called?

2002-10-05
2012-09-26
  • Nobody/Anonymous

    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?

     
    • Nobody/Anonymous

      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\

       
    • Matt Fiedler

      Matt Fiedler - 2002-10-09

      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

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.