Index: [thread] [date] [subject] [author]
  From: Michael Abernethy <mna@duke.edu>
  To  : 
  Date: Sun, 7 Feb 1999 14:57:13 -0500

basic map questions

 For this program, we've decided to implement a map of ints and then an 
array of activities.  The setup is like the following

 map<int, Activities[]> days

 where the Activities class has 2 functions in it, setActivity() and 
getActivity()

 To index this map, is the proper syntax  

		string activity = days[0][0].getActivity()   &
                days[0][0].setActivity("free");

????

Thanks alot,

Mike



Index: [thread] [date] [subject] [author]