Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

L prefix before strings

Name: Anonymous 2011-12-09 21:00

Hi there /prog/
Is there any reason why I shouldn't always use the L prefix before my strings?  Is more memory required if I do this?

I'm thinking about making a simple method that does this automatically for all of my strings.

Name: Anonymous 2011-12-09 21:56

reference to an identifier before its definition: L

Name: Anonymous 2011-12-09 23:26

Peut-être à la place utiliser le ウーテーエフ huit

Name: Anonymous 2011-12-10 0:40

L prefix makes your string constant out of double-width characters, which is useful in win32 for interfacing with the utf16 *W functions. On linux where you have utf8 char's there's no point, so try wrapping this up in a macro (c.f. _T(x), TEXT(x) in msdn)

Don't change these.
Name: Email:
Entire Thread Thread List