previous | top

The Main Function


When ProjectBuilder creates a new Carbon project, it provides a main.c file and a main.nib file. The main.c file compiles into a working main program and the main.nib file contains default menu bar and window definitions. The skeleton created for you by ProgramBuilder is a complete application, but it's up to you to add interaction and additional interface elements.

Copyright 2002 Dziga Vertov, All RIghts Reserved.


Programming with Carbon