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.
Re: Fundamental Question in Organizing
Quote:
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.
Re: Fundamental Question in Organizing
Thanks! But what is the resource folder for?
Re: Fundamental Question in Organizing
Quote:
Originally Posted by
sgsawant
Thanks! But what is the resource folder for?
Resources. Dialog templates, menus, bitmaps, cursors, string table, icons, etc.
Re: Fundamental Question in Organizing
Quote:
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.