Click here to Skip to main content
15,879,326 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to use a Dialog Template as an item in another Dialog. Pin
cmk8-Apr-10 15:53
cmk8-Apr-10 15:53 
QuestionLPWSTR / Win32 Pin
Fareed Rizkalla8-Apr-10 7:10
Fareed Rizkalla8-Apr-10 7:10 
AnswerRe: LPWSTR / Win32 Pin
PJ Arends8-Apr-10 7:47
professionalPJ Arends8-Apr-10 7:47 
AnswerRe: LPWSTR / Win32 Pin
CPallini8-Apr-10 9:43
mveCPallini8-Apr-10 9:43 
AnswerRe: LPWSTR / Win32 Pin
Joe Woodbury8-Apr-10 10:57
professionalJoe Woodbury8-Apr-10 10:57 
GeneralRe: LPWSTR / Win32 Pin
Emilio Garavaglia8-Apr-10 21:15
Emilio Garavaglia8-Apr-10 21:15 
GeneralRe: LPWSTR / Win32 Pin
CPallini8-Apr-10 21:24
mveCPallini8-Apr-10 21:24 
GeneralRe: LPWSTR / Win32 Pin
Emilio Garavaglia8-Apr-10 21:42
Emilio Garavaglia8-Apr-10 21:42 
That's was what i though when that differentiation was introduced.
But it saved me lot of time form char-type mismatching in strings!

The "werid" thing is that C++ is still taking the old C idea of "char are just numbers" and strings don't exist (there are character arrays and string manipulation functions).
Than wchar_t was introduced, and a type semantic was applied to it.

It would be more correct -nowadays- the case that even char should not have number semantic and a different type (may be byte and unsigned byte, or short short int) should be introduced to represent small integers)

I also wander why C and C++ standard are insisting with all those sort of short, long, long long, long long long, etc. instead of simply define integers as int_x where x is the number of bits (MS does it, but it's not "standard").
Then there might be char_x, incompatible with int_x unless of explicit conversions and functions.

2 bugs found.
> recompile ...
65534 bugs found.
D'Oh! | :doh:


GeneralRe: LPWSTR / Win32 Pin
CPallini8-Apr-10 21:57
mveCPallini8-Apr-10 21:57 
GeneralRe: LPWSTR / Win32 Pin
Fareed Rizkalla8-Apr-10 22:26
Fareed Rizkalla8-Apr-10 22:26 
GeneralRe: LPWSTR / Win32 Pin
Eugen Podsypalnikov8-Apr-10 23:09
Eugen Podsypalnikov8-Apr-10 23:09 
GeneralRe: LPWSTR / Win32 Pin
Fareed Rizkalla8-Apr-10 23:25
Fareed Rizkalla8-Apr-10 23:25 
GeneralRe: LPWSTR / Win32 Pin
Eugen Podsypalnikov8-Apr-10 23:32
Eugen Podsypalnikov8-Apr-10 23:32 
GeneralRe: LPWSTR / Win32 Pin
Fareed Rizkalla9-Apr-10 13:32
Fareed Rizkalla9-Apr-10 13:32 
GeneralRe: LPWSTR / Win32 Pin
Joe Woodbury9-Apr-10 5:38
professionalJoe Woodbury9-Apr-10 5:38 
Questionhow to use multiThread to read and write database? Pin
caiguosen8-Apr-10 5:47
caiguosen8-Apr-10 5:47 
AnswerRe: how to use multiThread to read and write database? Pin
CPallini8-Apr-10 9:38
mveCPallini8-Apr-10 9:38 
QuestionRe: how to use multiThread to read and write database? Pin
David Crow9-Apr-10 3:21
David Crow9-Apr-10 3:21 
AnswerRe: how to use multiThread to read and write database? Pin
caiguosen10-Apr-10 1:42
caiguosen10-Apr-10 1:42 
QuestionRe: how to use multiThread to read and write database? Pin
David Crow12-Apr-10 2:51
David Crow12-Apr-10 2:51 
Questionhow to properly display buttons over an image Pin
genush8-Apr-10 5:38
genush8-Apr-10 5:38 
AnswerRe: how to properly display buttons over an image Pin
Fareed Rizkalla8-Apr-10 7:23
Fareed Rizkalla8-Apr-10 7:23 
GeneralRe: how to properly display buttons over an image Pin
genush8-Apr-10 11:50
genush8-Apr-10 11:50 
AnswerRe: how to properly display buttons over an image Pin
Eugen Podsypalnikov8-Apr-10 9:03
Eugen Podsypalnikov8-Apr-10 9:03 
GeneralRe: how to properly display buttons over an image Pin
genush8-Apr-10 10:16
genush8-Apr-10 10:16 

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.