Re: C++ Code in header files

From: Mauro Tronto (mauro.tronto_at_tmxp.it)
Date: 09/17/04


Date: Fri, 17 Sep 2004 20:22:03 +0200

Thanks Carl for reply.
Are there any changes in Whidbey? I've see that in C++ 2005 express is just
the same: code in header file ;-(
Mauro

"Carl Daniel [VC++ MVP]" <cpdaniel_remove_this_and_nospam@mvps.org.nospam>
ha scritto nel messaggio news:%23ckw9GOnEHA.3988@TK2MSFTNGP10.phx.gbl...
> "Mauro Tronto" <mauro.tronto@tmxp.it> wrote in message
> news:%23ci9m5NnEHA.3988@tk2msftngp13.phx.gbl...
>> Hello, If you start a new c++ .net project (windows form) the IDE shows
>> window and generate 2 files (.cpp and .h). If I simple drag and drop
>> button control into the form and double click the button, the IDE shows
>> me a method "template" where I can write my code. I wonder why the IDE
>> creates the template in .h (header) file instead of .cpp file. I've
>> always write scheleton C++ class in header file and implementation code
>> in .cpp file.
>
> Bottom line because the wizards were designed to generate C# code which
> does not use a separate header file.
>
> -cd
>
>