Hello Niklas,

Thank you for the tip, it worked just as you said it would... 

I wasn't being very clever when I asked this question! :-)

Cheers,

Manuel

> >   (...)
> >   ggiPutPixel(vis,0,0,white);
> >   ggiClose(vis);
> >   ggiExit();
> >   
> >   getchar();
> > 
> >   return 0;
> > }      
> 
> Here, when you run ggiClose(vis), the image produced on the screen by the program
> is removed and the text display is returned. I'm pretty sure it will work as you
> want it if you put the getchar() call before ggiClose(vis). (It may be advisable
> to use ggiGetc(), though, as that will work on all targets.)
> 
> -- 
>                                            Niklas
> 
> 

Reply via email to