Why did Microsoft Visual C++ developers choose "Form1.h" for us to put all of our source code in, instead of a Form1.cpp? I find the Form1.h file to grow without bound; thousands of lines...
in an "h" file!

Walt

Member Avatar for jencas

Probably because C# puts declaration and definition into the same file and they use the same code base for C++/CLI

you could probably create the Form1.cpp yourself and put implementation code there just like you would do with standard C and C++ programs.

[edit]Just tested it, and yes you can do that just like normal c++ programs.
[/icode]

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.