Saving MFC Source :: C++

This is a discussion on Saving MFC Source :: C++ within the C++ Programming forums, part of the General Programming Boards category; Hi. I started an MFC sample program that Prosise include in his book. I would like to save the source ...

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348

    Saving MFC Source :: C++

    Hi.

    I started an MFC sample program that Prosise include in his book. I would like to save the source code, but not the enter project. Note that I started the project using AppWizard.

    What files do I have to save from the project so I can always open that project up again? Do I have to save the entire probject including Debug? I have not save and/or remove any files yet because I do not work to lose any resource files.

    Thanks,
    Kuphryn

  2. #2
    Registered User minime6696's Avatar
    Join Date
    Aug 2001
    Posts
    267

    Post well...

    Again I must say, [I]think about it! MFC is just a sort of API, and you're code is still C++, if you want some funciton, just copy it cut + paste.... U dont need to to convert anything.... if you know the basix of C++ you would know that the files are simply orginizors of code!

    SPH

  3. #3
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    ahhh. What are you conveying? MFC sucks?

    The problem with API is Petzold's book is uses C as examples, not C++.

    Kuphry

  4. #4
    Unregistered
    Guest
    with an mfc using the app wizard...
    you must save all the .h and .cpp files..

    if you want to be able to run the program again you will also need the resource file usually named resource.h and the files in the res folder...
    what can you do away with and still rebuild your project????

    you can delete the .ncb .opt files and the debug and release folders.... there are a couple other files you can get rid of and still be able to rebuild your project.... but be careful before you start deleting away if you plan to rebuild the project...

  5. #5
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    Thanks.

    I have an idea for Microsoft. Microsoft should design a feature that can compress all *required* files into a zip/rar. Visual C++ exclude all temporary files. The programmers will only need to unzip it.

    Kuphryn

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to build, run Boland C++ 6 source file via VS2005?
    By userpingz in forum C++ Programming
    Replies: 2
    Last Post: 05-21-2009, 03:25 AM
  2. Debug into Source
    By lehe in forum C++ Programming
    Replies: 4
    Last Post: 02-18-2009, 09:45 AM
  3. starting linux's source code and kernel
    By sawer in forum Linux Programming
    Replies: 9
    Last Post: 08-01-2006, 07:46 AM
  4. add source files to embedded VC 4.0
    By George2 in forum C++ Programming
    Replies: 4
    Last Post: 06-13-2006, 03:28 AM
  5. Request for comments
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-02-2004, 09:33 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21