Need help in creating an object in c++
Posted: Thu Mar 22, 2007 4:58 pm
Does anyone know how i could create the following and pass it in to a method to do some analysis [ need to write it in c++ ]
where by it initailises 4 differnt structures
Any ideas how i could go about this ?
at start up time the init object is initilised by passing in the appropriate values to each structure below.
The following structures will have the following types
structure 1 - startDateTime : unix timestamp.
endDateTime : unix timestamp
structure 2 - startDate : unix timestamp.
endDate : unix timestamp.
bandStartTime : offset from 00:00:00 in seconds.
bandEndTime : offset from 00:00:00 in seconds.
structure 3 - startDay : a string (Mon, Tue, Wed, etc).
endDay : a string (Mon, Tue, Wed, etc).
startTime : offset from 00:00:00 in seconds.
endTime : offset from 00:00:00 in seconds.
structure 4 - startDay : a string (Mon, Tue, Wed, etc).
endDay : a string (Mon, Tue, Wed, etc).
startTime : offset from 00:00:00 in seconds.
endTime : offset from 00:00:00 in seconds.
where by it initailises 4 differnt structures
Any ideas how i could go about this ?
at start up time the init object is initilised by passing in the appropriate values to each structure below.
The following structures will have the following types
structure 1 - startDateTime : unix timestamp.
endDateTime : unix timestamp
structure 2 - startDate : unix timestamp.
endDate : unix timestamp.
bandStartTime : offset from 00:00:00 in seconds.
bandEndTime : offset from 00:00:00 in seconds.
structure 3 - startDay : a string (Mon, Tue, Wed, etc).
endDay : a string (Mon, Tue, Wed, etc).
startTime : offset from 00:00:00 in seconds.
endTime : offset from 00:00:00 in seconds.
structure 4 - startDay : a string (Mon, Tue, Wed, etc).
endDay : a string (Mon, Tue, Wed, etc).
startTime : offset from 00:00:00 in seconds.
endTime : offset from 00:00:00 in seconds.