Message from C, C++ talks

July 2019

— And if you can't figure something out then ask here

— Agree, existing code so spagetty with infinite number of defines inside code for cross-platform. Also all that encrypted names of vars/funcs where only creator knows why it has it's name

Message permanent page

— Okkk

— Totally yess

— 

You're totally confused. You don't need these to know, but there are exceptions. There are many programmers that know C for the first view. Yes, they can write code in C, but that code is full of UBs, which come with real issues.

— What are you using gdi32 for?

— Let's talk about good code. Of course any monkey can write shit code in any language.

— Which compiler (mingw32 [gcc], Visual C++ [cl])?

— It doesn't matter what editor you are using for writing your code while it is not an IDE
What really matters is what compiler you're using

Message permanent page

— Can be as an Anti-Forensic Technique to after using a Heap Space using malloc() overwrite with zero's all the allocated memory of Heap reserved to us, and then use the free() command to send the OS "recycle that memory"? that way the bytes are overwritten and no one can recover that bytes right?

Message permanent page

— 1) calloc
2) RtlSecureZeroMemory or analog

— Mingw

— Have you tried compiling it without

-lgdi32
or with
-lgdi32.lib
?

— Ain’t the second one redundant?

— Honestly i've never tried to compile OpenGL apps with Mingw32, i've done so with VS C++