Standard headers (stdio.h, stdlib.h)
Në shqip: Header-at standardë të C-së
ShpjegimiSQ
Libraria standarde e C-së është e ndarë në header-a që i fut me #include: <stdio.h> për hyrje/dalje (printf, scanf), <stdlib.h> për memorie dhe numra të rastësishëm, <string.h> për tekst, <math.h> për matematikë.
EnglishEN
C's standard library is split into headers you bring in with #include: <stdio.h> for input/output (printf, scanf), <stdlib.h> for memory and random numbers, <string.h> for text, <math.h> for maths.
Si ta mendosh
Si raftet e bibliotekës së shkollës: secili me temën e vet — merr vetëm librat që të duhen për detyrën.
Lexoje në anglisht
Like the shelves in the school library: each on its own topic — you take only the books you need for the assignment.
Shembull kodic
#include <stdio.h> // printf, scanf
#include <stdlib.h> // malloc, rand
#include <string.h> // strlen, strcpy
#include <math.h> // sqrt, pow