using a static library (.a) in c November 4, 2025 | No Comments | ar-rcs, C, information, interface, static-library, struct, structure To create a static library (.a), you must first execute the command “ar rcs” You need to add the .a extension of the static library […]
include in c (preprocessor directive) October 13, 2025 | No Comments | C, information, preprocessor-directives The #include directive in C tells the preprocessor to look for a header file (.h) and copy its contents into the source file (.c) The […]
C file with portable includes October 11, 2025 | No Comments | C, information, linux, macos The difference between putting the path in the source code (#include) and using GCC’s -I option (the portable approach) lies in where the path information […]