6
Contributors
5
Replies
7
Views
5 Years
Discussion Span
Last Post by nitin1
0

This causes the compiler to read the header file stdio.h which declares and/or defines a number of symbols and functions such as NULL, printf(), stdout, stdin, stderr, etc. These are necessary for general I/O (input/output) actions that all programs need to perform. On Linux/Unix and similar systems, this file is found in the directoryo /usr/include. Not sure where it is on Windows, but it would depend upon the compiler you are using.

0

@ Faiza akmal

If you have installed Dev C++, then its in C:\Dev-Cpp\include. It varies from compiler to compiler.
As for

include <stdio.h> means??

Check this out.

-2

faiza akmal i think u r new in programming... use code::blocks for programming...

Votes + Comments
wow! how do you come to know about this thing ? ;) hhahahah
BrillianT decuction!!! You should be a detective!
0

#include <stdio.h> is a precompiler command and said to compiler 'before starting to compile my file add stdio.h file to this line'

There are several precompiler commands and #include is one of them. stdio.h file name is header file and there are alot of header files.

Edited by VatooVatoo

0

preprocessor directive which tells the compiler that add these things in file before compilation (a program runs before compilation just for the preprocessor dircetives) as there are many things which compiler will get after including those files like declarations, functions prototypes etc.... ;)

Edited by nitin1

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.