Search found 7 matches

by kamadian
Fri Feb 17, 2006 2:09 pm
Forum: Beginners Help
Topic: How do even download the irrlicht game engine?
Replies: 20
Views: 2831

yes as 60%+ of the worlds population are stupid idiots :) that would make this exact problem (lack of common sense)
by kamadian
Mon Feb 13, 2006 2:06 am
Forum: Beginners Help
Topic: Stringw problem
Replies: 23
Views: 1711

probably going way of topic now, but heck, i have a wierd problem :P

Code: Select all

212 C:\dark chasis\Engine\network_chat2\chat.cpp invalid conversion from `int' to `int*' 
by kamadian
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: 2473

hey tis all kool, atm i am using irrilcht alone for a chat system, using the list box and then an edit box and a button :)

gonna try out ur chat system though :D
by kamadian
Sat Feb 11, 2006 12:31 am
Forum: Beginners Help
Topic: Stringw problem
Replies: 23
Views: 1711

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 ...
by kamadian
Thu Feb 09, 2006 6:36 pm
Forum: Beginners Help
Topic: Stringw problem
Replies: 23
Views: 1711

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 ...
by kamadian
Thu Feb 09, 2006 1:24 pm
Forum: Beginners Help
Topic: Stringw problem
Replies: 23
Views: 1711

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 ...
by kamadian
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: 2473

i would like to know how to, if you press "enter" it allows you to type in a message and press enter again to submit it?

i see the class etc. and everything, but i dont exaxctly understand how you add words to the window :|


i also get a ton of errors, and i didnt copy and paste i typed it all out ...