Click here to Skip to main content
15,912,507 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Handle Inheritance in Windows Pin
Emilio Garavaglia22-Mar-11 22:34
Emilio Garavaglia22-Mar-11 22:34 
QuestionShowDropDown(...) error Pin
_Flaviu21-Mar-11 0:30
_Flaviu21-Mar-11 0:30 
AnswerRe: ShowDropDown(...) error Pin
Code-o-mat21-Mar-11 1:48
Code-o-mat21-Mar-11 1:48 
GeneralRe: ShowDropDown(...) error Pin
_Flaviu21-Mar-11 3:00
_Flaviu21-Mar-11 3:00 
GeneralRe: ShowDropDown(...) error Pin
Code-o-mat21-Mar-11 3:25
Code-o-mat21-Mar-11 3:25 
QuestionAutomatically Stepping over stl code in Visual Studio PinPopular
ed welch21-Mar-11 0:28
ed welch21-Mar-11 0:28 
AnswerRe: Automatically Stepping over stl code in Visual Studio PinPopular
Stefan_Lang21-Mar-11 7:32
Stefan_Lang21-Mar-11 7:32 
GeneralRe: Automatically Stepping over stl code in Visual Studio Pin
ed welch21-Mar-11 9:48
ed welch21-Mar-11 9:48 
GeneralRe: Automatically Stepping over stl code in Visual Studio Pin
Niklas L21-Mar-11 22:52
Niklas L21-Mar-11 22:52 
AnswerRe: Automatically Stepping over stl code in Visual Studio Pin
Rajesh R Subramanian22-Mar-11 5:53
professionalRajesh R Subramanian22-Mar-11 5:53 
QuestionHow can read a unicode text file as character by character? Pin
Le@rner20-Mar-11 22:20
Le@rner20-Mar-11 22:20 
AnswerRe: How can read a unicode text file as character by character? Pin
pix_programmer20-Mar-11 22:39
pix_programmer20-Mar-11 22:39 
GeneralRe: How can read a unicode text file as character by character? Pin
Le@rner20-Mar-11 22:42
Le@rner20-Mar-11 22:42 
QuestionRe: How can read a unicode text file as character by character? Pin
CPallini20-Mar-11 23:03
mveCPallini20-Mar-11 23:03 
AnswerRe: How can read a unicode text file as character by character? Pin
Le@rner20-Mar-11 23:21
Le@rner20-Mar-11 23:21 
GeneralRe: How can read a unicode text file as character by character? Pin
CPallini20-Mar-11 23:33
mveCPallini20-Mar-11 23:33 
GeneralRe: How can read a unicode text file as character by character? Pin
Albert Holguin21-Mar-11 3:31
professionalAlbert Holguin21-Mar-11 3:31 
GeneralRe: How can read a unicode text file as character by character? Pin
Emilio Garavaglia22-Mar-11 22:43
Emilio Garavaglia22-Mar-11 22:43 
UNICODE is actually a set of code-points whose cardinality requires 21 bits.
When encoded in sequence of 1 bye is called UTF-8 and when encoded as sequence of two bytes is called UTF-16.
In UTF-8 coding may vary from 1 to 4 bytes (and remains identical for code-points between 0 and 127, aka ASCII)
In UTF-16 coding may be 2 or 4 bytes (and is TWO for the most of Latin, Cyrillic and Greek characters, as many simplified Chinese).

UNICODE==2bytes is a misconception that originated at the time Windows included Unicode APIS using 16bits since -at that time- Unicode specs where not so wide.
Actually, reading 2bytes does not necessarily means "read a character".

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


GeneralRe: How can read a unicode text file as character by character? Pin
Albert Holguin23-Mar-11 4:07
professionalAlbert Holguin23-Mar-11 4:07 
GeneralRe: How can read a unicode text file as character by character? Pin
Emilio Garavaglia24-Mar-11 8:37
Emilio Garavaglia24-Mar-11 8:37 
GeneralRe: How can read a unicode text file as character by character? Pin
Albert Holguin24-Mar-11 8:41
professionalAlbert Holguin24-Mar-11 8:41 
GeneralRe: How can read a unicode text file as character by character? Pin
Emilio Garavaglia22-Mar-11 22:46
Emilio Garavaglia22-Mar-11 22:46 
GeneralRe: How can read a unicode text file as character by character? Pin
Albert Holguin23-Mar-11 4:21
professionalAlbert Holguin23-Mar-11 4:21 
GeneralRe: How can read a unicode text file as character by character? Pin
Emilio Garavaglia24-Mar-11 9:57
Emilio Garavaglia24-Mar-11 9:57 
GeneralRe: How can read a unicode text file as character by character? Pin
Albert Holguin24-Mar-11 10:02
professionalAlbert Holguin24-Mar-11 10:02 

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.