Need someones help

This is a discussion on Need someones help within the C++ Programming forums, part of the General Programming Boards category; Hi, I was wondering if someone could help me get started. I used to know some C but that was ...

  1. #1
    Registered User
    Join Date
    Oct 2005
    Posts
    2

    Smile Need someones help

    Hi,

    I was wondering if someone could help me get started. I used to know some C but that was a while ago. I want to learn C++ now. I downloaded Visual C++ 2005 Express Edition for a compiler but have no idea how to get a program working. I did the hello world program but dont know what to do next....I guess I need someone to help me out with just compiling this program and I can teach myself.....

    Sorry for sounding dumb, I know this is like asking how to chew for alot of you

    Thanks

  2. #2
    ^ Read Backwards^
    Join Date
    Sep 2005
    Location
    Earth
    Posts
    282
    Once you have your code, say this:
    Code:
    #include <iostream>
    
    using namespace std;
    
    int main()
    {
    
    	cout << "Hello Mom!" << endl;
    
    	cout << "5 + 5 = " << (5+5) << endl;
    
    	return 0;
    
    }
    Then from the Build Menu (I am guessing that is what it is in that version) click compile. Then when that is done from same menu click (build menu) click build.

    Then you can run the program your self (it will be in /debug from wherever you working cpp file is) or from the build menu you can execute the file (or Ctrl+F5 should execute it).

  3. #3
    Meganan
    Join Date
    Oct 2005
    Posts
    13
    Look up a tutorial and read it through there are plenty around. just search "c++ tutorial" in google.
    Intelligence is Knowledge, but Wisdom is Depth.
    Stupidity is overwhelming.

  4. #4
    Registered User
    Join Date
    Oct 2005
    Posts
    2
    I cant find anything that says build, i have debug,tools,window, etc.....

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Killing someones grandparents
    By nickname_changed in forum A Brief History of Cprogramming.com
    Replies: 37
    Last Post: 09-07-2003, 07:56 AM
  2. Can you steal someones code ?
    By joeyzt in forum Game Programming
    Replies: 5
    Last Post: 06-28-2003, 08:14 PM
  3. Someone's using "CrystalSky"
    By Series X4 1.0 in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 07-20-2002, 01:23 PM
  4. This dude need someones help, bad????
    By correlcj in forum C Programming
    Replies: 9
    Last Post: 07-12-2002, 09:28 PM

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