metanil

Member since: Friday, 15 June 2018
Last login: 5 years ago
Profile viewed: 431 views

No Rank
Points: 0

metanil created a new topic ' strlen alternative with inline directive' in the forum. 5 years ago

inline
unsigned mystrlen(const char *_)
{ return ((_ == NULL) || (_[0] == '\0')) ? 0 : (1 + mystrlen(_ + 1)); }

-> stack overflow when large string (>512)...
I need an inline implémentation !!!

How to ?

Read More...

metanil created a new topic ' strlen alternatives' in the forum. 5 years ago

Here is a code :
inline
unsigned mystrlen(const char *_)
{ return ((_ == NULL) || (_[0] == '\0')) ? 0 : (1 + mystrlen(_ + 1)); }

functionnal ! stacking overflow with large texts....I assume because of the inline directive...am I right ?

but I need (badly) an online fonction....

any clue, dears ?

Read More...

metanil added a video. 5 years ago

Untitled

metanil added a video. 5 years ago

Untitled

metanil added a video. 5 years ago

Untitled

metanil added a video. 5 years ago

Untitled