just starting

This is a discussion on just starting within the C++ Programming forums, part of the General Programming Boards category; Okay, i have MS Visual C++. Im having problems with it right now.. i posted sumting about that on the ...

  1. #1
    Registered User
    Join Date
    Jun 2002
    Posts
    33

    Question just starting

    Okay, i have MS Visual C++. Im having problems with it right now.. i posted sumting about that on the windows programming section. So ive been writing my source in notepad... is there a lil compiler i could download for free? somthing that works good and not cheap and crappy . I dunno much about libraries... do i download those separate or sumting? what r they or their purpose.. remember... im a newbie , i just started with this programming less than 2 hours ago.
    this is my signature. k thx

  2. #2
    Registered User
    Join Date
    Nov 2001
    Posts
    30
    MSVC++ has its own built in text editor so you dont need to write your source code in notepad.

    Open MSVc++ then go to file|new.
    Click on the files tab then C++ Source file.
    Then click in the File Name box on the right and type in a name - say 'MyProgram' (without the quotes). Click OK and it will give you a nice clean sheet to type your program in.
    When you have written (or cut & pasted) your prog, press F7 to build the .exe file, it will ask you if you want to create a default workspace, reply yes. resolve any errors then build again if necessary. When you have no errors press ctrl+F5 to run your program. Sit back and enjoy it.

    ps I suggest you start with a very simple program such as "Hello World"

    HTH
    Homer

    D'OH!

    mmmmmmmm... iterations

  3. #3
    Registered User
    Join Date
    Jun 2002
    Posts
    33
    thats exactly what i started with "hello world" but im having problems w/ vc++ so i was wondering if there are other good compilers i could use.
    this is my signature. k thx

  4. #4
    I am the worst best coder Quantrizi's Avatar
    Join Date
    Mar 2002
    Posts
    644

    Re: just starting

    I dunno much about libraries... do i download those separate or sumting?
    Yes, you need to download them seperatly. Best one to start out with is Allegro.
    what r they or their purpose..
    They are basically add-on's to either
    A. Help you program better
    B. make programs look cooler
    C. All of the above and + sum

  5. #5
    I am the worst best coder Quantrizi's Avatar
    Join Date
    Mar 2002
    Posts
    644
    Originally posted by Moffesto
    thats exactly what i started with "hello world" but im having problems w/ vc++ so i was wondering if there are other good compilers i could use.
    Dev-C++ is pretty good for starters, or for people who hate VC++. I suggest you download the 4.1 version of it and not the beta.

  6. #6
    Registered User
    Join Date
    Jun 2002
    Posts
    33
    I looked at the screenshot, it looks pretty good. Is it free? Usually the free crap has a crappy interface and dont run good. heh
    Everyone has recommended this website to me.
    this is my signature. k thx

  7. #7
    Registered User
    Join Date
    Jun 2002
    Posts
    33
    ok, nm, i downloaded it. I made a hello world program and ran it... it poped up with a box and w/ hello world but the the executable button was unavaliable to creat the exe. does any one know what is wrong? actually it made the hello world prject for me.... so ima try it myself now and see if it lets me create an executable.
    this is my signature. k thx

  8. #8
    I am the worst best coder Quantrizi's Avatar
    Join Date
    Mar 2002
    Posts
    644
    The executable file will be where you made the files for it.

  9. #9
    Registered User
    Join Date
    Jun 2002
    Posts
    33
    i figured out what i did wrong... i forgot to add the } at the end
    this is my signature. k thx

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Starting programs
    By Molokai in forum C Programming
    Replies: 1
    Last Post: 04-16-2009, 10:10 AM
  2. Starting Allegro
    By toonlover in forum C++ Programming
    Replies: 3
    Last Post: 09-15-2008, 06:35 PM
  3. Interpreter.c
    By moussa in forum C Programming
    Replies: 4
    Last Post: 05-28-2008, 05:59 PM
  4. i am not able to figure ot the starting point of this
    By youngashish in forum C++ Programming
    Replies: 7
    Last Post: 10-07-2004, 02:41 AM
  5. question about reading inputs starting with 0
    By jibbles in forum C Programming
    Replies: 8
    Last Post: 08-09-2004, 03:27 AM

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