![]() |
Re: Any of you string/pointer/memory guru's out there who can help me?
Are all you guys masochists or something? Why subject yourself to the horrible pain of zero based character array manipulation when you could be using the standard C++ string class?
|
Re: Any of you string/pointer/memory guru's out there who can help me?
I dunno later on I want to but I think I'm to lazy to learn to use them and since I already use C strings... But I read some stuff about it and indeed its way simpeler. Especially I like the way you can use operators like == and += normaly. O well some day....
|
Re: Any of you string/pointer/memory guru's out there who can help me?
Rick, there's not much to learn about the string class really. The on going productivity loss futzing around with c strings will never end, so investing a couple hours into learning how to use the string class is well worth it.
http://www.msoe.edu/eecs/ce/courseinfo/stl/string.htm |
Re: Any of you string/pointer/memory guru's out there who can help me?
I'm still gonna stick to the character arrays, in spite of all this... yes.
I like to know where every single byte of memory goes to :) That's not a drawback for me because my code is usually rather ANSI C than C++. |
Re: Any of you string/pointer/memory guru's out there who can help me?
Quote:
|
Re: Any of you string/pointer/memory guru's out there who can help me?
"You could always write your own string class"
:D Exactly :D |
Re: Any of you string/pointer/memory guru's out there who can help me?
Quote:
|
Re: Any of you string/pointer/memory guru's out there who can help me?
Quote:
|
Re: Any of you string/pointer/memory guru's out there who can help me?
beware dude, just publish the Parabot sources and Stefan will hunt down every single bug to nag you with it! ;)
|
All times are GMT +2. The time now is 15:16. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.