Krister Walfridsson’s blog: How undefined signed overflow enables optimizations in GCC https://kristerw.blogspot.com/2016/02/how-undefined-signed-overflow-enables.html?m=1
First, Why the above statement is the first element of the array? it's not. np becomes the head of a linked list (see nlist definition). Second, why np=np—>next is the next...
Too much code to read on a phone. Can you write a smaller code (about 20 lines) that shows the same problem?
what do you mean by manipulative questions?
like, some conflicts?
I know how to achieve that, however I'd need to overwrite the entire allocation and point the pointer to the beginning of the allocation. what do you mean by that?
for Q1, do you want to have an alias for the members variables first and second? why not structured binding where you need them, like auto&[x, y] = p;
Do you have to modify the string? It would be cleaner to copy chars and insert spaces into a new one
it could be beneficial. but what code are you writing that is causing these issues?
did you want to write that, or you meant to write something like current = (current == X)? 0 : X;
Mmboh, mozilla dev network? Don't know if it has a tutorial section
You got any lib recommendation to write a server?
Test::print(Test&) and Test::print() ?
i think the picture is too clear. can you try to make it harder? like shaking your phone around
have you tried using the full path of the image?
if instead of an array it was a struct, would you have a problem with the concept? array in c is an aggregate type (like structs) with some peculiarities and some superpowers
Are you checking the result of the write call?
you mean a string_view directly from std::string::substr?
so like std::string_view{astring}.substr(2, 3)?
casting or converting?