Forums | MacLife
You are not logged in.
#1 2003-01-26 3:29 am
A+ (Grade X) Data Structures Source Code released
Ok, I going to post the source to the data structures for A+ so as to help any of you who want to help develop visualize what's going on. Basically there are four data structure so far:
APGradeSheet
APStudent
APAssignment
APScore
- APStudent holds the firstname, lastname, and unique ID number of each student.
- APAssignment holds the name, date, and total point worth of each assignment. Each assignment also has an array of APScores.
- APScore holds an IDNumber (for cross reference) and a point value (APPoints which is just NSNumber).
- APGradeSheet holds an array of students and assignments.
So, given a student, if you wanted his score on a particular assignment, you might do something like this:
[[myGradeSheet assignmentWithName: @"Homework 1"] scoreForStudentWithID: [myStudent IDNumber]];
That way there is no necessary need for students and grades to be in the same file, allowing for smaller file sizes if you just want to arrange a seating char or such, but also giving the flexibility to pull a students grade up from any of the four programs.
I'll try to get the source up by next Monday (that means not two days from now), as well as a bare-basics build, good enough to be called a beta.
Offline
#2 2003-01-26 4:49 am
Re: A+ (Grade X) Data Structures Source Code released
...
a bare-basics build, good enough to be called a beta.
or a half assed alpha

[MA]NoExit|X| - The good man scorns the wicked.
Offline
#3 2003-01-26 8:35 am
- Mazer Rackham
- Member
- From: St. Pete, Florida, United Stat
- Registered: 2002-05-03
- Posts: 1882
- Website
Re: A+ (Grade X) Data Structures Source Code released
I'll try to get the source up by next Monday (that means not two days from now), as well as a bare-basics build, good enough to be called a beta.
Yay. Sounds like icons 
"Early to bed, early to rise makes a man stupid and blind in the eyes." -Mazer Rackham
Offline
