Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Where do I begin?

CrazyDaveCrazyDave Posts: 2Member
Total noob question. I wanted to learn programing, so I got Borland c++ 5.5 . I extracted everything to the default location(C:/Borland/BCC55). I looked around and found some applications in the bin folder, but everytime I try to open one, a black textbox flashes on screen for about half a second and disappears. Am I doing something wrong? How do I start this damn thing? Any and all advice welcome.

Comments

  • bilderbikkelbilderbikkel Posts: 754Member
    : Total noob question. I wanted to learn programing, so I got Borland
    : c++ 5.5 . I extracted everything to the default
    : location(C:/Borland/BCC55). I looked around and found some
    : applications in the bin folder, but everytime I try to open one, a
    : black textbox flashes on screen for about half a second and
    : disappears. Am I doing something wrong? How do I start this damn
    : thing? Any and all advice welcome.
    :-) Haha, it already works! It just does not ask to press a key before closing the program.

    Add the following lines to your code:

    [code]
    #include //For std::cout, std::cin, std::endl

    int main()
    {
    //Your code here

    std::cout << "Press any key to quit" << std::endl;
    std::cin.get();
    }
    [/code]

    Have fun,
    bilderbikkel
  • zibadianzibadian Posts: 6,349Member
    : Total noob question. I wanted to learn programing, so I got Borland
    : c++ 5.5 . I extracted everything to the default
    : location(C:/Borland/BCC55). I looked around and found some
    : applications in the bin folder, but everytime I try to open one, a
    : black textbox flashes on screen for about half a second and
    : disappears. Am I doing something wrong? How do I start this damn
    : thing? Any and all advice welcome.
    :
    Alternatively, run the program cmd (Start > Run > type "cmd" and press enter). Then use the well known DOS commands to go to the program folder and run it.
  • CrazyDaveCrazyDave Posts: 2Member
    : : Total noob question. I wanted to learn programing, so I got Borland
    : : c++ 5.5 . I extracted everything to the default
    : : location(C:/Borland/BCC55). I looked around and found some
    : : applications in the bin folder, but everytime I try to open one, a
    : : black textbox flashes on screen for about half a second and
    : : disappears. Am I doing something wrong? How do I start this damn
    : : thing? Any and all advice welcome.
    : :-) Haha, it already works! It just does not ask to press a key
    : before closing the program.
    :
    : Add the following lines to your code:
    :
    : [code]:
    : #include //For std::cout, std::cin, std::endl
    :
    : int main()
    : {
    : //Your code here
    :
    : std::cout << "Press any key to quit" << std::endl;
    : std::cin.get();
    : }
    : [/code]:
    :
    : Have fun,
    : bilderbikkel

    I think your trying to put the cart ahead of the horse. I have some c++ experience, but we used a network connection to link to a linex server, completly different system. My main question is how do I launch the compiler

  • bilderbikkelbilderbikkel Posts: 754Member
    : I think your trying to put the cart ahead of the horse. I have some
    : c++ experience, but we used a network connection to link to a linex
    : server, completly different system. My main question is how do I
    : launch the compiler
    Oops, I'm sorry. I hope Lundin's post helped you out. I'm not so familiar with command-line compiling, I just use C++ Builder/Kylix/Visual C++/Dev C++.

    See ya,
    bilderbikkel
Sign In or Register to comment.