Difference between revisions of "OOP344 - Crimson Coders - 20102"

From CDOT Wiki
Jump to: navigation, search
(Simple Functions: added which simple functions I'm doing)
(Development)
 
(58 intermediate revisions by 5 users not shown)
Line 4: Line 4:
  
  
 +
 +
 +
==Development==
 +
 +
{| class="wikitable" border="1"
 +
|+ Bugs/Problems/Unfinished Functions
 +
! 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 || DONE
 +
|-
 +
| iofield.cpp || IOField& IOField::set(const void* data) || Enforces the children to have a set method || DONE
 +
|-
 +
| ioform.cpp || IOForm& add(IOField* field, bool dynamic = true) ||  || DONE
 +
|-
 +
| ioform.cpp || IOForm& add(IOField* field, bool dynamic = false) ||  || DONE
 +
|-
 +
| iovedit.cpp || ALL ||  || DONE
 +
|-
 +
| main.cpp || ALL ||  ||
 +
 +
|}
  
 
==Members==
 
==Members==
Line 10: Line 33:
 
! ID !! First Name !! Last Name !! Team Name !! Section !! Seneca Id !! wiki id !!  IRC nick !! Blog URL  
 
! ID !! First Name !! Last Name !! Team Name !! Section !! Seneca Id !! wiki id !!  IRC nick !! Blog URL  
 
|-
 
|-
| A || [[User:Corey Angus | Corey]] || Angus || [[OOP344 - Crimson Coders - 20102 |The Crimson Coders]] || A || [mailto:caangus@learn.senecac.on.ca caangus] || [[Special:Contributions/Corey_Angus | Corey Angus]] || caangus || [http://coreyangus.blogspot.com/ Corey Angus]  
+
| A || [[User:Corey Angus | Corey]] || Angus || [[OOP344 - Crimson Coders - 20102 |The Crimson Coders]] || A || [mailto:caangus@learn.senecac.on.ca caangus] || [[Special:Contributions/Corey_Angus | Corey Angus]] || caangus|| [http://coreyangus.blogspot.com/ Corey Angus]  
 
|-
 
|-
 
| B || [[User:cgm87 | Christopher]] ||Gervasi-Missen || [[OOP344 - Crimson Coders - 20102 |The Crimson Coders]] || A||[mailto:cgervasi-missen@learn.senecac.on.ca cgervasi-missen] || [[Special:Contributions/cgm87 | cgm87]] || cgm87|| [http://cgm087.blogspot.com/ My Blog]
 
| B || [[User:cgm87 | Christopher]] ||Gervasi-Missen || [[OOP344 - Crimson Coders - 20102 |The Crimson Coders]] || A||[mailto:cgervasi-missen@learn.senecac.on.ca cgervasi-missen] || [[Special:Contributions/cgm87 | cgm87]] || cgm87|| [http://cgm087.blogspot.com/ My Blog]
 
|-
 
|-
  
| C || [[User:Khabib | Kumail]] || Habib || [[OOP344 - Crimson Coders - 20102 |The Crimson Coders]] || A ||[mailto:khabib@learn.senecac.on.ca khabib] || [[Special:Contributions/Khabib | Khabib]] || kumail ||[http://kumailhabib.blogspot.com/ My Blog]  
+
| C || [[User:Khabib | Kumail]] || Habib || [[OOP344 - Crimson Coders - 20102 |The Crimson Coders]] || A ||[mailto:khabib@learn.senecac.on.ca khabib] || [[Special:Contributions/Khabib | Khabib]] || kumail||[http://kumailhabib.blogspot.com/ My Blog]  
 
|-
 
|-
 
| D || [[User:crgosselin| Chris]] ||Gosselin || [[OOP344 - Crimson Coders - 20102 |The Crimson Coders]] || A||[mailto:crgosselin@learn.senecac.on.ca crgosselin ] || [[Special:Contributions/crgosselin | crgosselin]] || crgosselin|| [http://crgosselin.blogspot.com/ Chris Gosselin's Blog]
 
| D || [[User:crgosselin| Chris]] ||Gosselin || [[OOP344 - Crimson Coders - 20102 |The Crimson Coders]] || A||[mailto:crgosselin@learn.senecac.on.ca crgosselin ] || [[Special:Contributions/crgosselin | crgosselin]] || crgosselin|| [http://crgosselin.blogspot.com/ Chris Gosselin's Blog]
 
|-
 
|-
| E || [[User:Schau5| Sunny]] || Chau || [[OOP344 - Crimson Coders - 20102 |The Crimson Coders]]|| A || [mailto:schau5@learn.senecac.on.ca schau5] || [[Special:Contributions/Schau5| Schau5]] || ScsC || [http://s2000c.blogspot.com/ My Blog]
+
| E || [[User:Schau5| Sunny]] || Chau || [[OOP344 - Crimson Coders - 20102 |The Crimson Coders]]|| A || [mailto:schau5@learn.senecac.on.ca schau5] || [[Special:Contributions/Schau5| Schau5]] || ScsC|| [http://s2000c.blogspot.com/ My Blog]
 
|-
 
|-
 
|}
 
|}
  
==TO-DO==
+
==To-Do==
  
* Set date for IRC Meeting.
+
* Set date for IRC Meeting.  
* Assign group members to write two functions for IOF Simple Functions at first IRC meeting.
+
* Assign work for TextEdit part of the project.
  
 
==Schedule==
 
==Schedule==
  
* IRC Meeting: June 1st @ 4:00PM EST (Tentative)
+
* IRC Meeting:
 +
*  <s>[[Oop344_20102_-_iof_functions#Simple_Functions | IOF Simple Functions]] due June 6th @ 11:59PM</s>
 +
 
 +
* [[Oop344_20102_-_iof_functions#Complex_Functions | IOF Complex Functions]] due June 23th @ 11:59PM
 +
 
 +
* [[OOP344_20102_TextEdit | TextEdit Project]] due: N/A
 +
 
 +
===Team Member Availability===
 +
 
 +
'''<div style="color:red; text-align:center">Add your ID in the fields below on what times your available for IRC meetings</div>'''
  
* [[Oop344_20102_-_iof_functions#Simple_Functions | IOF Simple Functions]] due June 6th @ 11:59PM
 
  
* [[Oop344_20102_-_iof_functions#Complex_Functions | IOF Complex Functions]] due June 13th @ 11:59PM
+
{| border="1" cellpadding="5"
 +
 
 +
! - !! SUN<br /> !! MON<br /> !! TUE<br /> !! WED<br /> !! THU<br /> !! FRI<br /> !! SAT<br />
 +
|-
 +
| 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==
 
==Basic Input Output Function Set: Member Assignment==
Line 42: Line 107:
  
 
* Corey Angus (ID: A)
 
* Corey Angus (ID: A)
** void iof_init(void)
+
** <s>void iof_init(void)</s>
** void iof_end(void)
+
** <s>void iof_end(void)</s>
  
 
* Christopher Gervasi-Missen (ID: B)
 
* Christopher Gervasi-Missen (ID: B)
** N/A
+
** <s>int iof_getch(void)</s>
** N/A
+
** <s>void iof_movecur(int r, int c)</s>
  
 
* Kumail Habib (ID: C)
 
* Kumail Habib (ID: C)
** N/A
+
** <strike>int iof_rows(void)</strike> <b>COMMITED</b> June 6th, 2010
** N/A
+
** <strike>int iof_cols(void)</strike> <b>COMMITED</b> June 6th, 2010
  
 
* Chris Gosselin (ID: D)
 
* Chris Gosselin (ID: D)
** N/A
+
** <s>void iof_clrscr(void)</s>
** N/A
+
** <s>void iof_flush(void)</s>
  
 
* Sunny Chau (ID: E)
 
* Sunny Chau (ID: E)
** N/A
+
** <strike>void iof_putch(int c)</strike> <b>COMMITED</b> June 6th, 2010 3PM
** N/A
+
** <strike>void iof_prnstr(const char *s)</strike> '''COMMITED''' June 6th, 2010 3PM
  
 
===Complex Functions===
 
===Complex Functions===
  
* TBA
+
* Corey Angus (ID: A)
 +
** <s>int iof_edit(....)</s>
 +
 
 +
* Christopher Gervasi-Missen (ID: B)
 +
** <s>void iof_displayflag(const char *format, int row, int col, int status)</s>
 +
 
 +
* Kumail Habib (ID: C)
 +
** <s>int iof_flag(..........)</s>
 +
 
 +
* Chris Gosselin (ID: D)
 +
** <s>void iof_displayMenuItem(..........)</s>
 +
 
 +
* Sunny Chau (ID: E)
 +
** <strike>int iof_menuItem(....)</strike> '''COMMITED''' June 13th, 2010 9PM
 +
 
 +
==TextEdit: Member Assignment==
 +
 
 +
* Corey Angus (ID: A)
 +
** IOField class
 +
 
 +
* Christopher Gervasi-Missen (ID: B)
 +
** <s>IOFrame Class</s> '''DONE'''
 +
 
 +
* Kumail Habib (ID: C)
 +
** <s>IOLabel class</s>
 +
 
 +
* 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.
 +
 
 +
<big><syntaxhighlight lang="make">
 +
# 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)
  
 +
</syntaxhighlight></big>
  
 +
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. 
 
[[Category:OOP344]]
 
[[Category:OOP344]]

Latest revision as of 18:07, 20 August 2010

The Crimson Coders


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



Development

Bugs/Problems/Unfinished Functions
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 DONE
iofield.cpp IOField& IOField::set(const void* data) Enforces the children to have a set method DONE
ioform.cpp IOForm& add(IOField* field, bool dynamic = true) DONE
ioform.cpp IOForm& add(IOField* field, bool dynamic = false) DONE
iovedit.cpp ALL DONE
main.cpp ALL

Members

OOP344 - 2010 The Crimson Coders
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

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 Class DONE
  • 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.