- Timestamp:
- May 13, 2025, 1:17:50 PM (5 months ago)
- Branches:
- master
- Children:
- 0528d79
- Parents:
- 7d02d35 (diff), 2410424 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/mike_brooks_MMath/programs/hello-accordion.cfa
r7d02d35 rbd72f517 31 31 int getPref( @School( C, S ) & school@, int is, int pref ) { 32 32 for ( ic; C ) { 33 int curPref = @school.preferences@[ic][is]; $\C{// offset calculation implicit}$ 34 if ( curPref == pref ) return ic; 33 if ( pref == @school.preferences@[ic][is]; ) return ic; $\C{// offset calculation implicit}$ 35 34 } 36 35 assert( false ); 37 36 } 37 38 38 39 39 … … 91 91 sout | school.student_ids[is] | ": " | nonl; 92 92 for ( pref; 1 ~= nc ) { 93 int ic = getPref( school, is, pref);93 int ic = getPref( school, is, pref ); 94 94 sout | school.course_codes[ ic ] | nonl; 95 95 }
Note:
See TracChangeset
for help on using the changeset viewer.