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

C / C++ / MFC

 
GeneralRe: How to read Image's Pixel co-ordinates Pin
Game-point10-Sep-09 18:29
Game-point10-Sep-09 18:29 
GeneralRe: How to read Image's Pixel co-ordinates Pin
Naveen10-Sep-09 19:11
Naveen10-Sep-09 19:11 
GeneralRe: How to read Image's Pixel co-ordinates Pin
Game-point10-Sep-09 19:40
Game-point10-Sep-09 19:40 
Questionwhat will happen when i terminate a process? Pin
iceman861610-Sep-09 14:25
iceman861610-Sep-09 14:25 
QuestionRe: what will happen when i terminate a process? Pin
Randor 10-Sep-09 15:04
professional Randor 10-Sep-09 15:04 
AnswerRe: what will happen when i terminate a process? Pin
Naveen10-Sep-09 17:23
Naveen10-Sep-09 17:23 
QuestionRe: what will happen when i terminate a process? Pin
Randor 10-Sep-09 17:33
professional Randor 10-Sep-09 17:33 
AnswerRe: what will happen when i terminate a process? Pin
Naveen10-Sep-09 17:40
Naveen10-Sep-09 17:40 
GeneralRe: what will happen when i terminate a process? Pin
Randor 10-Sep-09 17:46
professional Randor 10-Sep-09 17:46 
AnswerRe: what will happen when i terminate a process? Pin
Stuart Dootson10-Sep-09 20:32
professionalStuart Dootson10-Sep-09 20:32 
AnswerRe: what will happen when i terminate a process? Pin
kilt14-Sep-09 2:27
kilt14-Sep-09 2:27 
QuestionMatching function for the code Pin
Waldemar Ork10-Sep-09 9:21
Waldemar Ork10-Sep-09 9:21 
AnswerRe: Matching function for the code Pin
Selvam R10-Sep-09 9:40
professionalSelvam R10-Sep-09 9:40 
AnswerRe: Matching function for the code Pin
Maximilien10-Sep-09 9:43
Maximilien10-Sep-09 9:43 
AnswerRe: Matching function for the code Pin
Stuart Dootson10-Sep-09 11:08
professionalStuart Dootson10-Sep-09 11:08 
GeneralRe: Matching function for the code Pin
Waldemar Ork12-Sep-09 8:18
Waldemar Ork12-Sep-09 8:18 
Questionstd::wstring cannot convert from char[3] to class std::basic_string................. Pin
egerving10-Sep-09 8:25
egerving10-Sep-09 8:25 
AnswerRe: std::wstring cannot convert from char[3] to class std::basic_string................. Pin
Cedric Moonen10-Sep-09 8:34
Cedric Moonen10-Sep-09 8:34 
GeneralRe: std::wstring cannot convert from char[3] to class std::basic_string................. Pin
egerving10-Sep-09 8:53
egerving10-Sep-09 8:53 
GeneralRe: std::wstring cannot convert from char[3] to class std::basic_string................. Pin
Rajesh R Subramanian10-Sep-09 9:12
professionalRajesh R Subramanian10-Sep-09 9:12 
AnswerRe: std::wstring cannot convert from char[3] to class std::basic_string................. Pin
Stuart Dootson10-Sep-09 11:05
professionalStuart Dootson10-Sep-09 11:05 
Questionfwrite for unicode big endian Pin
Rakesh510-Sep-09 8:17
Rakesh510-Sep-09 8:17 
AnswerRe: fwrite for unicode big endian Pin
Selvam R10-Sep-09 8:53
professionalSelvam R10-Sep-09 8:53 
GeneralRe: fwrite for unicode big endian Pin
Rakesh510-Sep-09 9:08
Rakesh510-Sep-09 9:08 
GeneralRe: fwrite for unicode big endian Pin
Selvam R10-Sep-09 9:34
professionalSelvam R10-Sep-09 9:34 
Hi,

C++ supports Unicode using wchar_t data type. You can allocate size for unicode data type and write Unicode format.

size_t n = fwrite(s.c_str(), sizeof(wchar_t), s.size(), f);


more information/example on the following web

http://groups.google.com/group/microsoft.public.vc.language/msg/ea6b6462744737d5?pli=1[^]

http://cboard.cprogramming.com/c-programming/87932-reading-unicode-file.html[^]

Thanks and Regards,
Selvam,
http://www.wincpp.com

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.