[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
Creating a Project with SIOUX

To use the SIOUX library, create a project from a project stationery pads that creates an Console style project.
NOTE
In this chapter, standard input and standard output refer to stdin, stdout, cin, and cout. Standard error reporting such as stderr, clog and cerr is not redirected to a file using ccommand().
If you want only to write to or read from standard input and output, you don't need to call any special functions or include any special header files. When your program refers to standard input or output, the SIOUX library kicks in automatically and creates a SIOUX window for it.
NOTE
Remember that functions like printf() and scanf() use standard input and output even though these symbols do not appear in their parameter lists.
If you want to customize the SIOUX environment, you must #include SIOUX.h and modify SIOUXSettings before you use standard input or output. As soon as you use one of them, SIOUX creates a window and you cannot modify it. For more information, see "Customizing SIOUX."
If you want to use a SIOUX window in a program that has its own event loop, you must modify SIOUXSettings and call the function SIOUXHandleOneEvent(). For more information, see "Using SIOUX windows in your own application."
If you want to add SIOUX to a project you already created, the project must contain certain libraries.
A 68K project must contain at least these libraries:
A PPC project must contain at least these libraries:
MSL SIOUX.PPC.Lib
InterfaceLib
MSL RuntimePPC.lib
MathLib
MSL C.PPC.Lib
[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.
Last updated: August 16, 2000