Arthur Brainville

Results 104 comments of Arthur Brainville

Isn't strncpy_s a "Microsoft only thing"? I tend to consider this very warning _bullying from their part to use their non-compatible non-standard API_, and should be disregarded by defining the...

I've gone down quite the rabbit hole, but TL;DR we should not use it, this function is not "C++ core" and is in practice not portable because major compiler vendor/stdlib...

Well, most of the API's not about copying string, that's only used a few times to fill in some struct members, during the initialization, so we pretty much don't care...

For me on Win11 it is working fine as "This PC" is a child of "Desktop", and all the other drives are children of "This PC" on that standard Windows...