Click here to Skip to main content
15,921,837 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionString Pin
Fareed Rizkalla5-Oct-10 6:16
Fareed Rizkalla5-Oct-10 6:16 
AnswerRe: String Pin
Richard MacCutchan5-Oct-10 6:49
mveRichard MacCutchan5-Oct-10 6:49 
GeneralRe: String Pin
Fareed Rizkalla5-Oct-10 8:20
Fareed Rizkalla5-Oct-10 8:20 
GeneralRe: String Pin
Moak5-Oct-10 8:36
Moak5-Oct-10 8:36 
GeneralRe: String Pin
Richard MacCutchan5-Oct-10 9:05
mveRichard MacCutchan5-Oct-10 9:05 
AnswerRe: String PinPopular
Moak5-Oct-10 6:59
Moak5-Oct-10 6:59 
GeneralRe: String Pin
Richard MacCutchan5-Oct-10 21:37
mveRichard MacCutchan5-Oct-10 21:37 
AnswerRe: String PinPopular
Luc Pattyn5-Oct-10 8:37
sitebuilderLuc Pattyn5-Oct-10 8:37 
every literal string gets a NULL appended automatically by the compiler.

However there are 8-bit and 16-bit characters and strings, and you can't just mix them.
If you use wcscat_s, you want wide char strings, the example in MSDN is:
wchar_t wszStr[] = L"1a1g";


Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.


QuestionCannot display icon in tree. Help! Pin
Brad Reichenbach5-Oct-10 4:44
Brad Reichenbach5-Oct-10 4:44 
AnswerRe: Cannot display icon in tree. Help! Pin
Niklas L5-Oct-10 8:22
Niklas L5-Oct-10 8:22 
QuestionExtract numbers from string Pin
Anu_Bala5-Oct-10 1:12
Anu_Bala5-Oct-10 1:12 
AnswerRe: Extract numbers from string Pin
Richard MacCutchan5-Oct-10 1:29
mveRichard MacCutchan5-Oct-10 1:29 
GeneralRe: Extract numbers from string Pin
Anu_Bala5-Oct-10 2:04
Anu_Bala5-Oct-10 2:04 
AnswerRe: Extract numbers from string Pin
zhjxin5-Oct-10 2:17
zhjxin5-Oct-10 2:17 
GeneralRe: Extract numbers from string Pin
Richard MacCutchan5-Oct-10 5:48
mveRichard MacCutchan5-Oct-10 5:48 
AnswerRe: Extract numbers from string Pin
«_Superman_»5-Oct-10 1:47
professional«_Superman_»5-Oct-10 1:47 
AnswerRe: Extract numbers from string Pin
Aescleal5-Oct-10 1:51
Aescleal5-Oct-10 1:51 
AnswerRe: Extract numbers from string Pin
bleedingfingers5-Oct-10 1:52
bleedingfingers5-Oct-10 1:52 
GeneralRe: Extract numbers from string Pin
Richard MacCutchan5-Oct-10 5:47
mveRichard MacCutchan5-Oct-10 5:47 
AnswerRe: Extract numbers from string Pin
CPallini5-Oct-10 1:56
mveCPallini5-Oct-10 1:56 
AnswerRe: Extract numbers from string Pin
Fareed Rizkalla5-Oct-10 6:09
Fareed Rizkalla5-Oct-10 6:09 
AnswerRe: Extract numbers from string Pin
Niklas L5-Oct-10 8:28
Niklas L5-Oct-10 8:28 
QuestionTabbed dialog problrm Pin
g_sandipan5-Oct-10 1:12
g_sandipan5-Oct-10 1:12 
AnswerRe: Tabbed dialog problrm Pin
Cool_Dev5-Oct-10 1:52
Cool_Dev5-Oct-10 1:52 
QuestionReadFile asynchronously Pin
MKC0025-Oct-10 0:06
MKC0025-Oct-10 0:06 

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.