Click here to Skip to main content
15,891,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to dispatch WM_LBUTTONDOWN message after calling ReleaseCapture()? Pin
includeh103-Sep-09 7:45
includeh103-Sep-09 7:45 
Questionchar char[] variables help Pin
egerving2-Sep-09 8:26
egerving2-Sep-09 8:26 
AnswerRe: char char[] variables help Pin
Iain Clarke, Warrior Programmer2-Sep-09 8:47
Iain Clarke, Warrior Programmer2-Sep-09 8:47 
AnswerRe: char char[] variables help Pin
Stuart Dootson2-Sep-09 9:01
professionalStuart Dootson2-Sep-09 9:01 
AnswerRe: char char[] variables help Pin
Randor 2-Sep-09 9:09
professional Randor 2-Sep-09 9:09 
AnswerRe: char char[] variables help Pin
David Crow2-Sep-09 9:50
David Crow2-Sep-09 9:50 
AnswerRe: char char[] variables help Pin
egerving2-Sep-09 11:31
egerving2-Sep-09 11:31 
AnswerRe: char char[] variables help Pin
Joe Woodbury2-Sep-09 17:11
professionalJoe Woodbury2-Sep-09 17:11 
One thing to understand is that in ALL languages a character is a number. With C/C++ it's just more obvious about it. In pure C/C++ and Assembly, you are simply doing manually what high level languages do behind your back. (With CString and string in C++, you can also treat strings as "abstract" objects.)

* * *

For the text file question, look at cout, and its cousins, though I vastly prefer printf()/fprintf() and its cousins.

printf("%02d%04d/%02d/%02d%02d:%02d:%02d and so on

(One variant of this is printf("%.2d%.4d/%.2d/%.2d%.2d:%.2d:%.2d. I prefer the former, but you will run into the latter and should be aware of it.)
QuestionSecurity Access Functions Pin
Richard Andrew x642-Sep-09 7:28
professionalRichard Andrew x642-Sep-09 7:28 
AnswerRe: Security Access Functions Pin
Stuart Dootson2-Sep-09 8:17
professionalStuart Dootson2-Sep-09 8:17 
GeneralRe: Security Access Functions Pin
Richard Andrew x642-Sep-09 9:47
professionalRichard Andrew x642-Sep-09 9:47 
AnswerRe: Security Access Functions Pin
Randor 2-Sep-09 8:45
professional Randor 2-Sep-09 8:45 
GeneralRe: Security Access Functions Pin
Richard Andrew x642-Sep-09 9:48
professionalRichard Andrew x642-Sep-09 9:48 
QuestionSetting x-microsoftajax:Delta=true header Giving http error "400" Pin
Ash_VCPP2-Sep-09 5:38
Ash_VCPP2-Sep-09 5:38 
QuestionMDI framework do not cross over through OnActivateFrame(int nCmdShow) ? Pin
mesajflaviu2-Sep-09 4:41
mesajflaviu2-Sep-09 4:41 
AnswerRe: MDI framework do not cross over through OnActivateFrame(int nCmdShow) ? Pin
Stuart Dootson2-Sep-09 5:11
professionalStuart Dootson2-Sep-09 5:11 
GeneralRe: MDI framework do not cross over through OnActivateFrame(int nCmdShow) ? Pin
mesajflaviu2-Sep-09 7:54
mesajflaviu2-Sep-09 7:54 
GeneralRe: MDI framework do not cross over through OnActivateFrame(int nCmdShow) ? Pin
Stuart Dootson2-Sep-09 8:45
professionalStuart Dootson2-Sep-09 8:45 
GeneralRe: MDI framework do not cross over through OnActivateFrame(int nCmdShow) ? Pin
mesajflaviu3-Sep-09 7:44
mesajflaviu3-Sep-09 7:44 
QuestionTe difference between OnKeyDown and OnKeyUp Pin
prithaa2-Sep-09 2:27
prithaa2-Sep-09 2:27 
AnswerRe: Te difference between OnKeyDown and OnKeyUp Pin
Stuart Dootson2-Sep-09 5:17
professionalStuart Dootson2-Sep-09 5:17 
GeneralRe: Te difference between OnKeyDown and OnKeyUp Pin
prithaa2-Sep-09 6:41
prithaa2-Sep-09 6:41 
GeneralRe: Te difference between OnKeyDown and OnKeyUp Pin
Stuart Dootson2-Sep-09 6:44
professionalStuart Dootson2-Sep-09 6:44 
GeneralRe: Te difference between OnKeyDown and OnKeyUp Pin
prithaa2-Sep-09 6:47
prithaa2-Sep-09 6:47 
QuestionSlicing std::valarray using references? Pin
misterMF2-Sep-09 0:43
misterMF2-Sep-09 0:43 

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.