Another Question!

This is a discussion on Another Question! within the C++ Programming forums, part of the General Programming Boards category; I've been playing around with MSVC++ for a bit now. Quite annoy I might add. I don't get it. How ...

  1. #1
    Registered User
    Join Date
    Jul 2002
    Posts
    4

    Question Another Question!

    I've been playing around with MSVC++ for a bit now. Quite annoy I might add. I don't get it. How the hell are we (newbies) supposed to know what to do. I tried reading the HELP, and search on many websites... They don't tell you the basics! Why?
    For example... when you first enter the program, then click on
    File/New... you get a list of what you want to pick. What the hell...

    Active Server Page
    Binary File
    Bitmap File
    C/C++ Header File
    C++ Source File
    Cursor File...
    and the list goes on, and thats only under the Files tab...under the Projects are a lot more.

    Can somebody just please tell me which file type i should pick to write a simple program.

  2. #2
    Registered User foniks munkee's Avatar
    Join Date
    Nov 2001
    Posts
    343
    Firstly VC++ is a commercial application, not really designed for beginners - so yeah it isn't newbie friendly. You could get a C++ book that has examples designed for VC++. They usually walk you throught all of the aspects of creating a project workspace, compiling, debugging etc.

    But to get started..

    1. Select File/New - A dialogue box will appear
    2. Select Win32 Console program from the projects tab
    3. Name your project.. something like "prog1" or whatever
    4. Press OK
    5. Make sure the "empty project" radio button is selected (its the default).
    6. Press FINISH
    7. A dialogue box asking you to confirm will appear, press ok.

    Now you have the project space in which to work.

    8. Select File/New
    9. Select C++ file
    10. Name your file, something like "main", if you are writing a C program, you must call it "main.c"
    11. Check that the Add to project check box is checked, and that the project name you just created is in the project name box. Its the default so it should be fine.
    12. Press OK

    You should be good to go now. This was assuming that you were looking to code a Win32 console program in C++.

    Good luck
    "Queen and huntress, chaste and fair,
    Now the sun is laid to sleep,
    Seated in thy silver chair,
    State in wonted manner keep."

  3. #3
    Unregistered
    Guest
    Woah, thanks alot fonik monkee. Not too busy to help a beginner out, good job.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Alice....
    By Lurker in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 06-20-2005, 02:51 PM
  2. Debugging question
    By o_0 in forum C Programming
    Replies: 9
    Last Post: 10-10-2004, 05:51 PM
  3. Question about pointers #2
    By maxhavoc in forum C++ Programming
    Replies: 28
    Last Post: 06-21-2004, 12:52 PM
  4. Question...
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM
  5. Question, question!
    By oskilian in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 12-24-2001, 12:47 AM

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