W
wraith
Hi to all,
Im just wondering on why VC++ .NET puts all of its code in the header file?
why not use th cpp file? wheres the two file approach?
I've read a comment on this newsgroup that suggests that microsoft is
dropping off cpp files and moving to the 1 file approach. Well for me,
microsoft has no such plans for they have just implemented the 2 file system
in C# Express (with the introduction of partial classes) i've used C# 2005
and was wondering why microsoft hasn't implemented this kind of approach in
C++/CLI. Upon creating a form, C# automatically creates another file to
store all of the compiler generated code (Initialization of controls,
etc..):
eg.
myForm.cs
-myForm.designer.cs
I also hate it when the compiler automatilcally places the scope on your
event or control...
eg
private: System::Windows::Forms::TextBox^ textBox1;
private: System::Windows::Forms::TextBox^ textBox2;
instead of
private:
System::Windows::Forms::TextBox^ textBox1;
System::Windows::Forms::TextBox^ textBox2;
In fairness to microsoft, they have done a very good job on upgrading the
language itself. (Now I don't see any __underscores) =)
cheers
Paul June A. Domag
nth geographics and geometrics
Im just wondering on why VC++ .NET puts all of its code in the header file?
why not use th cpp file? wheres the two file approach?
I've read a comment on this newsgroup that suggests that microsoft is
dropping off cpp files and moving to the 1 file approach. Well for me,
microsoft has no such plans for they have just implemented the 2 file system
in C# Express (with the introduction of partial classes) i've used C# 2005
and was wondering why microsoft hasn't implemented this kind of approach in
C++/CLI. Upon creating a form, C# automatically creates another file to
store all of the compiler generated code (Initialization of controls,
etc..):
eg.
myForm.cs
-myForm.designer.cs
I also hate it when the compiler automatilcally places the scope on your
event or control...
eg
private: System::Windows::Forms::TextBox^ textBox1;
private: System::Windows::Forms::TextBox^ textBox2;
instead of
private:
System::Windows::Forms::TextBox^ textBox1;
System::Windows::Forms::TextBox^ textBox2;
In fairness to microsoft, they have done a very good job on upgrading the
language itself. (Now I don't see any __underscores) =)
cheers
Paul June A. Domag
nth geographics and geometrics