Teen Programmers Unite  


Return to forum top

i need...

Posted by MrSmiley [send private reply] at May 15, 2003, 08:08:01 PM

ok in C/C++ you have #include <typehere> does any one know where i could pick up a lot of them (i have a demo version of c++ and so i dont even have apstring)

Posted by ItinitI [send private reply] at May 15, 2003, 08:15:30 PM

I don't quite understand... you mean like a list of header files?? Or the header files them selves??
http://www.bloodshed.net is very good, very free, C++/C IDE with compiler PLUS header files...I'm not real sure where to find individualy .h files, though.

Posted by buzgub [send private reply] at May 16, 2003, 01:48:55 AM

You don't want to install individual header files - header files are components of libraries. If you want a header file, you should find the library to which that header belongs and install the library.

Google can probably help you work out what library apstring belongs to.

Posted by Psion [send private reply] at May 16, 2003, 07:26:26 AM

It is associated with American AP classes, and you should not be using it, unless you happen to be in the final version of the AP classes to use C++. If they weren't switching to Java anyway, I'm sure they'd start using the standard string class.

Posted by CodeRed [send private reply] at May 17, 2003, 12:16:55 AM

Why did AP need to make their own libraries, are these "Advanced Placement" students too stupid to use the standard C++ libraries? And Psion is right, they're all switching to java anyways, C++ was not even a requirement for my Computer Science degree (though I took it as an elective anyways)

Posted by unknown_lamer [send private reply] at May 18, 2003, 02:56:38 PM

The College Board switched the AP CS curriculum from Pascal to C++ before C++ was standardized. There was no STL at the time (actually, I do believe that there was the SGI STL but that wasn't part of the draft standard yet) so they released their own vector, stack, string, and queue classes (their may have been more).

You must be logged in to post messages and see which you have already read.

Log on
Save for later automatic logon

Register as a new user
Copyright TPU 2002. See the Credits and About TPU for more information.