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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top