:C language libraries, part 1, static librariescompiler: gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4environment: vagrant virtual machine with linux 14.04.5 LTS for Ubuntulanguage: C languageHave you been learning C language and using #include <stdio.h> and have no idea what is happening with that? If so, then this post is for you! I will be discussing C language static libraries, why to use libraries, how they work, how to create them, and how to use them. For background information on the subject, it’s helpful to understand what happens when C language files are compiled; for more information on that, check out my other blog post: Computer Compilers: brief introduction, which helps to explain how the gcc compiler works. As this is the first blog of a two part series, please refer to my other post on libraries: what the f*Lib.so? for more on dynamic libraries.In the above referenced post on computer compilers, you will see that during the gcc compiling process, the […]
read moreTag Archives: command line
computer compilers: brief introduction
:on how a compiler works, using the GNU Compiler Collection gcc as an examplecompiler: gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4 environment: vagrant virtual machine with linux 14.04.5 LTS for Ubuntu language: C languageIf you have begun to experiment with and learn about computer code and software languages, after the early 1980’s, it is very likely that you began using higher level languages, and much later learned about compilers. At least this is how I have begun to learn to code computer languages. I have been touching the surface of html, css, javascript, and PHP for almost 2 years, and I never knew what a compiler was. This is because these languages are interpreted by a browser or another lower-level environment instead of being compiled. The browser or other environment reads the instructions and uses its own logic and mechanisms to interpret and respond to the input codes. Did you ever wonder how a browser […]
read morehow the terminal works: command line input
:do you ever wonder how a computer works?As a beginner software engineering student at bootcamp School, we are being taught to use the terminal command line to use the functions of a computer. In this post I will explain a very basic concept of what happens with a computer when a user types input. In my work so far and in the ways that I explain a computer system, I will be referring to the bash shell program in Mac OS terminal using ubuntu and GNU linux (click the links for wikipedia references on those concepts).Additionally, to help with my explanation, I’ll use the input command ls *.c as an example of many of the concepts of how terminal and a computer work. This is how that command might look in your terminal:USER@computerNAME: ~/$ ls *.c To learn about commands from the manuals in terminal input ~/$ man yourcommand; an […]
read more