Hello world!

Sample content sample content. “Hello world!” is published by Mai Hoàng Nam.


Static libraries in C

Creating static libraries

When creating static libraries in C, first you would need to create *.c files with it’s matching functions. for example, “int isupper( )” function should be placed in a file isupper.c . after we have the *.c file, we need to use the compiler to all *.c files into *.o files using this command “gcc -c *.c *.o”. gcc is also known as GNU Compiler Collection. After all the *.c files are copied and changed, we need to use the ar rc command to create the static library and create our collection of functions. ar rc “filename of the collection” “ all the .o files after it”, it would look like this : ar rc libholberton.a *.o.

Add a comment

Related posts:

Why is no one really using Augur?

Augur is consistently only getting under 50 users a day. For a coin that has a marketcap currently valued at over $220 million it is falling short of many peoples expectations. But why is that the… Read more

Leading XiaoMi Roborock S50 S55 Tanah Merah

Flip the Roborock S5 above and you’ll find two black rubber wheels on either side, a multi-directional wheel in front, and a three-spoke side brush to the leftside. Between the black wheels are the… Read more

Allocation changes

Flows dictated the recent surge in equities — fundamentals, valuations, and even viruses take a backseat. We believe that liquidity that was sitting on the sidelines due to US elections played out… Read more