TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: ALEX WALKER
from: BALOG PAL
date: 1997-10-03 05:31:00
subject: CString.h with BC++ 3.1?

                              Hi, Alex Walker!
On 01 Oct 97  00:13:01 you wrote to All
 AW> I'm using Borland C++ ver. 3.1 (ya I know it's old but I'm a poor
 AW> student).  Of course, because of it's age, this compiler doesn't
 AW> have many of the libraries that more up-to-data compilers have.
Probably the aesiest way is to modify the existing String itself. It will not
take much time.
I remember I ported the whole BC 3.1 classlib to use under MSC 7 and MSVC
1.528. (Nasty work, those so-called C++ comilers can't handle even templates.
:( ). And I happenes to use String mush frequently than CString. The only
extension I did was operator + and +=.
 AW> My question is:
 AW> 1) is there a reletively up to date String class that has all
 AW> the usual features (like get_at, find, insert, assign, etc.)
 AW> that I can just put in my lib directory and use.
There are a plenty floating around. Look into snippers for example. Or search
the internet C++ related archives. I'm sure you find at least 4 packages to
work with.
 AW> 2) Are there any problems I should be aware of when mixing old
 AW> + new libraries and what should I do?
There should be no problems. But to use with the rest of the classlib they
must probably be made descendant of Object.
Paul
... Every solution breeds new problems.
--- OS/2 Warp
---------------
* Origin: The FlintStones' Cave in BedRock (2:371/20)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.