Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
[email protected] web/email now available. Want one? Go here.
Cannot use outlook/hotmail/live here to register as they blocking our mail servers. #microsoftdeez
Obey the Epel!

Paste

Pasted as C++ by registered user Ivan_32 ( 15 years ago )
void handle_chat (void)
{
 char* saidcom=0;
 char* said=0;
 saidcom = 'test'; 
 said = aw_string (AW_CHAT_MESSAGE);

if (strcmp(said,saidcom)==0) //StrCmp возвращает количество различий(неодинаковых символов) между двумя строками. 
{   
  printf ("%s just said "%s"n", aw_string (AW_AVATAR_NAME),
    aw_string (AW_CHAT_MESSAGE));
}

 

Revise this Paste

Your Name: Code Language: