News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Events / Actions recommended string class

Started by 280Z28, April 04, 2006, 06:42:04 AM

Previous topic - Next topic

280Z28

I've written a modular events system which has proven rock solid in another application. For that program, I use CString for my string class. Should I use std::wstring or wxString to make it cross-platform compatible?
78 280Z, "a few bolt-ons" - 12.71@109.04
99 Trans Am, "Daily Driver" - 525rwhp/475rwtq
Check out The Sam Zone :cool:

Michael

Hello,

ISO C++ string class?

Best wishes,
Michael
[url="http://img207.imageshack.us/img207/9728/411948picture4em.png"]http://img207.imageshack.us/img207/9728/411948picture4em.png[/url]

Michael

[url="http://img207.imageshack.us/img207/9728/411948picture4em.png"]http://img207.imageshack.us/img207/9728/411948picture4em.png[/url]

mmkider

#ifndef UNICODE
#define Ustring string
#else
#define Ustring wstring
#endif

I like std::string more  than wxString.
You can defile flag to differentiate between Unicode and non-Unicode.i

280Z28

78 280Z, "a few bolt-ons" - 12.71@109.04
99 Trans Am, "Daily Driver" - 525rwhp/475rwtq
Check out The Sam Zone :cool: