Thread: Help Learning
View Single Post
Old 29 April 2020, 22:37   #6
alkis
Registered User
 
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 719
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.
alkis is offline  
 
Page generated in 0.04348 seconds with 11 queries