0

Including header files in source file behind the scenes??

file1.cpp has 10 lines of code and file2.h has 5 lines of code. file1.cpp has included the header file file2.h then the preprocessed file will have 15 lines or just the functions it needed is included??

10th Jan 2017, 7:22 PM
Sai Krish
Sai Krish - avatar
1 Resposta
+ 1
everything will be included. so you are right 15 lines are there after preprocessor step
10th Jan 2017, 9:28 PM
Gunther Strauss
Gunther Strauss - avatar