LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-14-2002, 10:41 AM   #1
petercool
Member
 
Registered: May 2002
Distribution: Mandrake 10.0
Posts: 78

Rep: Reputation: 15
Exclamation c++ help (borland)


I use Borland Command Line Tools v5 (as it is free and brillant)
Language c++ only!!
I've complied this simple program (i learning c++);

#include <iostream.h>

main()

{

cout << "Hello";
return(0);

}


This is fine it works, but when i do not run it from the command line, the message appers, and within a second it disappears. Is there anycode which states how long it stays (in time) active till automatic closure?

Secondly I use a book they have complied this using MS Visual c/c++, it does this but displays a message "Press Anykey to End Development." You press any key and it closes. What is the code for this?

Thank you anyone who tells me in advance.

Thanks lackluster for helping me+ giving advice before (i've got the complier working, the readme instructions are wrong, but worked it out though). I've just changed the message.


Last edited by petercool; 07-23-2002 at 05:23 AM.
 
Old 07-14-2002, 02:23 PM   #2
lackluster
Member
 
Registered: Apr 2002
Location: D.C - USA
Distribution: slackware-current
Posts: 488

Rep: Reputation: 30
what dosen't work? what error message(s)? WTF?

Most likely problem : you didn't put the cfg files in the bin directory.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Borland C++ for Linux gagan_mishra Linux - Newbie 4 03-14-2005 02:59 PM
Compiling Borland c++ windows source on linux.. arun79 Linux - Software 3 10-15-2004 04:14 PM
Borland personal edition??? The_Nerd Programming 4 07-07-2004 12:20 PM
borland interbase???? maseby Programming 1 02-16-2004 10:58 AM
Borland C++BuilderX error. njbrain Linux - Software 0 01-29-2004 08:55 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration