C++ help please

This is a discussion on C++ help please within the A Brief History of Cprogramming.com forums, part of the Community Boards category; ok i am totally new to programming and have a few questions to get me started! 1) do u need ...

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    3

    C++ help please

    ok i am totally new to programming and have a few questions to get me started!

    1) do u need to have both of these in order to program a program
    i have Microsoft visual C++ 6.0 and the dev C++ compiler so do i need both of these to make programs and to start off with is this a ok setup to learn from?

    2) The programs i would like to eventually create would be stuff like PS2 utility programs and stuff to give no-cd cracks 4 pc games and also to get into the hard stuff eventually would what i have above be able to do this.

    3) Also what i have can this create most basic programs and exe files along with dos programs.

    4) Also if anyone thinks they can help me with a little chat i have ICQ and MSN ICQ= 129930393 msn= voven@rchampley.fsnet.co.uk

    thanks an awful lot 4 this it will really help me

  2. #2
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,738
    Well, I have never used Dev-C++, but I have used Visual C++, and so do most professionals out in the field.

    Visual C++ is the most popular, so if you want to do Windows apps, it is good.

    It cannot do DOS, however. If you want to do DOS, get Borland C++. Borland supports DOS, Win16, and Win32.

    I have never used Dev-C++, so I do not know what platforms it supports.
    My Website

    "Circular logic is good because it is."

  3. #3
    Registered User
    Join Date
    Sep 2001
    Posts
    3
    would u be able to tell me which compiler would be good for me to use with

    1) visual C++
    2) Borland C++

  4. #4
    Blank
    Join Date
    Aug 2001
    Posts
    1,034
    It really doesn't matter what compiler you start out with.
    Therefore I'd go with visual c++ 6.0 if you've already payed
    for it. You will probably want to start out making "console" or
    standard c or c++ programs for windows. This means that your
    programs are portable in theory to other OS. You also need to decide if you want to learn c++ or learn c. I would try learning c++ first, but c is also a good language. c++ in visual c++ 6.0
    IMHO doesn't adhere to the standard as much as borlands.
    code generation probably isn't as good as intel c++ but that cost
    like $5000.

    You also want to get a book. I own the deitel c++ programming text book (good for beginners), the c++ language special edition (good if you know pascal or something, still probably hard to read), Thinking in c++ (good book and easier to
    read than The c++ programming language but expects you to know c before hand or to learn some c that comes with the CD).

  5. #5
    Blank
    Join Date
    Aug 2001
    Posts
    1,034
    Well only like $500 but that's still too
    expensive (: Still I think it's cheaper than
    visual c++ enterprise but it requires visual c++ pro to run.

  6. #6
    Registered User
    Join Date
    Sep 2001
    Posts
    3
    could someone let me know one last thing

    do u write a program in the visual C++ program and then compile it in something like Dev C++ 4.0

    or do u write it in the visual program and compile it there or do u write it in the dev program and comile it there

  7. #7
    Registered User
    Join Date
    Aug 2001
    Posts
    46
    Visual C++ comes with a compiler of its own.
    Play around with VC++ a bit and you will come to know its amazing capabilities.
    But beware if you plan to purchase this then i would recommend staying away and using a free compiler like lcc-32.

  8. #8
    Blank
    Join Date
    Aug 2001
    Posts
    1,034
    With visual c++ you first must create a project.
    file->new->Win32 Console Project

    Also type in the project name such as
    foo

    and location such as
    c:\windows\desktop\my_src\foo

    Do an empty project and finish. Then file->new->c++ Source File
    Edit filename to be foo.cpp

    and then type in something like

    Code:
    #include <iostream>
    using std::cout;
    using std::endl;
    
    int main()
    {
          cout << "Hello World!" << endl;
          return 0;
    }
    Then file->save
    then add the file to the project
    project->Add to project

    then build
    Then have a struggle with it has the stop build
    doesn't work and it's crashed. I can't exit the
    freaking thing because it says the build hasn't been
    completed! And for some strange reason control-alt-delete
    doesn't work.

  9. #9
    aurė entuluva! mithrandir's Avatar
    Join Date
    Aug 2001
    Posts
    1,209
    Still I think it's cheaper than
    visual c++ enterprise but it requires visual c++ pro to run.
    I've got enterprise, but it isn't that much better than pro.

Popular pages Recent additions subscribe to a feed

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