Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

is strtok() evil

Name: Anonymous 2016-10-19 3:54

Name: Anonymous 2016-10-19 5:48

>>1
Any C library function is ancient exploitable shit from UNIX era. Write your own safe_strtok

Name: Anonymous 2016-10-19 6:49

That's why strtok_r was introduced.

Name: Cudder !cXCudderUE 2016-10-19 10:33

No.

Name: Anonymous 2016-10-19 11:24

JACKSON FIVE GET

Name: Anonymous 2016-10-19 12:55

yes its evil

Name: Anonymous 2016-10-19 13:26

1. It's impure.
2. The C++ version isn't overloaded to support std::string.

Name: Anonymous 2016-10-19 14:07

FUNCTIONS ARE EVIL USE GOTO INSTEAD

Name: Anonymous 2016-10-19 15:51

>>4
LAC disagrees

Name: Anonymous 2016-10-19 16:31

the destructive effect of namefags still haunts this board

Name: Anonymous 2016-10-19 16:52

Substrings and slicing were already around when C was created. They share the same memory as the original string.

Name: Anonymous 2016-10-20 0:46

It's just a little tok

Name: Anonymous 2016-10-20 1:42

>>8
goto is a bad meme

Name: Anonymous 2016-10-20 6:57

>>8
functions are just a goto that ends with a comefrom

Don't change these.
Name: Email:
Entire Thread Thread List