This tutorial application shows how to write a console application. The associated tutorial is available in the tutorials section.
This sample requires OS X 10.4 or higher.