class implementations

  • Thread starter Thread starter cronusf
  • Start date Start date
C

cronusf

In C# everything goes in a single cs file. So for managed classes in C
++/CLI, should everything go in the header file? Or should definition
and implementation still be separate? What is the convention for
managed classes in C++/CLI?
 
In C# everything goes in a single cs file. So for managed classes in C
++/CLI, should everything go in the header file?

You can do whatever you want, but most would find the C++ convention
of a separate header and source neater. The C++/CLI form designer
(based on the C# implementation) however sticks everything in the
header file!

Dave
 
Back
Top