Original Post
🔒 Locked
L
Advertisement
Yes, L means long (AFAIK).
But in front of the string: L"test.txt", it converts your string to WideChar-mode. (VC++ macro ?)
Press any key to continue or any other key to quit...
But in front of the string: L"test.txt", it converts your string to WideChar-mode. (VC++ macro ?)
Press any key to continue or any other key to quit...
The L suffix makes the numeric constant a long, just like U makes it unsigned.
The L prefix is a standard C++ language feature; in other words, it has nothing to do with VC++ or any other compiler. However, L is not part of C, so it''s an extension in compilers that allow it.
The L prefix is a standard C++ language feature; in other words, it has nothing to do with VC++ or any other compiler. However, L is not part of C, so it''s an extension in compilers that allow it.
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement