-
March 22nd, 2010, 07:51 AM
#1
Fundamental Question in Organizing
When I create an empty Win32 application in VC++, I see 3 folder icons to my left (in the environment):
Header files
Resource files
Source files
I create main.cpp in the "source files" and a header file (say) temp.h in the "header files" folder. Till now I have been writing the functions code right in temp.h
Say if I want to create a file temp.cpp which contains the functions code. Where should I put it into?
Resource files?
Please also give organizing tips that you may know. I would be grateful if you could point me to the appropriate links also.
-
March 22nd, 2010, 07:55 AM
#2
Re: Fundamental Question in Organizing
Till now I have been writing the functions code right in temp.h
This is what the cpp file is meant for, not the h file. And you are supposed to put it in the source file-folder.
-
March 22nd, 2010, 08:10 AM
#3
Re: Fundamental Question in Organizing
Thanks! But what is the resource folder for?
-
March 22nd, 2010, 08:15 AM
#4
Re: Fundamental Question in Organizing
Originally Posted by sgsawant
Thanks! But what is the resource folder for?
Resources. Dialog templates, menus, bitmaps, cursors, string table, icons, etc.
-
March 22nd, 2010, 08:16 AM
#5
Re: Fundamental Question in Organizing
Originally Posted by sgsawant
Thanks! But what is the resource folder for?
Resources ? Like the name suggests... If you include images/binaries etc in your project, they will show up in that folder.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|