News for hackers. Stuff that matters.
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.