Click here to Skip to main content
15,034,986 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to put blank line in Excel Pin
tunminhein19-Sep-07 3:45
Membertunminhein19-Sep-07 3:45 
GeneralRe: how to put blank line in Excel Pin
tunminhein19-Sep-07 4:23
Membertunminhein19-Sep-07 4:23 
GeneralRe: how to put blank line in Excel Pin
David Crow19-Sep-07 5:31
MemberDavid Crow19-Sep-07 5:31 
GeneralRe: how to put blank line in Excel Pin
tunminhein19-Sep-07 5:40
Membertunminhein19-Sep-07 5:40 
GeneralRe: how to put blank line in Excel Pin
David Crow19-Sep-07 5:50
MemberDavid Crow19-Sep-07 5:50 
GeneralRe: how to put blank line in Excel Pin
tunminhein19-Sep-07 5:56
Membertunminhein19-Sep-07 5:56 
GeneralRe: how to put blank line in Excel Pin
David Crow19-Sep-07 6:03
MemberDavid Crow19-Sep-07 6:03 
GeneralRe: how to put blank line in Excel Pin
tunminhein19-Sep-07 6:20
Membertunminhein19-Sep-07 6:20 
I haven't known yet how to put the previous date data to last_time.

but I tried it that u advice's coding.

here we are,

time_t osBinaryTime;
time(&osBinaryTime);
CTime now(osBinaryTime);
CString strTime = now.Format(_T("%d/%m/%y "));
CString strClock = now.Format (_T(" %H:%M:%S"));
/* CString last_time = strTime.Format (_T("%d/%m/%y "));
//
Cstring str;
if (last_time != strTime){
//m_file.WriteString(_T("\n"));
str.Format(_T("%s, %s, %s, %s, %3.0lf%%, %s , %s\n"), lesson, s, sentence, attempt, score, strTime,StrClock);
m_file.WriteString (str);
)*/

but i got error on the CSting last_time = strTime.format(_T(" %d/%m/%y"));

I'm a beginner in the MFC application. I really sorry u, if u got any inconvience.

Smile | :)
thanks again.
GeneralRe: how to put blank line in Excel Pin
David Crow19-Sep-07 6:55
MemberDavid Crow19-Sep-07 6:55 
GeneralRe: how to put blank line in Excel Pin
tunminhein23-Sep-07 11:54
Membertunminhein23-Sep-07 11:54 
Question_aligned_malloc Problem! Pin
bosfan19-Sep-07 0:18
Memberbosfan19-Sep-07 0:18 
AnswerRe: _aligned_malloc Problem! Pin
toxcct19-Sep-07 0:34
Membertoxcct19-Sep-07 0:34 
GeneralRe: _aligned_malloc Problem! Pin
bosfan19-Sep-07 0:49
Memberbosfan19-Sep-07 0:49 
GeneralRe: _aligned_malloc Problem! Pin
Matthew Faithfull19-Sep-07 1:03
MemberMatthew Faithfull19-Sep-07 1:03 
GeneralRe: _aligned_malloc Problem! Pin
bosfan19-Sep-07 1:08
Memberbosfan19-Sep-07 1:08 
AnswerRe: _aligned_malloc Problem! Pin
Matthew Faithfull19-Sep-07 1:31
MemberMatthew Faithfull19-Sep-07 1:31 
GeneralRe: _aligned_malloc Problem! Pin
bosfan19-Sep-07 3:06
Memberbosfan19-Sep-07 3:06 
AnswerRe: _aligned_malloc Problem! Pin
Randor 19-Sep-07 1:39
professional Randor 19-Sep-07 1:39 
GeneralRe: _aligned_malloc Problem! Pin
bosfan19-Sep-07 3:09
Memberbosfan19-Sep-07 3:09 
QuestionTab Control Related problem Pin
Y_Kaushik18-Sep-07 23:55
MemberY_Kaushik18-Sep-07 23:55 
AnswerRe: Tab Control Related problem Pin
nbugalia19-Sep-07 0:20
Membernbugalia19-Sep-07 0:20 
GeneralRe: Tab Control Related problem Pin
Y_Kaushik19-Sep-07 0:47
MemberY_Kaushik19-Sep-07 0:47 
GeneralRe: Tab Control Related problem Pin
nbugalia19-Sep-07 1:01
Membernbugalia19-Sep-07 1:01 
GeneralRe: Tab Control Related problem Pin
Y_Kaushik19-Sep-07 1:07
MemberY_Kaushik19-Sep-07 1:07 
QuestionRe: Tab Control Related problem Pin
David Crow19-Sep-07 2:50
MemberDavid Crow19-Sep-07 2:50 

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.