math.h
#include <math.h>, syntax at the beginning of our code, means we automatically included these (pre-defined) functions in our program:
int abs (int x); IxIlong labs (long x); double fabs (double x); double sin (double x); double cos (double x); double tan (double x); double asin (double x); double acos (double x); double atan (double x); double sinh (double x); double cosh (double x); double tanh (double x); double exp (double x); exdouble log (double x); ln xdouble log10 (double x); log x double pow (double x,double y); xydouble sqrt(double x); sqare root of xdouble fmod(double x, double y); x mod y double ceil (double x); double floor(double x);
stdlib.h
#include <stdlib.h>, syntax at the beginning of our code, means we automatically included these (pre-defined) functions in our program: void exit (int status); void randomize (void); or void srand (unsigned int seed); int rand (void);
string.h
#include <string.h>, syntax at the beginning of our code, means we automatically included these (pre-defined) functions in our program: char *strcpy(char *dest, const char *src); char *strncpy(char *dest, const char *src, size_t maxlen); char *strcat(char *dest, const char *src); size_t strlen(const char *s); char *strlwr(char *s); char *strupr(char *s); int strcmp(const char *s1, const char *s2); int strcmpi(const char *s1, const char *s2); int stricmp(const char *s1, const char *s2); int strncmp(const char *s1, const char *s2, size_t maxlen); int strncmpi(const char *s1, const char *s2, size_t maxlen); int strnicmp(const char *s1, const char *s2, size_t maxlen); char *strchr(const char *s, int c); char *strstr(const char *string, const char *substring);
ctype.h
#include <ctype.h>, syntax at the beginning of our code, means we automatically included these (pre-defined) functions in our program:
int toupper(int ch); int tolower(int ch); int isdigit(int c); figure (0-9) int isalpha(int c); letter (A-Z or a-z) int isalnum(int c); letter (A-Z or a-z) or figure (0-9) int isprint(int c); character which can be printed (0x20-0x7E) int iscntrl(int c); control char (0x7F or 0x00-0x1F) int isspace(int c); empty space int islower(int c); letter (a-z) int isupper(int c); letter (A-Z)
alloc.h
#include <alloc.h>, syntax at the beginning of our code, means we automatically included these (pre-defined) functions in our program: void *malloc (size_t size); NULL error void free (void *block); void *realloc(void *block, size_t size); NULL error