why are we using # include , what its mean ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

why are we using # include , what its mean ?

14th Jul 2016, 3:46 AM
vinayakatm ganu
vinayakatm ganu - avatar
4 Answers
+ 5
see "#" is a preprocessor directive which means that anything that comes with # will be processed before compiling and "include" is basically the name of a folder where all header files are present so #include will basically include the code of the the header file that you specify before compiling your program.
14th Jul 2016, 8:22 AM
Aastha Aneja
Aastha Aneja - avatar
0
#include is predefine function
14th Jul 2016, 4:25 AM
Rajat Rout
Rajat Rout - avatar
0
actually #include is used in c++. C# uses the "using" keyword. (but Rajat is still right, it is to use predefined functions)
14th Jul 2016, 7:49 AM
Máté Lencsés
Máté Lencsés - avatar
0
@Sundar it is called a "directive" not "director"......i just googled it to see if i was confused but sry m not.....maybe u shud Google it too😅
14th Jul 2016, 9:46 AM
Aastha Aneja
Aastha Aneja - avatar