Reference and #include

  • Thread starter Thread starter Tao
  • Start date Start date
T

Tao

hi.. Group,

what's the difference between adding a referencing to a project and adding a
#include in the code. I am using the managed C++.

thanks.
 
what's the difference between adding a referencing to a project and adding
a #include in the code. I am using the managed C++.

Hi,

If you create managed code, you write managed classes.
If you use these classes within the project you created them in, you simply
include the header files.

If you want to use those classes within another project, you'd reference the
library you compiled them in because you are not supposed to use source code
files outside of the project that they were created in.

--

Kind regards,
Bruno van Dooren
(e-mail address removed)
Remove only "_nos_pam"
 
Back
Top