Difference between revisions of "OOP344 - Crimson Coders - 20102"
(→Development) |
(→Development) |
||
Line 17: | Line 17: | ||
|- | |- | ||
| iofield.cpp || IOField& IOField::set(const void* data) || Enforces the children to have a set method || | | iofield.cpp || IOField& IOField::set(const void* data) || Enforces the children to have a set method || | ||
+ | |- | ||
+ | | ioform.cpp || IOForm& add(IOField* field, bool dynamic = true) || || | ||
+ | |- | ||
+ | | ioform.cpp || IOForm& add(IOField* field, bool dynamic = false) || || | ||
|} | |} | ||
Revision as of 17:28, 18 August 2010
The Crimson Coders
OOP344 | Weekly Schedule | Student List | Teams | Project | Student Resources
Contents
Development
Class/File | Function | Problem | Fixed? |
---|---|---|---|
IOTextEdit.cpp | ALL | Not sure how it's supposed to interact with the other classes | |
iofield.cpp | int IOField::edit() | Enforces the children to have an edit method | |
iofield.cpp | IOField& IOField::set(const void* data) | Enforces the children to have a set method | |
ioform.cpp | IOForm& add(IOField* field, bool dynamic = true) | ||
ioform.cpp | IOForm& add(IOField* field, bool dynamic = false) |
Members
ID | First Name | Last Name | Team Name | Section | Seneca Id | wiki id | IRC nick | Blog URL |
---|---|---|---|---|---|---|---|---|
A | Corey | Angus | The Crimson Coders | A | caangus | Corey Angus | caangus | Corey Angus |
B | Christopher | Gervasi-Missen | The Crimson Coders | A | cgervasi-missen | cgm87 | cgm87 | My Blog |
C | Kumail | Habib | The Crimson Coders | A | khabib | Khabib | kumail | My Blog |
D | Chris | Gosselin | The Crimson Coders | A | crgosselin | crgosselin | crgosselin | Chris Gosselin's Blog |
E | Sunny | Chau | The Crimson Coders | A | schau5 | Schau5 | ScsC | My Blog |
To-Do
- Set date for IRC Meeting.
- Assign work for TextEdit part of the project.
Schedule
- IRC Meeting:
-
IOF Simple Functions due June 6th @ 11:59PM
- IOF Complex Functions due June 23th @ 11:59PM
- TextEdit Project due: N/A
Team Member Availability
Add your ID in the fields below on what times your available for IRC meetings
- | SUN |
MON |
TUE |
WED |
THU |
FRI |
SAT |
---|---|---|---|---|---|---|---|
09:00 | BC | E | - | - | - | - | BC |
10:00 | BC | E | - | - | - | - | BC |
11:00 | BC | E | - | - | - | - | BC |
12:00 | C | E | - | - | - | - | C |
13:00 | C | E | - | - | - | B | C |
14:00 | - | E | ABC | E | - | B | - |
15:00 | E | AE | B | AE | - | B | - |
16:00 | BE | AE | B | E | - | B | B |
17:00 | BE | AE | C | E | E | - | B |
18:00 | BCE | ACE | CE | C | CE | - | C |
19:00 | BCE | ACE | CE | AC | CE | - | - |
20:00 | BCE | ABCE | ABCE | ABC | ACE | - | - |
21:00 | BCE | ABCE | ABCE | ABC | ACE | - | - |
22:00 | BCE | ABCE | ABCE | ABC | ACE | - | - |
23:00 | BCE | ABCE | ABCE | ABCE | ACE | E | E |
Basic Input Output Function Set: Member Assignment
Simple Functions
- Corey Angus (ID: A)
-
void iof_init(void) -
void iof_end(void)
-
- Christopher Gervasi-Missen (ID: B)
-
int iof_getch(void) -
void iof_movecur(int r, int c)
-
- Kumail Habib (ID: C)
-
int iof_rows(void)COMMITED June 6th, 2010 -
int iof_cols(void)COMMITED June 6th, 2010
-
- Chris Gosselin (ID: D)
-
void iof_clrscr(void) -
void iof_flush(void)
-
- Sunny Chau (ID: E)
-
void iof_putch(int c)COMMITED June 6th, 2010 3PM -
void iof_prnstr(const char *s)COMMITED June 6th, 2010 3PM
-
Complex Functions
- Corey Angus (ID: A)
-
int iof_edit(....)
-
- Christopher Gervasi-Missen (ID: B)
-
void iof_displayflag(const char *format, int row, int col, int status)
-
- Kumail Habib (ID: C)
-
int iof_flag(..........)
-
- Chris Gosselin (ID: D)
-
void iof_displayMenuItem(..........)
-
- Sunny Chau (ID: E)
-
int iof_menuItem(....)COMMITED June 13th, 2010 9PM
-
TextEdit: Member Assignment
- Corey Angus (ID: A)
- IOField class
- Christopher Gervasi-Missen (ID: B)
-
IOFrame ClassDONE
-
- Kumail Habib (ID: C)
-
IOLabel class
-
- Chris Gosselin (ID: D)
- IOEdit class
- Sunny Chau (ID: E)
- IOForm class
Makefile
Create a file called makefile and copy the following code into it.
# Simple Makefile for GNU Make
# Date Written: March 25, 2010
# Date Updated: N/A
# C++ compiler flags(eg. -g = Enable Debugger)
CXXFLAGS = -g
# Enter C++ soucre file names but with *.o as file extension
# (eg. SourceFile.cpp = SourceFile.o)
OBJS = SourceFile.o
# Specfiy any library that are used in the program but not defind
# in $PATH
LIBS = /lib/libncurses.so.5
# Specfiy output filename of the program
TARGET = output_file
# DO NOT CHANGE ANYTHING BELOW HERE #
$(TARGET): $(OBJS)
$(CXX) -o $(TARGET) $(OBJS) $(LIBS)
all: $(TARGET)
clean:
rm $(OBJS) $(TARGET)
To compile type make on the command line where the makefile and *.cpp source files are. To clean the project and remove all the object files and program file type make clean. Note it's not necessary to type make clean and make every time you change code in the source file. Just type make and GNU Make will compare the source files with the object files and only compile and link the files that have been edited.