problem with borland c++ software
Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: problem with borland c++ software

  1. #1
    Senior Member
    Join Date
    Mar 2002
    Posts
    153

    problem with borland c++ software

    I install borland c++5.02( I think) and everythin work find. But after start my ist pro,( just getting started) the output is "hello world" . but wat happen is it just blinking and gone. I can't even see my output. any idea.
    And then one of our member recommended this compiler(oh sorry I dunno how to attach file) so I just put here the readme.txt file

    ===============================================
    C++BUILDER COMMAND LINE TOOLS
    RELEASE NOTES
    ===============================================

    This file contains important supplementary and
    late-breaking information that may not appear
    in the main product documentation. We recommend
    that you read this file in its entirety.


    CONTENTS
    ===============================================

    -- PRODUCT NOTES AND ISSUES

    -- ONLINE HELP

    -- PRODUCT INFORMATION ON THE WEB


    PRODUCT NOTES AND ISSUES
    ===============================================

    Installing and running the Command Line Tools
    -----------------------------------------------

    1. Run freecommandlinetools.exe; choose the
    drive and folder into which you want to
    install the free C++Builder 5 command line
    tool development system.

    2. From the bin directory of your installation:
    a. Add "c:\Borland\Bcc55"
    to the existing path
    b. Create a bcc32.cfg file which will set
    the compiler options for the Include
    and Lib paths (-I and -L switches to
    compiler) by adding these lines:
    -I"c:\Borland\Bcc55\include"
    -L"c:\Borland\Bcc55\lib"
    c. Create an ilink32.cfg file which will set
    the linker option for the Lib path by
    adding this line:
    -L"c:\Borland\Bcc55\lib"

    Other product notes
    -----------------------------------------------

    "PSDK" (\lib\PSDK) is an acronym for the
    Microsoft Platform Software Development Kit.


    ONLINE HELP
    ===============================================
    The online Help file included with this product
    --BCB5TOOL.HLP--describes the core functionality
    and options available in this edition of the
    product. To enhance your Help system you can add
    any number of files from the Borland C++Builder 5
    online Help set, including the core C++Builder
    Help file (BCB5.HLP), Standard C++ Library Help
    (BCB5SCL.HLP), C++Builder Language Guide Help
    (BCB5LANG.HLP), the C Runtime Library Reference
    (BCB5RTL.HLP), and the Errors Messages and
    Warnings listing (BCB5ERRS.HLP). All of these
    files are available for free download from the
    Borland C++Builder documentation site at
    http:\\www.borland.com\techpubs\bcppbuilder.


    PRODUCT INFORMATION ON THE WEB
    ===============================================
    In addition to numerous private sites that
    offer C++Builder information, instruction, and
    samples, the following C++Builder/Inprise
    Web-based resources provide a continuous stream
    of news, product information, updates, code,
    and other materials.

    Borland Community site and CodeCentral
    -----------------------------------------------
    The Borland community is a place created by
    programmers, for programmers, to celebrate the
    joy and challenge and exhilaration of
    programming. We invite you to come hang out at
    http://community.borland.com.

    The CodeCentral Repository is a free,
    searchable database of code, tips, and other
    materials of interest to developers. For details
    and registration information, visit
    http://community.borland.com/codecentral

    The Borland/Inprise Web site
    -----------------------------------------------
    Borland/Inprise home page:
    http://www.borland.com or
    http://www.inprise.com
    [IDE: Help|Borland Home Page]

    C++Builder home page:
    http://www.borland.com/bcppbuilder/
    [IDE: Help|C++Builder Home Page]

    C++Builder developer support:
    http://www.borland.com/devsupport/bcppbuilder/
    [IDE: Help|C++Builder Developer Support]

    C++Builder updates and other downloads:
    http://www.borland.com/devsupport/
    bcppbuilder/downloads/

    C++Builder documentation site:
    http://www.borland.com/techpubs/bcppbuilder

    Information for C++ developers:
    http://www.borland.com/bcppbuilder/cpp/

    Information for Visual Basic developers:
    http://www.borland.com/bcppbuilder/vb/

    Newsgroups:
    http://www.borland.com/newsgroups/

    Electronic newsletter subscriptions:
    http://www.inprise.com/feedback/listserv.html
    International list server:
    http://www.inprise.com/feedback/intlist.html

    Worldwide offices and distributors:
    http://www.borland.com/bww/

    Inprise FTP site (anonymous access):
    ftp.borland.com

    TechFax
    -----------------------------------------------
    Technical documents are available via fax at:
    1-800-822-4269 (North America)


    ===============================================
    Copyright (c) 2000 Inprise Corporation.
    All rights reserved.
    I can't understand wat it mean, and yes of coz I still can't continue my study with c++. Where else I can find free compile that free and for a absolute newbie like me.
    Thank for the advanced

  2. #2
    Senior Member
    Join Date
    Jun 2002
    Posts
    405
    Dev-C++ is another good C++ compiler. You can download it here.

    Good luck with your compiling

  3. #3
    Member
    Join Date
    Jan 2002
    Posts
    80
    If u r a complete newbie, maybe the cmdline tools wud be a bit too much for u. For Borland C++ 5.02, to see ur output, just include "conio.h" in ur prog and use getch(); just before ending the prog. this will let u press any key before exiting the prog.
    u also have option of using developer C++ from bloodshed softwares. however i like Borland more.
    And yes one more advice if u choose to use Borland 5.02. Make sure the option "incremental linker" is unchecked in the project options (or maybe the environment options) under the heading "linker" otherwise ur file sizes wud get too big.

  4. #4
    Member
    Join Date
    Sep 2002
    Posts
    98
    there is no problem with the compiler the thing is that you have probably used
    int main() and you have return 0 in your hello wolrd progie to see the output use
    void main() and return no value,in this way you can see the output !
    ---------------------------------------------------------------------------------------------------------------
    #include<iosteam.h>

    void main(){
    cout<<"Hello world";
    }
    ---------------------------------------------------------------------------------------------------------------

  5. #5
    Senior Member
    Join Date
    Mar 2002
    Posts
    153
    Thank a lot for the quick response. And to black_death I followed exactly wat the book say and type. But it just happen to be blink (I think). I don't understand bout void main() or return 0 coz if is my ist try and it happened like do I just learning c++ but right now may be I need to learn it again. Seem like c++ is very good language and important in IT world. Thank a lot

  6. #6
    Senior Member
    Join Date
    Nov 2001
    Posts
    120
    Try C before going for C++.I agree with shantz.Just put getch() at the end and include conio.h .Try devc++ or turbo c compiler.If you have linux or some other *nix use g++.

  7. #7
    Senior Member
    Join Date
    Sep 2001
    Posts
    1,027
    Do you mean you launch the program in windows and the output console disapears as soon as the program ends?

    If so, two options:
    1- Start the program from a command prompt.
    2- Add a line like "getchar();" just before the end of the program... Then you'll have to hit return for the program to end.


    Ammo
    Credit travels up, blame travels down -- The Boss

  8. #8
    Member
    Join Date
    Jan 2002
    Posts
    80
    Whatever u use, don't use turbo C. Its very very outdated and doesn;t support the latest ANSI standards. Best option is gcc, as blackmask said, but u may find it hard as i haven't come across a good IDE yet in *nix fo it. U can use dev C++, it also gives u an option to use gcc in windows. but i will still recommend u borland 5.02because of its ease of use.

  9. #9
    Member
    Join Date
    Jan 2002
    Posts
    80
    Whatever u use, don't use turbo C. Its very very outdated and doesn;t support the latest ANSI standards. Best option is gcc, as blackmask said, but u may find it hard as i haven't come across a good IDE yet in *nix fo it. U can use dev C++, it also gives u an option to use gcc in windows. but i will still recommend u borland 5.02because of its ease of use.

  10. #10
    Senior Member
    Join Date
    Mar 2002
    Posts
    153
    Thank to all of you who reply my post. I've tried your suggestion but still confusing. To shantz may be you can show me where exactly I put "getch()" in my C++. Oh one more thing, Isn't I do the right thing. In borland to compile my program I go to project - compile(alt+f9). And to view my output I go to debug - run(ctrl+f9).

    Do you mean you launch the program in windows and the output console disapears as soon as the program ends?
    And ammo you're right. I try your suggestion also but still not working. May be you can show me how to put the "getchar()" line.

    Sorry for my stupidity.
    Thank you a lot.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •