What is the diff betn include virtual and include file?

Posted by Gaddad under ASP.NET on 4/15/2009 | Views : 1281 | Status : [Member] | Replies : 1
What is the diff betn include virtual and include file?


Posted by: Vuyiswamb on: 4/15/2009 [Member] [MVP] [Administrator] NotApplicable

hi Gaddad

i assume you are talking about C++ , because thats where we use Include, well am no longer on C++ anymore , but here is your answer

Normally in header file the function / Class definitions exist and in lib files the implementation of the functions reside or let me give you an example about it .

Lets we define a Class A in file a.h and its function definition lies in a.cpp

Then when you compile and create the library the definition of function lies in the .h files and the implementation lies in the lib files.

Like say iostream.h files hold the function signatures of the function and the corresponding lib files has the actual implementation of the function.

Thank you for Posting at Dotnetfuda

Were looking forward for your reply

Vuyiswa Maseko

Thank you for posting at Dotnetfunda

Gaddad, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response