Re: Fw: [Dev-C++] Super charging the string class
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: David M. <ci...@ya...> - 2003-07-05 17:14:24
|
Ok, That works ( quite well :) ) I have a different question now. Where can I find a Standard C++ API refrence? I am currently using Standard C: http://www-ccs.ucsd.edu/c/ And STL refrence: http://www.sgi.com/tech/stl/table_of_contents.html Neither have strstream listed. --- Michal Molhanec <mi...@mo...> wrote: > > what about using stringstream? > > David McKen wrote: > > > Unfortunately I am using the Visual C++ implementation > of the Standard > > C++ library (Visual C++ 6.0 Service pack 5). > > > > My chief concern is the fact that the entire hash_* > functions and > > containers are missing (this may seem small but as I > said earlier my > > program is quite heavy on text processing, so hashing > is quite important > > to me.) > > > > Much of the rest of the library seems to be intact and > working. Much of > > my additions will allow me to use various data types > with strings (This > > is how parts of my program are now) > > > > temp += "My dice roll = "; > > temp += itoa(comp_roll); > > temp += eoln; > > > > temp += "Your dice roll = "; > > temp += itoa(player_roll); > > temp += eoln; > > > > (this version of itoa is my implementation, eoln = > const char = "\n\r", > > player roll and comp roll are ints containing a random > number between 1 > > and 6 inclusive) > > > > As you can guess this can get quite annoying. being > able to turn each > > block into 1 line would be quite advantageous. > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET > sites including > Data Reports, E-commerce, Portals, and Forums are > available now. > Download today and enter to win an XBOX or Visual Studio > .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: > http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users ===== Signed David Mcken Life Sucks Live with it __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |