Thread: Using compiler

  1. #1
    Registered User
    Join Date
    Jun 2005
    Posts
    3

    Question Using compiler

    Hey
    I have purchased and installed BorlandC++6. I am just learning C++ so i merely want to enter basic programs and run them to learn C++. From the main screen not the command line. I have the full compiler. Please let me know how to simply enter compile and run and use this awesome program. I am not learning windows just basic C++. Thanks

  2. #2
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    I've never seen BC++ 6, but you should be able to figure it out with the help of a beginning C++ book.

    Enter a simple program, like
    Code:
    #include <iostream>
    
    using std::cout;
    
    int main() {
        cout << "Hello, World!\n";
        return 0;
    }
    save it, and click on Compile->Compile and Run or something similar.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  3. #3
    Registered User
    Join Date
    Apr 2003
    Posts
    2,663
    Purchased? Dev C++ is free and it's highly recommended:

    http://www.bloodshed.net/devcpp.html

    Please let me know how to simply enter compile and run and use this awesome program.
    Read the instructions? Look under Help? Search google for Borland instructions?
    Last edited by 7stud; 10-29-2005 at 01:59 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiler Paths...
    By Cobra in forum C++ Programming
    Replies: 5
    Last Post: 09-26-2006, 04:04 AM
  2. C Compiler and stuff
    By pal1ndr0me in forum C Programming
    Replies: 10
    Last Post: 07-21-2006, 11:07 AM
  3. I can't get this new compiler to work.
    By Loduwijk in forum C++ Programming
    Replies: 7
    Last Post: 03-29-2006, 06:42 AM
  4. how to call a compiler?
    By castlelight in forum C Programming
    Replies: 3
    Last Post: 11-22-2005, 11:28 AM
  5. Bad code or bad compiler?
    By musayume in forum C Programming
    Replies: 3
    Last Post: 10-22-2001, 09:08 PM