exit was misused, doesn't make any sense to use it inside the main() function. You probably saw the warning which you can solve with #include <stdlib.h>
CloseLibrary gives another warning and that can be solved with casting, like:
CloseLibrary((struct Library *) IntuitionBase);
Take note that the above are both _warnings_. Not errors.
|