Difference between revisions of "Project 20112 - OOP344"

From CDOT Wiki
Jump to: navigation, search
(currently available resources for Borland (optional))
(Mac (optional) (oops that error >:(0))
 
(2 intermediate revisions by the same user not shown)
Line 46: Line 46:
 
When ready to compile on MAC OS station:
 
When ready to compile on MAC OS station:
  
CSMacPro-station_number:folder_containing_iol learnid$ cc iolmain.c iolc -lcurses
+
CSMacPro-station_number:folder_containing_iol learnid$ cc iolmain.c iol.c -lcurses
  
 
CSMacPro-station_number:folder_containing_iol learnid$ ./a.out
 
CSMacPro-station_number:folder_containing_iol learnid$ ./a.out
Line 72: Line 72:
 
[https://cs.senecac.on.ca/~chris.szalwinski/resources/borland.html OOP244 Borland resource]
 
[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:
+
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]
 
[http://apurvaslair.50g.com/cpp/compilers/borland.html Compiling illustrations]
Line 79: Line 79:
  
 
D:\Where\you\keep\iol>bcc32 iolmain.c iol.c
 
D:\Where\you\keep\iol>bcc32 iolmain.c iol.c
 +
 +
D:\Where\you\keep\iol>iolmain.exe

Latest revision as of 16:16, 18 August 2011


OOP344 | Weekly Schedule | Student List | Teams | Project | Student Resources


The Project

Basic Input/Output Functions

  • C-based multi-platform IO functions: (Majority of the code is provided by the prof).
  • The Project is initiated on individual SVN accounts for each team.


The Core Classes

  • This part is written in C++ and encapsulates the basic input/output (BIO) routines into classes and also uses the Basic Encapsulating Classes to create User Interface Core Classes for text based applications

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

  1. #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

  1. #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

  1. #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

  1. #define IOL_PLT BC_WIN

A first time resource for the Borland compiler:

OOP244 Borland resource

Another Resource to get going, that shows how to use the borland compiler at the command line:

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