wchar_t and wstring

New to FreeBASIC? Post your questions here.
McLovin
Posts: 82
Joined: Oct 21, 2008 1:15
Contact:

wchar_t and wstring

Postby McLovin » Nov 11, 2008 4:11

Am I correct in assuming that the C construct "wchar_t" is the same as the built in FB datatype "wstring" ????
McLovin
Posts: 82
Joined: Oct 21, 2008 1:15
Contact:

Postby McLovin » Nov 11, 2008 16:09

Looks like all that I needed to do was:

#include once "\crt\wchar.bi" ' wchar_t

This way I can keep the code using wchar_t. I am amazed at how easy it is to convert C code to FB. Much easier than any other BASIC that I've used.

Return to “Beginners”

Who is online

Users browsing this forum: No registered users and 7 guests