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
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
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]
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.