compiler about alignment to make -Wcast-align shut up?
I don’t think so. You can either disable it completely or disable it for a specific block.
Hey Why do I need headers files in c++ code when creating non library program? does it possible to import namespace without headers?
hello i'am in a confusion about why the memcpy casts to unsigned char* and not char * : i have learned that one using char* we are telling the compiler the reserve one bit ...
In the following code I want to have a loop in a macro that uses a counter variable of the same type as a struct member. A value of the struct is passed into the macro. #incl...
also , i have a question , if i try to store int in a char variable will this just overflow or i can overwrite data ?
What is the solution for always forget about 4.000 lines of code or about 15 files ?
Writing C code is tremendously difficult; a company has to pay a lot of money to get it done. But to write good C code, you also need to know how to use software tools that en...
and i can conclude also that unsigned char* and char* are probably the same ?
What's the best way to setup c++ dev in VSCode? Currently I use clang-tidy, clang-format, and CMake. But the most important part that I missing is general intellisense so I c...
Why is mmap instant if I map a 100GiB file and why didn't my machine freeze?
I’d recommend to watch https://youtu.be/7YpFGkG-u1w?si=lydwOX00bAxL47uR
Обсуждают сегодня