this sites Compiler Resources Specs.

This is a discussion on this sites Compiler Resources Specs. within the C++ Programming forums, part of the General Programming Boards category; Can any one tell me how to compile a totaly stand-alone true-DOS program using any of the free compilers on ...

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

    this sites Compiler Resources Specs.

    Can any one tell me how to compile a totaly stand-alone true-DOS program using any of the free compilers on this site?

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    Step 1: Go to the compiler's web site.
    Step 2: Read the compiler's documentation.
    Step 3: Repeat at step 2 until enlightenment is achieved.
    If this is too hard, go immediately to step 1a.
    Step 4: End

    Step 1a: Find all of your computer's parts
    Step 2a: Find the box it came in.
    Step 3a: Pack the computer neatly in the box.
    If the computer is still plugged in, go to step 1b.
    Step 4a: Go to the computer store where you bought it.
    Step 5a: Give it back and say you're too stupid to own one.
    Step 6a: End

    Step 1b: Call the computer repair man.
    Step 2b: Tell them to come get your computer.
    If asked why
    Step 3b: Tell them you are a moron.
    Else
    Step 3b: Be happy they don't know.
    If this is too hard, go to step 1c.
    Step 4b: End

    Step 1c: There is no 1c, your only hope for survival is to enter politics.

    -Prelude
    My best code is written with the delete key.

  3. #3
    Registered User
    Join Date
    Jun 2002
    Posts
    44
    I found absoloutely no documentation on any site.And you proved yourself an idiot by writing pathetic pseudo-code.You are probably one of those idiots who knows a litle about Windows and the Internet and so,thinks they know all about computers,which is truly sad .Does anybody here realy wanta help?

  4. #4
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    lmao

    how long did u take to think that up, btw?
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  5. #5
    Registered User
    Join Date
    May 2002
    Posts
    317
    Borland is one of the companies that create compilers. They have an easy-to-use DOS integrated developers environment that comes with some of their products, such as Turbo C++. On the whole, I prefer their compilers to Microsoft Visual C++.

    Borland's webpage They have available information on their compilers, as well as some free downloads of their earlier compilers. They are now giving away a new version of their compiler, Borland C++ 5.5 for free download. It requires you to become a member of the borland community, before downloading, however.
    Common Problems and Questions
    How do I set up the compiler?
    From the bin directory of your installation: Create a bcc32.cfg file, which will set the compiler options for the Include and Lib paths, and add these lines:
    -I"c:\Borland\Bcc55\include"
    -L"c:\Borland\Bcc55\lib"
    Create ilink32.cfg and add this line:
    -L"c:\Borland\Bcc55\lib"
    How do I compile a program?
    Go to the bin directory, and type in: bcc32 <filename>

    For example:

    C:\BORLAND\BCC55\BIN\bcc32 example.cpp

    Any questions?

  6. #6
    Registered User
    Join Date
    May 2002
    Posts
    317
    There are numerous compilers available for C++ programming. One of the easiest compilers to use is the Bloodshed Dev compiler. This page will give you the information necessary to help you make your first program with that compiler.

    You should already have downloaded Bloodshed Dev version 4.0. After you have installed the compiler, you should go to Start:Programsev-C++ and run Dev-C++. You may be asked whether you wish Windows to associate .c and .cpp files with the compiler; you should check Yes. After the program opens, go to File-New Project...; click on it. Select Console Application, and click ok. Enter a project name when prompted; enter the filename for your project. Dev-C++ will conveniently open a new file for editing, and this file will already contain the barebones of a C++ program. Delete what is shown in that file and enter the following:
    Code:
    #include <iostream.h>
    int main()
    {
      cout<<"The Compiler Works";
      return 0;
    }
    To run this program, go to Execute-Run. You may be prompted to save your file; type a filename to save it. It will then execute the code you typed in. You probably won't see anything appear on the screen, although you might notice a brief flash of a DOS window. If you wish to force the compiler to leave that window open, go here. Keep in mind, when you create a finished program, you won't have a need to force the compiler to keep the window open, so you can remove the code to keep it open.


    How do I make an executable file?

    With Dev-C++, to make an executable file is as simple as going to Execute-Compile. You might be prompted to save your file; save it. You will then find a .exe file with the same name as the .cpp file in your My Documents folder; this .exe file is the finished program that you have created.


    I would just like to point out that all this info was obtained from this site. It may be helpful to have a better sense of humor in the future and possibly a little better researching skills.

  7. #7
    Registered User
    Join Date
    Jun 2002
    Posts
    44
    I've seen all of that but:
    i didn't want to become a part of 'the Borland community' but now i'm thinking about it.As for Dev-c++:i tried it and it kept saying:cannot compile,or something like that when i tried to 'Execute & Run'.

  8. #8
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    >I found absoloutely no documentation on any site.
    Then you didn't look very hard, did you? In less than 30 seconds I loaded Borland's site and got the documentation for all of it's products then I went to Bloodshed's site and got their documentation for Dev C++. This was before responding to your plea for help by the way.

    >And you proved yourself an idiot by writing pathetic pseudo-code.
    No, I gave several valid steps for you to follow since the information you needed was very simple to find. Please read the smart questions link in my signature for more information that you should know before posting again.

    -Prelude
    My best code is written with the delete key.

  9. #9
    Registered User
    Join Date
    May 2002
    Posts
    317
    What version of Dev C++, I believe the newest has problems. Try downgrading to Dev-C++ ver 4.

  10. #10
    Registered User
    Join Date
    Jun 2002
    Posts
    44
    Thanks travelor,i am now part of the Borland commmunity and I'm downloading the Borland compiler.Il tell you if all goes well,once again thanks

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help With finding a compiler
    By macman in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 04-15-2005, 09:15 AM
  2. I'm bored - got any sites?
    By Lurker in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 12-12-2003, 04:12 PM
  3. Shareware Sites - Updating Them
    By Davros in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 11-11-2002, 02:58 AM
  4. C Compiler
    By SAMSEIED in forum C Programming
    Replies: 5
    Last Post: 06-06-2002, 06:44 PM
  5. Special Compiler for win app's
    By Unregistered in forum Windows Programming
    Replies: 19
    Last Post: 04-26-2002, 04:52 PM

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