Home / Project G1S3
Name Modified Size InfoDownloads / Week
Parent folder
README.txt 2012-10-04 3.8 kB
G1S3c2.cpp 2012-10-04 874 Bytes
G1S3h2.h 2012-10-04 174 Bytes
G1S3c1.cpp 2012-10-04 5.5 kB
G1S3h1.h 2012-10-04 1.8 kB
Totals: 5 Items   12.2 kB 0
Please Note: This README text is identical for Packages G1S1, G1S2, and G1S3.  The only difference is that for G1S2, there are four source code files instead of two; and for G1S3, there are six source code files instead of four.  Below, wherever you see G1S1, please adjust accordingly, as needed.


A. Some familiarity with offline Windows is beneficial, and even so, the following detailed suggestions are provided:

1. The proper starting point would be the Windows Desktop.  Even if you are already online and at your home page, you may position your arrow over the Icon at the lower left that then reveals the message, Show Desktop, and then click this Icon.

2. It is helpful for file extensions to appear explicitly.  In order to do this, go to:

My Computer->Tools->Folder Options->View

and then uncheck the box entitled "Hide file extensions for known file types".

3. Visual Studio recommends that your Workspace folders be placed, starting at :

My Computer->C:->Program Files->DevStudio

and then there is a folder there entitled MyProjects.  As an alternative, you could go to:

My Computer->C:, and then do File->New->Folder.

A new folder then appears which you could name MyStudio.  When you right-click a folder or a file, operations such as Renaming can then be performed.  You can also Copy or Cut, and then when you have opened your way into a new folder, do Edit->Paste.  This way, explicitly inserting (although not strictly required by Visual Studio) the downloaded source code files will be quite a bit easier.  This folder, MyStudio, could serve as an alternative to MyProjects.


B. Next, some familiarity with Visual Studio MFC is almost required, and even so, the following suggestions might also be helpful:

1. After you open the Visual Studio, at the upper left, File->New allows you to create new Workspaces and Projects.  The Project folders are then placed within the Workspace folders.  While creating this, all that can be said here is to follow the dialog boxes very, very carefully.  Notice that when you do File->New->Workspaces, the Location field would then be filled in with: C:\MyStudio.  Suggested Workspace name: G1.

2. The new Project should always be Win32 Application.  This is among the simplest.  Then, don't forget to go to Project->Settings, and then for each configuration, Debug and Release, select the phrase "Use MFC in a shared DLL".  This way, you get MFC, and eventually even SDI, without an intimidating assortment of startup files.  Also, no Wizard.  All you have to do, however, is to Insert the two files from above.  Remember, these two unzipped source files are G1S1c1.cpp and G1S1h1.h.  This Insert procedure can even be physically started with Copy/Paste.  They would now go into:

C:->MyStudio->G1->G1S1.

You will see one or two other system files already there, for Visual Studio.

3. Meanwhile, at the bottom of the left window in Visual Studio, among the four tabs, we want "File".  You then right click the name (that you have given the project) G1S1, and then select Add Files to Project.  This is done, one by one.  Visual Studio also requires this formal Insert in order to formally recognize the files that you have supplied.  Presumably, according to 2. above, you have already Copy\Pasted these two files into:

C:\MyStudio\G1\G1S1

 4. The remaining work is now done within Build.  Here, you can select the Active Configuration, Debug, and later, Release.  For the first compile and link, you do Build G1S1.exe, and then after that, always Rebuild All.  After a successful compile and link, you do Execute G1S1.exe, and then hopefully, a Window shows up, which we have named from within the source code, My Window.  That's it.  Good luck.


Source: README.txt, updated 2012-10-04