Click here to Skip to main content
16,017,100 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionString Comparing Pin
brucewayn5-Feb-09 18:08
brucewayn5-Feb-09 18:08 
AnswerRe: String Comparing Pin
Cedric Moonen5-Feb-09 20:10
Cedric Moonen5-Feb-09 20:10 
GeneralRe: String Comparing Pin
brucewayn5-Feb-09 20:53
brucewayn5-Feb-09 20:53 
GeneralRe: String Comparing Pin
tasumisra5-Feb-09 21:08
tasumisra5-Feb-09 21:08 
AnswerRe: String Comparing Pin
cmk5-Feb-09 20:53
cmk5-Feb-09 20:53 
GeneralRe: String Comparing Pin
brucewayn5-Feb-09 20:59
brucewayn5-Feb-09 20:59 
GeneralRe: String Comparing Pin
cmk6-Feb-09 8:55
cmk6-Feb-09 8:55 
AnswerRe: String Comparing Pin
«_Superman_»5-Feb-09 21:12
professional«_Superman_»5-Feb-09 21:12 
If you cannot change the format and want to know the difference, then extract year and compare first.
If they are same, extract month and compare.
Continue this for day, hour, minute and second.

You can extract by tokenizing the string using the tokens /|:

Or you can simply delete the 3 charecters from the string /|:
And then assign them to ULONGLONG variables and compare the numbers.

«_Superman_»

QuestionWhy CString is Not Relasing memory in Release mode Pin
Ramasani5-Feb-09 17:55
Ramasani5-Feb-09 17:55 
AnswerRe: Why CString is Not Relasing memory in Release mode Pin
Stuart Dootson5-Feb-09 19:58
professionalStuart Dootson5-Feb-09 19:58 
AnswerRe: Why CString is Not Relasing memory in Release mode Pin
CPallini6-Feb-09 3:32
mveCPallini6-Feb-09 3:32 
AnswerRe: Why CString is Not Relasing memory in Release mode Pin
Rajesh R Subramanian6-Feb-09 4:14
professionalRajesh R Subramanian6-Feb-09 4:14 
Questionwindows services and windows 2008 Pin
vikramlinux5-Feb-09 17:51
vikramlinux5-Feb-09 17:51 
AnswerRe: windows services and windows 2008 Pin
daniel_zy5-Feb-09 21:35
daniel_zy5-Feb-09 21:35 
GeneralRe: windows services and windows 2008 Pin
vikramlinux5-Feb-09 22:16
vikramlinux5-Feb-09 22:16 
GeneralRe: windows services and windows 2008 Pin
daniel_zy5-Feb-09 23:20
daniel_zy5-Feb-09 23:20 
GeneralRe: windows services and windows 2008 Pin
vikramlinux6-Feb-09 0:11
vikramlinux6-Feb-09 0:11 
AnswerRe: windows services and windows 2008 Pin
Stuart Dootson5-Feb-09 21:38
professionalStuart Dootson5-Feb-09 21:38 
Question64 bit equivalent of flex grid control and chart control Pin
raji_ushus5-Feb-09 17:46
raji_ushus5-Feb-09 17:46 
QuestionInvalidate() [modified] Pin
gemini5jun5-Feb-09 17:32
gemini5jun5-Feb-09 17:32 
Question[Message Deleted] Pin
regnwald5-Feb-09 15:44
regnwald5-Feb-09 15:44 
AnswerRe: Calling an existing form from another existing form Pin
Cedric Moonen5-Feb-09 20:06
Cedric Moonen5-Feb-09 20:06 
GeneralRe: Calling an existing form from another existing form Pin
regnwald6-Feb-09 15:31
regnwald6-Feb-09 15:31 
QuestionOperating system location (drive letter) Pin
FloatingMarc5-Feb-09 15:00
FloatingMarc5-Feb-09 15:00 
AnswerRe: Operating system location (drive letter) Pin
PIEBALDconsult5-Feb-09 15:18
mvePIEBALDconsult5-Feb-09 15:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.