Click here to Skip to main content
15,885,985 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Send data bits through USB Pin
Cedric Moonen28-May-09 20:36
Cedric Moonen28-May-09 20:36 
GeneralRe: Send data bits through USB Pin
«_Superman_»28-May-09 20:41
professional«_Superman_»28-May-09 20:41 
GeneralRe: Send data bits through USB Pin
mythlace28-May-09 20:43
mythlace28-May-09 20:43 
GeneralRe: Send data bits through USB Pin
Cedric Moonen28-May-09 20:51
Cedric Moonen28-May-09 20:51 
GeneralRe: Send data bits through USB Pin
mythlace28-May-09 21:01
mythlace28-May-09 21:01 
GeneralRe: Send data bits through USB Pin
Cedric Moonen28-May-09 21:10
Cedric Moonen28-May-09 21:10 
AnswerRe: Send data bits through USB Pin
bolivar12329-May-09 9:00
bolivar12329-May-09 9:00 
QuestionHow to measure wstring memory size? Pin
cozyu28-May-09 20:16
cozyu28-May-09 20:16 
I use std::wstring for unicode.
To write a file with wstring, I need the memory size of wstring.
But I couldn't find the method about memory size.
wstring::size() and wstring::length() show only the length of characters.

for example,
std::wstring strText = L"ABC";

In the example, length of strText is '3'
But memory size of strText is '6' (in windows)

Is there any method to get memory size of std::wstring?

Thanks your help

David.
AnswerRe: How to measure wstring memory size? Pin
Cedric Moonen28-May-09 20:18
Cedric Moonen28-May-09 20:18 
AnswerRe: How to measure wstring memory size? Pin
«_Superman_»28-May-09 20:43
professional«_Superman_»28-May-09 20:43 
GeneralRe: How to measure wstring memory size? Pin
Cedric Moonen28-May-09 20:58
Cedric Moonen28-May-09 20:58 
GeneralRe: How to measure wstring memory size? Pin
«_Superman_»28-May-09 21:07
professional«_Superman_»28-May-09 21:07 
GeneralRe: How to measure wstring memory size? Pin
Cedric Moonen28-May-09 21:11
Cedric Moonen28-May-09 21:11 
GeneralRe: How to measure wstring memory size? Pin
«_Superman_»28-May-09 21:13
professional«_Superman_»28-May-09 21:13 
GeneralRe: How to measure wstring memory size? Pin
Cedric Moonen28-May-09 21:20
Cedric Moonen28-May-09 21:20 
GeneralRe: How to measure wstring memory size? Pin
norish28-May-09 20:48
norish28-May-09 20:48 
AnswerRe: How to measure wstring memory size? Pin
Stuart Dootson28-May-09 22:22
professionalStuart Dootson28-May-09 22:22 
QuestionError Pin
Ryuk199028-May-09 16:55
Ryuk199028-May-09 16:55 
AnswerRe: Error Pin
«_Superman_»28-May-09 17:20
professional«_Superman_»28-May-09 17:20 
GeneralRe: Error Pin
Ryuk199028-May-09 17:27
Ryuk199028-May-09 17:27 
GeneralRe: Error Pin
«_Superman_»28-May-09 17:29
professional«_Superman_»28-May-09 17:29 
GeneralRe: Error Pin
Ryuk199028-May-09 17:38
Ryuk199028-May-09 17:38 
GeneralRe: Error Pin
«_Superman_»28-May-09 17:45
professional«_Superman_»28-May-09 17:45 
GeneralRe: Error Pin
Chandrasekharan P28-May-09 17:48
Chandrasekharan P28-May-09 17:48 
QuestionInsertion and removal of CD/DVD Pin
siva45528-May-09 16:49
siva45528-May-09 16:49 

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.