kevin@loki.une.oz.au (Kevin Pollard) (05/05/91)
I've been looking {at Lattice C++ on an Amiga.
I've got the trusty
main()
{
printf("\nHello world\n");
}
working OK.
But how would I clear the screen first? In MS-DOS/TurboC the
clrscr()
function would do it. Is there any such thing in Amiga/Lattice C++ ?
--
Kevin Pollard Internet: kevin@loki.une.oz.au
University of NewEngland
Northern Rivers Phone: +61 (066) 203694
Lismore NSW Australia "My brain hurts"kevin@loki.une.oz.au (Kevin Pollard) (05/06/91)
I am trying to help someone with an Amiga and Lattice C++. My background is Turbo C on MS-DOS machines. Initially, I don't want to have to master C++ just to help him, so I want to stick to standard C. Can I access graphics in standard C using Lattice C++? If so, what's the smallest program (this isn't a challenge) that will set graphics mode and draw a line on the graphics screen, then wait for a keystroke, then exit. Any help appreciated - I don't know Amigas very well (probably obviously). -- Kevin Pollard Internet: kevin@loki.une.oz.au University of NewEngland Northern Rivers Phone: +61 (066) 203694 Lismore NSW Australia "My brain hurts"