Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 16:09, 26 October 2007.

Como declarar um string de caracteres estendidos

From Forum Nokia Wiki

Original: How to declare a wide-char string

O código a seguir mostra como declarar uma string de caracteres estendidos (wide-char string) em Open C.

Para declarar uma string de caracteres estendidos, 'L' deve ser adicionado como prefixo da string.

#include <wchar.h>
 
int main(void)
{
     wchar_t *wptr = L"Exemplo do FNWiki para strings de caracteres estendidos";
  
     wprintf(L"%ls\n",wptr);
     getwchar(); 
}

Links relacionados

Related Discussions
Thread Thread Starter Forum Replies Last Post
how can i save a long string in Series 60 platform zhang_guoqing General Symbian C++ 1 2003-06-09 03:13
Something like a Hashmap in Symbian C++? cbrueckner General Symbian C++ 8 2008-05-29 12:26
String and porting again strotz General Symbian C++ 0 2003-09-16 20:11
Serious problem with Strinng on S60 with midp 1.0 kavaja Mobile Java General 1 2005-02-01 09:20
traversing a TDesC doesitmatter General Symbian C++ 2 2007-11-25 22:59
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX