 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Heather Guest
|
Posted: Thu Apr 01, 2004 6:19 pm Post subject: Help starting non-visual C++ |
|
|
If anyone knows how to "bypass" the forms and other visual programming tools to just write a basic C++ program with the C++ builder, I'd be eternally grateful. (I'm a highschool teacher used to a 1998 Microsoft C++ compiler.)
Thanks,
Heather
|
|
| Back to top |
|
 |
Yu-Chen Hsueh Guest
|
Posted: Thu Apr 01, 2004 6:26 pm Post subject: Re: Help starting non-visual C++ |
|
|
Heather,
You can do File | New | Other... | Console Wizard.
-- YH --
|
|
| Back to top |
|
 |
john blackburn Guest
|
Posted: Fri Apr 02, 2004 7:42 pm Post subject: Re: Help starting non-visual C++ |
|
|
Yu-Chen Hsueh wrote:
| Quote: | Heather,
You can do File | New | Other... | Console Wizard.
-- YH --
|
As Yu-Chen has said above, you can use console wizard. However, be sure to
disable GUI by unchecking the box when doing so.
Also, (not in the help file) to feed command line parameters to your program
(via argc and argv) whilst debugging; use Run | Run Parameters. You can
then just type in your passed parameters just as if you had entered them
from the command line: it will even remember the parameters string in
between C++ Builder sessions. All you do then is Run | Run (or type F9) in
the usual way.
John
|
|
| Back to top |
|
 |
Heather Guest
|
Posted: Mon Apr 05, 2004 9:22 pm Post subject: Re: Help starting non-visual C++ |
|
|
Thanks John and Yu-Chen,
I tried using the console wizard and I entered a small program
(just a cout << "Will this work?"; statement), and it gave me
a bcb.exe error and shut down, saying it could not create the
output file. Any ideas? I tried changing the output
directories to be ones that could be written on by students.
Still got the same problem. Argh!
Thanks again.
Heather
john blackburn
| Quote: | Yu-Chen Hsueh wrote:
Heather,
You can do File | New | Other... | Console Wizard.
-- YH --
As Yu-Chen has said above, you can use console wizard. However, be sure to
disable GUI by unchecking the box when doing so.
Also, (not in the help file) to feed command line parameters to your program
(via argc and argv) whilst debugging; use Run | Run Parameters. You can
then just type in your passed parameters just as if you had entered them
from the command line: it will even remember the parameters string in
between C++ Builder sessions. All you do then is Run | Run (or type F9) in
the usual way.
John
|
|
|
| Back to top |
|
 |
Craig Farrell Guest
|
Posted: Mon Apr 05, 2004 10:47 pm Post subject: Re: Help starting non-visual C++ |
|
|
Hi,
| Quote: | a bcb.exe error and shut down, saying it could not create the
output file. Any ideas? I tried changing the output
directories to be ones that could be written on by students.
|
Is this some kind of network install? The BCB IDE writes to
more directories than just the program output directory.
For example, pre-compiled headers are generated in ..Lib.
Things will go much smoother if each computer has a local
install.
--Craig
|
|
| Back to top |
|
 |
Heather Guest
|
Posted: Tue Apr 13, 2004 8:42 pm Post subject: Re: Help starting non-visual C++ |
|
|
Thanks, Craig, for responding.
The cppbuilder is just installed on one of the network
computers, but there is a program called "Deep Freeze" that
stops students from downloading new programs onto the computers.
I'm wondering if that has something to do with the error.
Heather
Craig Farrell <cNO_SPAM.please.farrell (AT) insprise (DOT) com> wrote:
| Quote: |
Hi,
a bcb.exe error and shut down, saying it could not create the
output file. Any ideas? I tried changing the output
directories to be ones that could be written on by students.
Is this some kind of network install? The BCB IDE writes to
more directories than just the program output directory.
For example, pre-compiled headers are generated in ..Lib.
Things will go much smoother if each computer has a local
install.
--Craig
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|