Click here to Skip to main content
15,889,351 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: MFC CTabCtrl problems in VS2010 Pin
TheGreatAndPowerfulOz9-Sep-11 12:00
TheGreatAndPowerfulOz9-Sep-11 12:00 
GeneralRe: MFC CTabCtrl problems in VS2010 Pin
j_schultz12-Sep-11 9:38
j_schultz12-Sep-11 9:38 
QuestionHow to create a object of mainframe in application class Pin
Amrit Agr9-Sep-11 1:43
Amrit Agr9-Sep-11 1:43 
AnswerRe: How to create a object of mainframe in application class Pin
Code-o-mat9-Sep-11 2:24
Code-o-mat9-Sep-11 2:24 
QuestionHow to check i am clicking on the header of the list control Pin
Amrit Agr8-Sep-11 5:49
Amrit Agr8-Sep-11 5:49 
QuestionRe: How to check i am clicking on the header of the list control Pin
David Crow8-Sep-11 5:52
David Crow8-Sep-11 5:52 
AnswerRe: How to check i am clicking on the header of the list control [modified] Pin
Chuck O'Toole8-Sep-11 11:50
Chuck O'Toole8-Sep-11 11:50 
Questionquestion with locale [modified] Pin
Cold_Fearing_Bird8-Sep-11 4:38
Cold_Fearing_Bird8-Sep-11 4:38 
wchar_t wch = 26342 ; // 26342 is a chinese character
wcout << wch ; // prints nothing
wout.imbue( locale("chinese-simplified" ) ) ;
wcout << wch ; // okay, prints '曦'

cout << '曦' ; //okay, as to cout,without having to set the locale, I can freely output chinese character ? why?

Second question is why setting up locale("chinese-simplified") for wcout that makes chinese character visible? Does the locale provide the font which supports the apprearance of our character?

Another question that confused me long is why can font like "Times New Roman" be used to display our ideograph? It's only 374k in size,which is simply uanble to represent 7000+ pictographs

modified on Thursday, September 8, 2011 10:54 AM

QuestionCRichEditCtrl Pin
john56328-Sep-11 2:33
john56328-Sep-11 2:33 
AnswerRe: CRichEditCtrl Pin
Orjan Westin8-Sep-11 3:15
professionalOrjan Westin8-Sep-11 3:15 
GeneralRe: CRichEditCtrl Pin
john56328-Sep-11 19:02
john56328-Sep-11 19:02 
QuestionEncryption and Decryption between C++ and C# Pin
vipin_nvk8-Sep-11 0:13
vipin_nvk8-Sep-11 0:13 
AnswerRe: Encryption and Decryption between C++ and C# Pin
Orjan Westin8-Sep-11 1:06
professionalOrjan Westin8-Sep-11 1:06 
GeneralRe: Encryption and Decryption between C++ and C# Pin
vipin_nvk8-Sep-11 1:23
vipin_nvk8-Sep-11 1:23 
GeneralRe: Encryption and Decryption between C++ and C# Pin
Orjan Westin8-Sep-11 2:11
professionalOrjan Westin8-Sep-11 2:11 
GeneralRe: Encryption and Decryption between C++ and C# Pin
vipin_nvk8-Sep-11 4:07
vipin_nvk8-Sep-11 4:07 
GeneralRe: Encryption and Decryption between C++ and C# Pin
MicroVirus8-Sep-11 4:15
MicroVirus8-Sep-11 4:15 
QuestionSocket Pin
john56327-Sep-11 23:44
john56327-Sep-11 23:44 
AnswerRe: Socket Pin
CPallini8-Sep-11 0:40
mveCPallini8-Sep-11 0:40 
AnswerRe: Socket Pin
MicroVirus8-Sep-11 4:18
MicroVirus8-Sep-11 4:18 
QuestionDBX Pin
john56327-Sep-11 21:44
john56327-Sep-11 21:44 
AnswerRe: DBX Pin
David Crow8-Sep-11 5:50
David Crow8-Sep-11 5:50 
Question1 & 0x01+1*3 Pin
includeh107-Sep-11 21:17
includeh107-Sep-11 21:17 
AnswerRe: 1 & 0x01+1*3 Pin
CPallini7-Sep-11 21:21
mveCPallini7-Sep-11 21:21 
QuestionKey-Value pair with multiples Pin
CodingLover7-Sep-11 20:46
CodingLover7-Sep-11 20:46 

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.