Author Topic: Events / Actions recommended string class  (Read 5251 times)

Offline 280Z28

  • Regular
  • ***
  • Posts: 397
  • *insert unicode here*
Events / Actions recommended string class
« on: April 04, 2006, 06:42:04 am »
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:

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: Events / Actions recommended string class
« Reply #1 on: April 04, 2006, 11:36:33 am »
Hello,

ISO C++ string class?

Best wishes,
Michael

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: Events / Actions recommended string class
« Reply #2 on: April 04, 2006, 12:00:55 pm »
Or may be CStdString?

Best wishes,
Michael

Offline mmkider

  • Almost regular
  • **
  • Posts: 150
Re: Events / Actions recommended string class
« Reply #3 on: April 04, 2006, 12:10:56 pm »
#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

Offline 280Z28

  • Regular
  • ***
  • Posts: 397
  • *insert unicode here*
Re: Events / Actions recommended string class
« Reply #4 on: April 04, 2006, 04:16:51 pm »
Or may be CStdString?

Best wishes,
Michael


Thanks I'll go with this one :)
78 280Z, "a few bolt-ons" - 12.71@109.04
99 Trans Am, "Daily Driver" - 525rwhp/475rwtq
 Check out The Sam Zone :cool: