home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / PROG_C / MSVCPUZL.ZIP / README.TXT < prev    next >
Text File  |  1994-01-02  |  2KB  |  39 lines

  1. This source code and program is in the public domain.
  2.  
  3. About the puzzle
  4.  
  5. This is a simulation of one of those sliding block puzzles usually made of
  6. plastic and given to children by their parents before a long car trip in
  7. the hope that it will keep them quiet.
  8.  
  9. The point of the puzzle is to move the large block at the top center
  10. position to the bottom center.  The pieces are dragged around using the
  11. mouse.  It is a difficult puzzle requiring about 100 moves to solve.
  12. Complicating the problem is the fact that this puzzle must be solved in
  13. one sitting because there is no way to save a puzzle in progress.
  14.  
  15. About the source code:
  16.  
  17. I wrote this program in an attempt to learn about C++ in general and
  18. Microsoft Visual C++ in specific.  I checked on PC-OHIO for sample MSVC++
  19. code and found very little.  This code demonstrates:
  20.  
  21.     A simple MSVC++ app with 1 view and no document.
  22.     Customizing the registration of the main window.
  23.     Dragging objects with the mouse.
  24.  
  25. If anyone cares to examine the code I'd be interested in any critisism.  I
  26. can be reached at:
  27.  
  28.     PC-OHIO:             Dave Lemanowicz
  29.     internet, (Freenet): db385@cleveland.freenet.edu
  30.     CompuServe:          72142,2367
  31.  
  32. BEFORE BUILDING
  33.  
  34. MSVC++ creates a subdirectory /RES off the project directory to hold
  35. resource files that are not edited by App Studio.  PC-OHIO does not permit
  36. uploading .ZIP files with with subdirectories so the contents of the /RES
  37. directory were moved to the project directory.  In order for the build to
  38. succeed the /RES directory will have to be created by you and the *.ico
  39. and *.rc2 files moved to it.