Re: Canvas is not shown.

From: Radovan Chytracek (Radovan.Chytracek@cern.ch)
Date: Tue Mar 03 1998 - 18:52:40 MET


On Tue, 3 Mar 1998, Jayoung Wu wrote:

> 
> Hi,
> I tried to draw 1d histogram on canvas but canvas is not shown.
> Is there something I missed in the following codes?
> 
> These are part of my codes:
> =======================================================      
>       printf("Do you want to see tracking plot?(y/n)\n");
>       scanf("%s",&ans);
>       if (ans=='y') {
What about:

int ans;
printf("Do you want to see tracking plot?(y/n): ");
ans = getchar();
...

Good Luck

	Radovan



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:30 MET