0

what do u mean by #include

6th Oct 2016, 12:03 PM
JASKIRAT☀
JASKIRAT☀ - avatar
2 RĂ©ponses
+ 1
The (#Include) Directive Is Used To Embed C++ Libraries Into Your .cpp File.
6th Oct 2016, 1:45 PM
Eyad Bereh
Eyad Bereh - avatar
0
More precisely #include includes a file into an other file. That is a precompiler statement, nothing more. Usually we are including so called header files (.h), that contain declarations. Some declarations map to code in a precompiled libraries. And the linker will know which libraries to add to your application. But you can live without having #include in your code. For example if you simply add the prototype of printf in your file, and you don't include stdio.h, printf will work just fine.
6th Oct 2016, 2:55 PM
ZoltĂĄn ZörgƑ
ZoltĂĄn ZörgƑ - avatar