Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1004 Bytes

libraries_intro.md

File metadata and controls

30 lines (22 loc) · 1004 Bytes

#C Libraries Nearly everything in C requires importing a library.

#include <stdio.h>
#indluce <stdlib.h>

The above code has to come first (like any other dependency management) and imports the two libraries.

The hash indicates that this is a command for the pre-processor, which imports the libraries.0

stdio.h is the C standard library header, and contains functions for file input and output.1

stdlib.h is the general purpose standard library, and contains utility functions for memory management, process control, conversion, and others.2

The angle brackets tell the preproccessor to look in the systems folders.

If you want to import a local file, use double-quotes.3