C Library and IDE

 C Library:-

  • C library is collection of header files.

  • Every header file is collection  of related set of predefined functions

  • Ex:-stdio.h   ,conio.h  ,string.h, math.h, graphics.h, dos.h


Standard Header Files And Their Uses:

  1. #include<stdio.h>: It is used to perform input and output operations using functions scanf() and printf().
  2. #include<iostream>: It is used as a stream of Input and Output using cin and cout.
  3. #include<string.h>: It is used to perform various functionalities related to string manupulation like strlen(), strcmp(), strcpy(), size(), etc.
  4. #include<math.h>: It is used to perform mathematical operations like sqrt(), log2(), pow(), etc.
  5. #include<iomanip.h>: It is used to access set() and setprecision() function to limit the decimal places in variables.
  6. #include<signal.h>: It is used to perform signal handling functions like signal() and raise().
  7. #include<stdarg.h>:It is used to perform standard argument functions like va_start() and va_arg(). It is also used to indicate start of the variable-length argument list and to fetch the arguments from the variable-length argument list in the program respectively.
  8. #include<errno.h>: It is used to perform error handling operations like errno()strerror()perror(), etc.
  9. #include<fstream.h>: It is used to control the data to read from a file as an input and data to write into the file as an output.
  10. #include<time.h>: It is used to perform functions related to date() and time() like setdate(),getdate. It is also used to modify the system date and get the CPU time respectively.#include<float.h>: It contains a set of various platform-dependent constants related to floating point values. These constants are proposed by ANSI C. They allow making programs more portable. Some examples of constants included in this header file are- e(exponent), b(base/radix), etc.
  11. #include<limits.h>: It determines various properties of the various variable types. The macros defined in this header, limits the values of various variable types like charint, and long. These limits specify that a variable cannot store any value beyond these limits, for example an unsigned character can store up to a maximum value of 255.

IDE:-

  • IDE-Integrated Development Environment.

  • Ex :-classroom

  • C,C++ Windows, MAC, LINUX

  • IDE[Blue screen] is duplicate environment.

  • Divide in two part:-

    1.Blue [editor]

    2. console[black]





Comments

Popular posts from this blog

Problem solving using computer

Data Types

Error and type of error