[comp.lang.c] Telling TC++ to save files

defaria@hpcupt3.cup.hp.com (Andy DeFaria) (04/10/91)

Does anybody know how to set the appropriate option such that all files are
saved prior to  running a Turbo  C++  program  from within the IDE.   I  am
developing  some   code that,  needless to  say,  has  some  bugs.  I'll be
debuging  it when   WHAM!, everything locks up and   my only solution is to
reboot the machine.  This causes my changes to be lost.  What  I would like
is for TC to save all files *before* running the  program.  I'm pretty sure
that I had configured Turbo Pascal to do  this but I don't see  the setting
for Turbo C++.  Is there one?

bangell%hellgate.utah.edu@cs.utah.edu (Bob Angell) (04/11/91)

In article <45690003@hpcupt3.cup.hp.com>, defaria@hpcupt3.cup.hp.com (Andy DeFaria) writes:
> Does anybody know how to set the appropriate option such that all files are
> saved prior to  running a Turbo  C++  program  from within the IDE.   I  am
> developing  some   code that,  needless to  say,  has  some  bugs.  I'll be
> debuging  it when   WHAM!, everything locks up and   my only solution is to
> reboot the machine.  This causes my changes to be lost.  What  I would like
> is for TC to save all files *before* running the  program.  I'm pretty sure
> that I had configured Turbo Pascal to do  this but I don't see  the setting
> for Turbo C++.  Is there one?

Just use the save option before you execute the compile/run commands.

(also appologies for the "run-away" post!)

-Bob-

gordon@osiris.cso.uiuc.edu (John Gordon) (04/12/91)

	You can set TC++ to automatically save files before executing a
program by accessing the Options/Environment/Preferences menu, and
checking the box by "Editor Files" in the Auto Save area.


---
John Gordon
Internet: gordon@osiris.cso.uiuc.edu        #include <disclaimer.h>
          gordon@cerl.cecer.army.mil       #include <clever_saying.h>

morgan@csc32.dec.com (Mike Morgan in Colorado Springs) (04/12/91)

In article <45690003@hpcupt3.cup.hp.com>, defaria@hpcupt3.cup.hp.com (Andy DeFaria) writes...
|Does anybody know how to set the appropriate option such that all files are
|saved prior to  running a Turbo  C++  program  from within the IDE.   

    Use the F2 key alot.

 * No sig. needed. You know why.

defaria@hpcupt3.cup.hp.com (Andy DeFaria) (04/15/91)

>/ hpcupt3:comp.lang.c / gordon@osiris.cso.uiuc.edu (John Gordon) / 10:00 am  Apr 11, 1991 /
>
>	You can set TC++ to automatically save files before executing a
>program by accessing the Options/Environment/Preferences menu, and
>checking the box by "Editor Files" in the Auto Save area.

Thanks!  I don't know how I missed that one!  I must have been looking under
Options/Environment/Editor or something!