Skip to main content
gamedev.net
๐Ÿ”’ Locked

DXUtil Question

Started by tscott1213 Jan 3, 2005 at 10:44 AM 0 replies 650+ views
Original Post
tscott1213
tscott1213
I am going through the DX framework provided with the SDK. In the User Interface example the following function call is in WinMain(): DXUTCreateWindow( L"CustomUI" ); Can someone explain to me what the L is? I'm embarrassed to admit that I don't understand how L"CustomUI" is valid syntax. Thanks Todd
Muhammad Haggag
Muhammad Haggag
L"String literal goes here" is valid C++ syntax for wide-string, a string composed of wchar_t's. wchar_t is a standard C++ type, and is 16-bit wide in VC++.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.