Click here to Skip to main content
15,884,298 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to solve this error information: "_WIN32_WINNT settings conflicts with _WIN32_IE setting" ?? Pin
asokan12327-Jun-11 18:34
asokan12327-Jun-11 18:34 
QuestionHow to find difference between two dates Pin
raju_shiva11-Jul-10 23:24
raju_shiva11-Jul-10 23:24 
AnswerRe: How to find difference between two dates Pin
Cedric Moonen11-Jul-10 23:31
Cedric Moonen11-Jul-10 23:31 
GeneralRe: How to find difference between two dates Pin
raju_shiva11-Jul-10 23:46
raju_shiva11-Jul-10 23:46 
GeneralRe: How to find difference between two dates Pin
Cedric Moonen11-Jul-10 23:49
Cedric Moonen11-Jul-10 23:49 
AnswerRe: How to find difference between two dates Pin
Niklas L11-Jul-10 23:31
Niklas L11-Jul-10 23:31 
AnswerRe: How to find difference between two dates Pin
Aescleal11-Jul-10 23:48
Aescleal11-Jul-10 23:48 
GeneralRe: How to find difference between two dates Pin
Le@rner12-Jul-10 2:25
Le@rner12-Jul-10 2:25 
chk it

//your previoue date(11-07-2010)
COleDateTime prev_date;

	CTime curr_time = CTime::GetCurrentTime();
	CString curr_date_str;
	curr_date_str=curr_time.Format(_T("%d-%m-%Y"));
	COleDateTime curr_date;//this is a current date
	curr_date.ParseDateTime(curr_date_str,0,LANG_USER_DEFAULT);	

	COleDateTimeSpan diff=(curr_date-prev_date);

//use diff to find diffrence or date

GeneralRe: How to find difference between two dates Pin
raju_shiva12-Jul-10 19:01
raju_shiva12-Jul-10 19:01 
GeneralRe: How to find difference between two dates Pin
Le@rner12-Jul-10 19:44
Le@rner12-Jul-10 19:44 
Questionadd the specified number of days to current date Pin
zon_cpp11-Jul-10 22:34
zon_cpp11-Jul-10 22:34 
QuestionRe: add the specified number of days to current date PinPopular
CPallini11-Jul-10 22:55
mveCPallini11-Jul-10 22:55 
AnswerRe: add the specified number of days to current date Pin
zon_cpp11-Jul-10 23:34
zon_cpp11-Jul-10 23:34 
AnswerRe: add the specified number of days to current date Pin
rahul.kulshreshtha22-Jul-11 19:17
rahul.kulshreshtha22-Jul-11 19:17 
Questioni am makeing bacarrat in c language.... it's really hard could anyone plz help? Pin
kcta559711-Jul-10 18:28
kcta559711-Jul-10 18:28 
AnswerRe: i am makeing bacarrat in c language.... it's really hard could anyone plz help? Pin
Iain Clarke, Warrior Programmer11-Jul-10 22:53
Iain Clarke, Warrior Programmer11-Jul-10 22:53 
GeneralRe: i am makeing bacarrat in c language.... it's really hard could anyone plz help? Pin
Niklas L11-Jul-10 23:03
Niklas L11-Jul-10 23:03 
GeneralRe: i am makeing bacarrat in c language.... it's really hard could anyone plz help? Pin
CPallini11-Jul-10 23:06
mveCPallini11-Jul-10 23:06 
GeneralRe: i am makeing bacarrat in c language.... it's really hard could anyone plz help? Pin
Niklas L11-Jul-10 23:09
Niklas L11-Jul-10 23:09 
GeneralRe: i am makeing bacarrat in c language.... it's really hard could anyone plz help? Pin
Iain Clarke, Warrior Programmer11-Jul-10 23:15
Iain Clarke, Warrior Programmer11-Jul-10 23:15 
GeneralRe: i am makeing bacarrat in c language.... it's really hard could anyone plz help? Pin
CPallini11-Jul-10 23:04
mveCPallini11-Jul-10 23:04 
JokeRe: i am makeing bacarrat in c language.... it's really hard could anyone plz help? Pin
Iain Clarke, Warrior Programmer11-Jul-10 23:16
Iain Clarke, Warrior Programmer11-Jul-10 23:16 
GeneralRe: i am makeing bacarrat in c language.... it's really hard could anyone plz help? Pin
CPallini11-Jul-10 23:20
mveCPallini11-Jul-10 23:20 
GeneralRe: i am makeing bacarrat in c language.... it's really hard could anyone plz help? Pin
Iain Clarke, Warrior Programmer11-Jul-10 23:25
Iain Clarke, Warrior Programmer11-Jul-10 23:25 
QuestionUpdateDriverForPlugAndPlayDevices failed,errcode=0x103 Pin
xjh_sz11-Jul-10 17:17
xjh_sz11-Jul-10 17:17 

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.