"Include" in C
programming are very useful. To show words, make math equation, array, string,
and other, we need "include". There is some "include" that often used by
programmer.
1. #include<stdio.h>
As we know, stdio
means standar input output. So, #include<stdio.h> is used for input
output.
2. #include<string.h>
#include<string.h>
is used for run string substring funtion. Strcmp, strncpy,strncat,
strcmp,strncmp, strlen are need #include<string.h>
3. #include<stdlib.h>
and #include <math.h>
That is used for
math oparation, such as sqrt,sin, cos, tan, and other.
4. #include<time.h>
We can use this
include for set timing.
5. #include<ctype.h>
Programmer use
#include<ctype.h> for check character operation. Isalpha,isdigit,
islower, isupper, and other are need #include<ctype.h>
No comments:
Post a Comment