Re: Newbie C Questions
Re: Newbie C Questions
- Subject: Re: Newbie C Questions
- From: Sam Goldman <email@hidden>
- Date: Tue, 29 Jan 2002 21:08:16 -0800
On 1/29/02 8:39 PM, "Bob Savage" <email@hidden> wrote:
>
> * One of my tutorial apps compiles fine in PB, but it won't run in PB.
>
> It does run perfectly in the Terminal. Am I doing something wrong?
>
...
>
> scanf(" %f", &gr1);
>
>
It can't run in PB because PB us prints to the run window, it doesn't accept
>
input. Run things like this from a terminal window.
I am not sure about scanf(), but I have a C++ Tool and std::cin, std::cout,
printf(), and the like work very well in the "Run" tab of PB.
- Sam