+ 3

What difference between them?? Include syntax has following forms:. #include<file>. #include "file"

Explain

22nd Jun 2019, 2:34 AM
Bhoopesh Maurya
Bhoopesh Maurya - avatar
3 Antworten
+ 3
In file inclusion service include is define by two ways in angle approach file is searched only standard folder or directory but in double code include file is searched not only in standard folder but also in current directory ..
22nd Jun 2019, 2:49 AM
Harsh Mishra
Harsh Mishra - avatar
+ 2
To prevent confusion for yourself or others, you should not give your file(s) the same name as any system provided include file. This means don't name your c header as stdio.h and don't name your c++ header as iostream since these would cause ambiguity with the system headers of the same names.
4th Jul 2019, 4:05 PM
Roger Greenlaw
+ 1
brackets are used for the standard header files while the quote is used for user generated header files. Standard headers come with compiler. User defined headers should be located in the same directory as the source code.
22nd Jun 2019, 2:51 AM
Robb