≡ Menu

C Program

ar is an archive tool used to combine objects to create an archive file with .a extension, also known as library. In this article, let us discuss about how to create an user defined static library in C programming using the “ar” utility. The examples shows how to create, extract, and modify the archives using [...]

{ 12 comments }

Turbocharge Awk Scripts – Translate into C (Sudoku Revisted)

In the first article of this series we saw how awk could be put to work (or play) for more than just processing text. The simple script demonstrated the use of associative arrays, recursion and how we could use more arrays (more than required to represent the data) to speed up the processing. There were [...]

{ 3 comments }

Question: I would like to understand the basics of how to write, compile and execute a C program on Linux OS. Can you explain it with a simple example? Answer:  In this article, let us review very quickly how to write a basic Hello World C program and how to compile *.c program on Linux [...]

{ 27 comments }