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 […]
If you want to have all the code in a C file October 18, 2025 | No Comments | C, information, typedef what that single file would look like: remember: It is to define aliases, to write something easier and invoke the same thing, it is a […]
malloc for a dynamic object, such as a linked list October 17, 2025 | No Comments | C, information for example if you have a struct: We must free memory for the node that has constant memory or a multiple of itself: In a […]
free in C | No Comments | C, information The free function in C is used to free or evict memory that was previously dynamically allocated using functions such as malloc, calloc, or realloc. […]
malloc in c | No Comments | C, information The function is used malloc(xx) where xx is an int calculates the size of the structure in bytes In C, malloc returns a void* pointer […]