Start from Scratch - How?

B

Bob Palank

In creating content for a VC++.NET programming class, I'd like the students
to create a single form application starting with an Empty Project(.NET)
and then construct the application step by step naming each file as it is
being created or imported. Code could be copied in from another similar
application. I
would like the naming of the files to be frmMain.cpp and frmMain.h (ie
developer named) The other
files can be copied in (ie stdafx.cpp and stdafx.h) The purpose is to
ensure they see the content and purpose of each of these files..

Could you suggest a clear method to accomplish the above?

Also, creating an application using the Windows Forms Application(.NET)
template would be fine provided the names of the supplied code files can be
changed from Form1.x to frmMain.x in a clear and easy manner.

In your opinion, are most desktop windows applications started with the
above template?

Wouldn't it make sense to allow the developer to name the forms .cpp and ,h
files ?

Suggestions and advice is appreciated.

TIA
Bob
 
B

Bruno van Dooren

Could you suggest a clear method to accomplish the above?
i probably misunderstand your question, because i would sugest creating an
empty project,
and then manually adding new cpp and h files.
Also, creating an application using the Windows Forms Application(.NET)
template would be fine provided the names of the supplied code files can be
changed from Form1.x to frmMain.x in a clear and easy manner.
I just rename the files and then change the code to reflect the new names.
i agree that this is tedious
In your opinion, are most desktop windows applications started with the
above template?
this is how i do it in C#. i don't create managed windows apps in C++ .NET
because
it is more complicated than in C#
Wouldn't it make sense to allow the developer to name the forms .cpp and ,h
files ?
it would.

kind regards,
Bruno.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top