🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: cn.bbs.comp.xml
1 messages
1 total messages Started by daishu59 Thu, 25 Nov 2010 11:06
xerces-C++��XmlCh��˫�ֽڵģ�����unixƽ̨��wchar_t��4�ֽڵ�
#114
Author: daishu59
Date: Thu, 25 Nov 2010 11:06
14 lines
1377 bytes
����solarisƽ̨��ʹ��xerces-C++�����֣�xerces�Զ����XmlCh��˫�ֽ�short,��ƽ̨�ϵ�wchar_t��4���ֽڵ�,����ֱ���á������char�Ļ�

    XMLPlatformUtils::Initialize();
    XMLCh nameStr[100]="abc";
    aNode   =doc->createElement(nameStr);

������ʾ����:
> sunCC -I/u1/gonl02/bin/xerces-c-3.1.1-sparc-solaris-cc-5.10/include -lutil xml.C
"xml.C", line 12: Error: Cannot use const char[4] to initialize unsigned short[100]

�Ҹ����ת����?
--

�� ��Դ:��ˮľ���� http://newsmth.net��[FROM: 60.247.44.*]
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads