Some basic questions

From: slot (slotma_at_resort.com)
Date: 08/03/04


Date: Tue, 03 Aug 2004 14:19:15 GMT

Is there any problem to use "std::string" with unicode strings?

When using std::string, does it have to be initialized? Is the following
code OK?

string s;
S = "This is a test string";

Is it OK to have a container (for example, list), as global object whose
size and elements increases at run time?

Thanks!



Relevant Pages

  • Re: minidom xml & non ascii / unicode & files
    ... > I've looked into the matter and discovered the unicode / string encoding ... - encode the strings to your preferred/the required encoding when you write ... The parser will then decode everything into unicode strings - all TextNodes, ...
    (comp.lang.python)
  • Re: WinHttpGetIEProxyConfigForCurrentUser and VBA
    ... When a VB String is passed to a Win32 API ... CURRENT_USER_IE_PROXY_CONFIG struct are UNICODE strings, ... ' structure returned from WinHttpGetIEProxyConfigForCurrentUser, ...
    (microsoft.public.vb.winapi.networks)
  • Re: How does vb handle api [out] parameters?
    ... > 1) declare the paramater ByRef As Byte, assign the string to a byte ... HOWTO: Call the Unicode Version of an API Function with VB ... Declare the API in a type library. ... Parameters declared as unicode strings ...
    (microsoft.public.vb.winapi)
  • Re: Another Cross Platform Delphi Tought
    ... I was reading old posts about migrating Delphi To Linux ... And saw that Unicode strings started with ... Kylix, but still took too much time to get into Delphi for Win32. ... PChar and string will all be based on WideChar instead of AnsiChar. ...
    (borland.public.delphi.non-technical)
  • Re: speed!
    ... :Andreas Leitgeb wrote: ... is based on unicode strings, ... :of code that's not embedded \0 safe of the whole Jim source code:) ... :of the [string] command quick&dirty implementation. ...
    (comp.lang.tcl)