win32, Visual C++6 , beginner (i mean real beginner :)
Sorry for this question but i really dont know. I am getting the time in one class and i am trying to access it in another class. But how do i do that ?
void CW1Dlg::SetData(float* newnndata, float* newppdata)
lastTime = CTime::GetCurrentTime();
now i would like to access lastTime elsewhere. For example in another class
CTimeSpan MinutesX15 = CTimeSpan(0,0,1,0);
CTimeSpan Minutesmin15 = CTimeSpan(0,0,15,0);
lastTime -= Minutesmin15;
Can you give me some tips with sharing information in a program. I know its really basic but it would help me understand.