Can virtual reality solve some of the problems within the education system?

Whilst no one can definitively predict what the education system will look like in 20 years from now, Steve Jobs once said during his graduation speech: “You can’t connect the dots looking forward…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




C Libraries

The libraries are really useful because are libraries that contain many files with functions that we can use in our programs, like print, scan, verify is a digit, etc, that depends our program.

If we use them we don’t need to create or copy every function inside our programs, we only need to call the library that contain the functions that we need to use.

We are not obligated to use only the libraries that exists, we can create our own libraries.

The libraries have different extensions, the more common are: .lib, .bpl, .a, .dll and .h.

We don’t need to know how to works every function, the most important thing is know how to use them, if we know how to use we can call them in every moment.

There are two types of libraries:

Only are linked of phase of compilation, this mean that the exe file could be executed in either side, this works of this form because create a copy of every function that our program is using inside the exe file, the disadvantage is that the size of the file could be greater than dynamic library.

The extensions for static libraries are, “.lib” for windows and “.a” for linux.

Get the addresses of functions and add into the exe file, store the function in the memory, for this reason the dynamic libraries are smallest than static libraries.

The extensions for static libraries are, “.dll” for windows and “.so” for linux.

So, as second thing we can use the functions that contain the libraries that we include before, for example, if I have the function “isdigit()” inside my library I could use it in my program calling the function and sending the parameters, so we don’t need to copy the function inside our program because we have it inside the library that we include before.

We can create a static library in c using the command “ar”, this command have many flags that we can use depending that we need to do, for see more about those flags type “man ar”.

The first thing that you need to do is create the assemble code of all c files that you want to add to your library.

How you could see I use the flag “-r” and flag “-c”, the flag “-r” replace older object files, and the flag “-c” create a library if it doesn’t exists.

How to use them

Add a comment

Related posts:

How To Lose Weight Without Working Out

Losing weight without working out may seem challenging, but it’s possible. Exercise is important for overall health and wellness, but if you can’t fit it into your schedule or just don’t enjoy it…

Lead Practice

Incoming Freshman will be required to take 9 additional credit hours for graduation requirement starting fall 2020 says University President. 22-year old Vanderbilt graduate student was arrested…

The Great Beyond

A little bit about me: Industrial-Organizational Psychology occupied my time in the private and government sectors for about 26 years before being called to teaching in the last 10 years of my…