Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Nov 10th, 2007, 9:24 AM   #1
janis
Newbie
 
Join Date: Nov 2007
Posts: 2
Rep Power: 0 janis is on a distinguished road
apstring

I downloaded devc++ and also apstring and put it in the class folder and thought i linked the compiler to it right. It doesnt work. What is the correct way to set everything up so apstring so I can use it. thanks.
janis is offline   Reply With Quote
Old Nov 10th, 2007, 10:37 AM   #2
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Re: apstring

Quote:
thought i linked the compiler to it right
What does that mean? What measures did you actually take regarding header and lib files?
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Nov 10th, 2007, 10:49 AM   #3
Ancient Dragon
PFO God In Training
 
Ancient Dragon's Avatar
 
Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 547
Rep Power: 4 Ancient Dragon is on a distinguished road
Re: apstring

Download the apstring.cpp and apstring.h from here. They are somewhat old so you will have to make a few changes, such as using <iostream> instead of <iostream.h>. I tried compiling them and got a few other syntax errors that you will have to correct.
Ancient Dragon is offline   Reply With Quote
Old Nov 10th, 2007, 2:30 PM   #4
Jimbo
Battle Programmer
 
Jimbo's Avatar
 
Join Date: Feb 2006
Location: Bellevue, WA, USA
Posts: 763
Rep Power: 3 Jimbo is on a distinguished road
Re: apstring

Why are you using apstring? The AP curriculum switched to Java years ago.
__________________
<insert disclaimer here>
<insert shameless plug for Visual Studio here>
Jimbo is offline   Reply With Quote
Old Nov 10th, 2007, 8:51 PM   #5
janis
Newbie
 
Join Date: Nov 2007
Posts: 2
Rep Power: 0 janis is on a distinguished road
Re: apstring

cause i like to use the ap classes
janis is offline   Reply With Quote
Old Nov 10th, 2007, 9:55 PM   #6
Dameon
Troll
 
Dameon's Avatar
 
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4 Dameon is on a distinguished road
Re: apstring

A fear of change will only hold you back, especially in this field.
__________________
MD5(sig) = bcef75433db02e9ad9bf81d6f7c5c270
Dameon is offline   Reply With Quote
Old Nov 11th, 2007, 3:41 AM   #7
Jimbo
Battle Programmer
 
Jimbo's Avatar
 
Join Date: Feb 2006
Location: Bellevue, WA, USA
Posts: 763
Rep Power: 3 Jimbo is on a distinguished road
Re: apstring

Quote:
Originally Posted by Dameon View Post
A fear of change will only hold you back, especially in this field.
I second this notion. It's probably in your better interests to use the classes provided by your C++ library, like <string>, <vector>, etc. The ap classes were implemented somewhat half-assed as I recollect, but I haven't looked at - much less used - them in years...
__________________
<insert disclaimer here>
<insert shameless plug for Visual Studio here>
Jimbo is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 11:06 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC