Re:3rd Edition of Programming: Principles and Practice Using...
by VHRanger on Friday April 19, 2024 @02:20PM
(#40090275)
Let me carefully copy paste my personal stringutils.hpp file of string handling routines and I'll be right up to it!
[ Parent
| on HN ]
Re:3rd Edition of Programming: Principles and Practice Using...
by rightbyte on Friday April 19, 2024 @03:21PM
(#40090964)
Gotta have those "readfile()", "replace_substr()", "split()" etc! I do have a copy paste string util header. ..
I really wish there were more string util functions in Cpp. I mean C had strtok()!
Re:3rd Edition of Programming: Principles and Practice Using...
by PaulDavisThe1st on Friday April 19, 2024 @05:40PM
(#40092222)
strtok() is one of the most dangerous string handling functions in any language!
Re:3rd Edition of Programming: Principles and Practice Using...
by rightbyte on Friday April 19, 2024 @06:05PM
(#40092429)
strtok() is like a hot art student, smoking a cigarette. I think I've got to it once.
Re:3rd Edition of Programming: Principles and Practice Using...
by PaulDavisThe1st on Friday April 19, 2024 @06:12PM
(#40092490)
In the C language, you do not get to strtok(3), strtok(3) gets to you.