Thread: I Need The Simplest Tutorial Out there.

  1. #1
    Registered User
    Join Date
    Jan 2003

    Exclamation I Need The Simplest Tutorial Out there.

    I need a tutorial that can fit my basic needs. I need it so simple that it tells me the FIRST FIRST part thing to do with my compiler etc. and to explain what every part is.

    is there one?

    im reading the ones in but thats some advance stuff well i know the hello world program already but for me its hard still to understand what OTHER people are talking about.

  2. #2
    Registered User
    Join Date
    Mar 2002
    What's your compiler?
    Well, there are a few things wrong with your code:

    1) It does not work.
    2) It does not work.
    3) It does not work.

    Hope this helps.

  3. #3
    Registered User
    Join Date
    Jan 2003
    MSVC++ 6.0 Pro Edition

  4. #4
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    University of Waterloo
    there might be help files that come with it..........but truthfully, i've never looked at 'em, i've just learned as i go along

  5. #5 JasonD's Avatar
    Join Date
    Mar 2003
    I don't know if you'll find a tutorial that explains every part. I can recommend a book that teaches C++ from within the MSVC++ environment, so it teaches you what you need to know to get all of its examples working. That book would be Beginning Visual C++ 6 by Ivor Horton. I highly recommend it.

  6. #6
    Registered User
    Join Date
    Apr 2003
    1)Sit down at your computer.
    2)Turn it on.
    3)After it boots up, click on the MSVC++ 6 icon on your desk top to launch Visual C++.

    4)Read this:

    The first thing you need to do before you start writing your program is to start a new project. You should close all workspaces before doing that--if any are open--by clicking on File/Close Workspace. Then click on File/New. The projects tab should be selected and you should make sure the radio button for "Create new workspace" is checked. For a console program(needed for beginning C++ programs), select Win32 Console Application, fill in a project name, then click OK. Then select Empty Project and click Finish. Then click on OK.

    Now you need to create a file for your project. Click on File/New and the Files tab should be selected. Click on C++ Source File. Make sure the "Add to project" check box is checked. Fill in the File Name(with no extension--it will be added for you) and click on OK. At the top left of the Visual C++ window, in the blue border, it will show the project name and then Microsoft Visual C++. The file you created has its name in the blue border at the top of its window.

    Then you type in your code, and when you are done you need to compile it. To make things easier, you first want to display the tool bar "Build MiniBar". To do that, right click anywhere in the tool bar area, and make sure "Build MiniBar" is selected. You can compile your program by clicking on the tool bar button that looks like a box with dots in it and two down arrows with dots above the arrows, or by choosing the build menu item and selecting "Compile your_project.cpp".

    Any errors will be displayed in a separate frame. You can read an error and then click on the error message to take you to the line where the error occured in your code. Once you take care of all the errors, then you can execute your program by clicking on the tool bar button that looks like a red exclamation mark, or by clicking on the Build menu and selecting "Execute your_project.exe". After that, a DOS window will open and the results of your program will be output to the DOS window.

    The project hierarchy goes like this: workspace/project/files. A project is simply a program of some kind made up of various files(for a beginner it will be only one file), and a project workspace is a folder in which all the information relating to a project is stored. When you create a project, a project workspace(a folder) is created automatically, and Visual C++ will maintain all the source code and other files in the project workspace folder. When you want to stop working on a program, you click on File/Close Workspace, and when you want to start working on a previous project, you click on File/Open Workspace or File/Recent Workspaces.

    The only way you can permanently delete files and/or workspaces is to navigate to the folder on your computer and delete one of the files in the folder or the whole folder. Deleting a file in Visual C++ does not permanently remove it from the workspace.

  7. #7
    Grammar Police HybridM's Avatar
    Join Date
    Jan 2003
    You don't get documentation off kazaa.

    I'm guessing...
    Last edited by HybridM; 08-13-2003 at 10:32 PM.
    Thor's self help tip:
    Maybe a neighbor is tossing leaf clippings on your lawn, looking at your woman, or harboring desires regarding your longboat. You enslave his children, set his house on fire. He shall not bother you again.

    OS: Windows XP
    Compiler: MSVC

  8. #8
    Registered User
    Join Date
    Aug 2003
    Originally posted by HybridM
    You don't get documentation off kazaa.

    I'm guessing...
    I started learning C++ for windows just yesterday, I had experience in DOS and UNIX C++.
    Dev-C++ is FREE. Also one can download Borland C++ builder 60 day trial for FREE. So no need to blame ppl in using pirate software if they havent paid X000 $ for a box. Besides, I believe Kazaa distributions have documentation included too usually :P.
    I use Dev-C++.

    Anyway, I'm searching for tutorials myself. I found this one for example

    For others, windows programming doesn't seem very straightforward. It's not like you sit down and start coding, some tutorials are good way to get started.

  9. #9
    Also if doing Windws programming an accesible link to MSDN is also helpful or the help from VC++6. Sadly if oy uupgrade to .NET the help sucks unless you want to use MFC. bah!!
    Give me a bad reputation!!!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. My new website
    By joeprogrammer in forum A Brief History of
    Replies: 19
    Last Post: 03-17-2006, 07:38 PM
  2. Cprog tutorial: Design Patterns
    By maes in forum C++ Programming
    Replies: 7
    Last Post: 10-11-2004, 01:41 AM
  3. Tutorial review
    By Prelude in forum A Brief History of
    Replies: 11
    Last Post: 03-22-2004, 09:40 PM
  4. Problem with tutorial (Vector class)
    By OdyTHeBear in forum C++ Programming
    Replies: 4
    Last Post: 12-18-2002, 02:49 PM
  5. My DirectInput tutorial....
    By jdinger in forum A Brief History of
    Replies: 1
    Last Post: 06-18-2002, 11:32 PM