executing
I'm new to studio 11 how do I get the a program to run , I create a make file builds sucessfull then lets say I say enter a number after the number is entered and press enter nothing happens is there a certain way this is done using studio 11, another thing while editing if I hit the backspace nothing happens , it will only work after I first open the app after that backspaces pressing enter doesn't work
[416 byte] By [
logeratora] at [2007-11-26 21:37:28]

# 1
> I'm new to studio 11 how do I get the a program to
> run ,
Select this program, right click (this will open a context menu),
select "Execute" (this will run the program, and you will see the
output in the "Output Window").
If you want to pass parameters, use another way:
- select this program
- in main menu: Build -> Execute...
(this will bring "Execute" dialog)
- in "execute" dialog specify "Arguments" and "Run Directory"
- press "Execute" button
> I create a make file builds successful then
> lets say I say enter a number after the number is
> entered and press enter nothing happens is there a
> certain way this is done using studio 11,
If I understand properly you created an interactive program,
and you run it from Sun Studio IDE, and you cannot really talk
to this program (input does not work). Correct?
If that's the case, the answer is: dialog is not supported.
You have to run this program from an external terminal.
But if you run it under debugger, you can talk to it using
"Process I/O" window. Use "Debug->Load Program..."
from main menu to start debugging.
> another
> thing while editing if I hit the backspace nothing
> happens , it will only work after I first open the
> app after that backspaces pressing enter doesn't work
Do you mean that editor does not work in some cases?
I don't know about such problems. If you don't mind to try
a better version of Sun Studio IDE, I would recommend you
to download Sun Studio 12 Early Access release from this page:
http://developers.sun.com/sunstudio/downloads/express.jsp
It has a better user interface, and it allows to run a program with
external terminal, so you can talk to your program.
Thanks,
Nik