Changes

Jump to: navigation, search

Project 20112 - OOP344

1,342 bytes added, 17:16, 18 August 2011
Mac (optional) (oops that error >:(0)
{{OOP344 Index | 20112}}
=Using SVN to do the project=
[[Using SVN for OOP344 Project - 20112]]
= The Project =
-->
==Hints==
===Using SVN to do the project===
[[Using SVN for OOP344 Project - 20112]]
 
=== Compiling the project in differnt platforms ===
==== Linux ====
 
In iol.h define platform as such
 
# #define IOL_PLT CC_LNX
 
When ready to compile do in matrix(or other Linux OS):
 
learnid@matrix:~> cc iol.c iolmain.c -lncurses
 
learnid@matrix:~> a.out
 
==== Mac (optional)====
 
In iol.h define platform as such
 
# #define IOL_PLT C_MAC
 
When ready to compile on MAC OS station:
 
CSMacPro-station_number:folder_containing_iol learnid$ cc iolmain.c iol.c -lcurses
 
CSMacPro-station_number:folder_containing_iol learnid$ ./a.out
 
==== Visual C ====
 
In iol.h define platform as such
 
# #define IOL_PLT VC_WIN
 
When ready to compile with VisualStudio 2010 (Available @ ACS Seneca):
 
D:\Where\you\keep\iol>cl iolmain.c iol.c
 
D:\Where\you\keep\iol>iolmain.exe
 
==== Borland (optional)====
 
In iol.h define platform as such
 
# #define IOL_PLT BC_WIN
 
A first time resource for the Borland compiler:
 
[https://cs.senecac.on.ca/~chris.szalwinski/resources/borland.html OOP244 Borland resource]
 
Another Resource to get going, that shows how to use the borland compiler at the command line:
 
[http://apurvaslair.50g.com/cpp/compilers/borland.html Compiling illustrations]
 
When ready to compile with Borland (Available @ OOP244 Borland resource):
 
D:\Where\you\keep\iol>bcc32 iolmain.c iol.c
 
D:\Where\you\keep\iol>iolmain.exe
1
edit

Navigation menu