You don't. You can include math.h though, and use its functions eg. sin, cos, tg, sqrt, etc.
Chat with our AI personalities
Yes, include files can be nested in C and C++. In fact, most library implementations do just that.
here is c code for banking system.... #include <stdio.h> #include <stdlib.h> #include <conio.h> #include <dos.h> #include<string.h> #include <graphics.h> #define LEN 100 /*====================================================================*/
#include<stdio.h> #include<conio.h> void main() { }
Include files are also known as header files.
#include <stdio.h> #include <ctype.h> ... int caps = 0; int c; file = fopen ("InputFile", "r"); while ((c = fgetc (file)) != EOF) { if (isupper (c)) ++caps; } fclose(file); ...