I need to use CTimespan to depict the difference between two CTime objects, and use this to calculate an age. Is there a more accurate way of giving a persons age other than dividing the CTimespan object age by 365 (not taking into account leap years)to get the total years? - Only using a...
Is there anyone who has a chunk of code that uses the CTime class? I need to use it to create an instance with a date of birth and another with the days time and date, I am new to classes and can't get my head round them- an asplanation on how they work would be most gratefull.
Can anyone help me with a query? I need to use the passing by reference mechanism of c++ to pass back the results of a function. I am new to C++ and am having diffuculty achieving this. Does anyone have a snippit of code and a brief explanation on how it works?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.