I know how to get the current date and time in mfc.but I want to sort the array with the help of date and time datatype.
How can I do this?
Regards,
karthik
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
CTime has a “<” operator, so you can use std::sort()
If you have an object containing CTimes, you can create your own “<” operator.
or better