Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


apstrings - what are they?

This topic is 5819 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts


the AP String class is a string class that is used on the AP Computer Science test. It''s similar to STL strings.

Let me make this perfectly clear: NEVER USE THE APSTRING CLASS OTHER THAN FOR THE AP TEST. IT IS TEH SUCK. It''s full of memory leaks and buffer overflows, it''s much less efficient than STL strings, and it''s anything but standard.

Laugh at your friend for me.

Don''t listen to me. I''ve had too much coffee.

Share this post

Link to post
Share on other sites

Um, yeah. apstring is the College Board''s implementation of a string class, similar to std::string. The College Board administers the Advanced Placement program/test, including Computer Science A/AB. They have a whole collection of containers that emulate the STL, though I don''t really know why.

apstring is okay, but no professionals use it. It might be considered better by some than char arrays, but std::string is certainly much more known, as it''s a member of the C++ STL.

In short, your friend has no concept of what lies beyond academic programming. No matter how good their intentions, they shouldn''t be spouting off how good it is, since it''s obviously all they''re acquainted with.


//email me.//zealouselixir software.//msdn.//n00biez.//
miscellaneous links

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!