Difference between revisions of "Project 20112 - OOP344"

From CDOT Wiki
Jump to: navigation, search
(Mac (optional) (oops that error >:(0))
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{OOP344 Index | 20112}}
 
{{OOP344 Index | 20112}}
Under construction
+
 
=Using SVN to do the project=
+
 
 +
= The Project =
 +
 
 +
 
 +
==[[IOL Functions oop344 20112|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.
 +
 
 +
 
 +
==[[Console UI Core Classes - OOP344 20112|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
 +
<!--
 +
==The Application==
 +
 
 +
* The Application
 +
*: This part is written in C++ and uses the Framework to interact with the user.
 +
 
 +
-->
 +
==Hints==
 +
===Using SVN to do the project===
 
[[Using SVN for OOP344 Project - 20112]]
 
[[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

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