Posts of C

C/C++ Cross-Platform Compile-Macros

When we compile some cross -platform programs, we will inevitably encounter _win32 __linux__ what is the macro of the compiler or the compiler environment.It indicates some information of the current platform environment to the compiler.

Nov 5, 2023
C
C++

References Dynamic-Link Libraries and Static-Link Libraries With GCC

Give an example: how to write dynamic and static link libraries and reference them in C programs. And how the link library works

Apr 20, 2023
C
/ 1