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

Re: Why is There no Form1.cpp File in Visual C++ ? 80 80

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

Re: Why is There no Form1.cpp File in Visual C++ ? 80 80

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 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.