Search found 7 matches
- Fri Feb 17, 2006 2:09 pm
- Forum: Beginners Help
- Topic: How do even download the irrlicht game engine?
- Replies: 20
- Views: 1313
- Mon Feb 13, 2006 2:06 am
- Forum: Beginners Help
- Topic: Stringw problem
- Replies: 23
- Views: 1074
probably going way of topic now, but heck, i have a wierd problem
Code: Select all
212 C:\dark chasis\Engine\network_chat2\chat.cpp invalid conversion from `int' to `int*'
- Sun Feb 12, 2006 10:55 pm
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: HowTo: Add a ChatWindow class to your project
- Replies: 6
- Views: 2291
- Sat Feb 11, 2006 12:31 am
- Forum: Beginners Help
- Topic: Stringw problem
- Replies: 23
- Views: 1074
that didnt work so instead my friend and i made a unicode to ascii and ascii to unicode converter. here they are U2A void u2a(char *st1, char *st2) { int i=0; while( st1 [ 2*i ] ) { st2[ i ] = st1[ 2*i ]; i++; } st2[ i ] = 0; } A2U void a2u( char *st1, char *st2) { int i=0; while( st1[ i ] ) { st2[ ...
- Thu Feb 09, 2006 6:36 pm
- Forum: Beginners Help
- Topic: Stringw problem
- Replies: 23
- Views: 1074
if i take the .c_str() out it sends another awkard message. 55 C:\dark chasis\Engine\network_chat\chat.cpp cannot convert `irr::core::stringw' to `char*' for argument `1' to `char* SendData(char*, char*)' what i am basically trying to do is convert the stringw to a char string. This is the SendData....
- Thu Feb 09, 2006 1:24 pm
- Forum: Beginners Help
- Topic: Stringw problem
- Replies: 23
- Views: 1074
hello, i have got some trouble converting a stringw to a char. this is the code atm stringw message = chat->getText().c_str(); stringw name = person->getText().c_str(); SendData(name, message); stringw data = SendData(name, message); it connects to a network code i wrote using sockets etc. and it us...
- Mon Feb 06, 2006 11:58 pm
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: HowTo: Add a ChatWindow class to your project
- Replies: 6
- Views: 2291