![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| concatenating static string to records in data file | gillbates | Shell Programming and Scripting | 5 | 06-22-2006 03:22 PM |
| How to display unicode characters / unicode string | jackdorso | High Level Programming | 3 | 05-20-2005 10:09 AM |
| unicode | rein | UNIX for Advanced & Expert Users | 2 | 01-18-2005 11:40 AM |
| converting string to unicode | webtekie | Shell Programming and Scripting | 1 | 07-21-2004 08:43 AM |
| Static IP | IP Networking | 7 | 05-18-2003 04:33 PM | |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
How to make static unicode string?
In Windows,
wchar_t *pStr = L"Hello"; works, but I can't find the equivalent to Unix system. How can I make static stack-memory-based wide character string in C in Unix? |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
It works. I used short *pStr = L"Hello"; in real code. Which made pointer conversion warning. Above code of wchar_t works. |
|||
| Google The UNIX and Linux Forums |