Re: [Dev-C++] comparing swchar_t ???
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Per W. <pw...@ia...> - 2004-04-29 14:41:11
|
int wcscmp(const wchar_t*,const wchar_t*)
/Per W
On Thu, 29 Apr 2004, "Axel Buschh=FCter" wrote:
> Hi,
> I have a problem with the wchar_t type:
>
> How do you compare two wchar_t strings ???
>
> I tried it like this:
>
> if(strcmp((char*)wString1, (char*)wString2) =3D=3D 0){
>
> }
>
> But it compares only the first letters of the strings !!!
> Is the a special function for this, like swprintf() for printf() ???
>
> Cu, Acki
>
> --
> "Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen!
> Jetzt aktivieren unter http://www.gmx.net/info
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: Oracle 10g
> Get certified on the hottest thing ever to hit the market... Oracle 10g.
> Take an Oracle 10g class now, and we'll give you the exam FREE.
> http://ads.osdn.com/?ad_id=3D3149&alloc_id=3D8166&op=3Dclick
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
|