Click here to Skip to main content
15,896,329 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Bluetooth Block Pin
tanu misra7-Aug-10 0:57
tanu misra7-Aug-10 0:57 
GeneralRe: Bluetooth Block Pin
David Crow7-Aug-10 7:25
David Crow7-Aug-10 7:25 
GeneralRe: Bluetooth Block Pin
tanu misra17-Aug-10 22:56
tanu misra17-Aug-10 22:56 
QuestionRe: Bluetooth Block Pin
David Crow18-Aug-10 2:07
David Crow18-Aug-10 2:07 
AnswerRe: Bluetooth Block Pin
tanu misra18-Aug-10 18:55
tanu misra18-Aug-10 18:55 
QuestionRe: Bluetooth Block Pin
David Crow19-Aug-10 2:09
David Crow19-Aug-10 2:09 
AnswerRe: Bluetooth Block Pin
tanu misra19-Aug-10 18:26
tanu misra19-Aug-10 18:26 
GeneralRe: Bluetooth Block Pin
David Crow20-Aug-10 2:52
David Crow20-Aug-10 2:52 
GeneralRe: Bluetooth Block Pin
tanu misra5-Sep-10 20:12
tanu misra5-Sep-10 20:12 
GeneralRe: Bluetooth Block Pin
tanu misra20-Sep-10 18:36
tanu misra20-Sep-10 18:36 
Questionwhat is "wofstream" useful for?!! Pin
Joseph Marzbani3-Aug-10 17:51
Joseph Marzbani3-Aug-10 17:51 
QuestionRe: what is "wofstream" useful for?!! Pin
«_Superman_»3-Aug-10 18:27
professional«_Superman_»3-Aug-10 18:27 
AnswerRe: what is "wofstream" useful for?!! Pin
Joseph Marzbani3-Aug-10 19:15
Joseph Marzbani3-Aug-10 19:15 
GeneralRe: what is "wofstream" useful for?!! Pin
«_Superman_»3-Aug-10 20:02
professional«_Superman_»3-Aug-10 20:02 
GeneralRe: what is "wofstream" useful for?!! Pin
Joseph Marzbani3-Aug-10 22:02
Joseph Marzbani3-Aug-10 22:02 
GeneralRe: what is "wofstream" useful for?!! Pin
Aescleal3-Aug-10 22:15
Aescleal3-Aug-10 22:15 
GeneralRe: what is "wofstream" useful for?!! Pin
Joseph Marzbani3-Aug-10 22:47
Joseph Marzbani3-Aug-10 22:47 
GeneralRe: what is "wofstream" useful for?!! Pin
Aescleal4-Aug-10 0:32
Aescleal4-Aug-10 0:32 
GeneralRe: what is "wofstream" useful for?!! Pin
Joseph Marzbani4-Aug-10 2:03
Joseph Marzbani4-Aug-10 2:03 
AnswerRe: what is "wofstream" useful for?!! Pin
Aescleal3-Aug-10 22:05
Aescleal3-Aug-10 22:05 
It can be used with wide characters, no problem at all. The C++ 98 standard library assumes that all filenames are narrow characters so the first line you've presented won't compile on a standard conforming compiler - however some compilers provide the second form as an extension to the library. What's particularly brain-dead about the constructors are the fact that they take C style strings and not std::basic_strings, but that's another story.

The line you've presented works perfectly - it handles wide characters pretty well in my experience. What it stores them in the file doesn't really matter (as far as the standard library is concerned) provided you can read them back in the same form.

Cheers,

Ash
GeneralRe: what is "wofstream" useful for?!! Pin
Joseph Marzbani3-Aug-10 22:53
Joseph Marzbani3-Aug-10 22:53 
GeneralRe: what is "wofstream" useful for?!! Pin
Richard MacCutchan4-Aug-10 3:26
mveRichard MacCutchan4-Aug-10 3:26 
QuestionTooltips can't be shown Pin
gaspher3-Aug-10 2:47
gaspher3-Aug-10 2:47 
QuestionRe: Tooltips can't be shown Pin
David Crow3-Aug-10 3:18
David Crow3-Aug-10 3:18 
AnswerRe: Tooltips can't be shown Pin
gaspher3-Aug-10 3:37
gaspher3-Aug-10 3:37 

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.