Yes sorry I forgot to mention that I pass this pointer array to a function.
But I think its not comfortable to pass the number of elements to a function because it should be a string function and...
Type: Posts; User: x77
Yes sorry I forgot to mention that I pass this pointer array to a function.
But I think its not comfortable to pass the number of elements to a function because it should be a string function and...
Hi all!
Is there any short way to get the number of elements in an pointer array?
for example
char *s2[3];
int count = sizeof(s2)/sizeof(s2[0]); shows me 1
Thanks for all!
Hi all!
I try to code a strncmp like function in C# but it does not work.
Thanks for any help or comments :-)!
public static int strncmp (string s1, string s2, int num)
{
...
Hi!
Thank you for your help.
It only prints out at stdout
:irc.test.net NOTICE AUTH :*** Looking up your hostname...
:irc.test.net NOTICE AUTH :*** Found your hostname
PING :X7019375...
Hi!
It means
This is an example:
The server send a PING like
PING :B335AC1B
The client must answer with the same like
PONG:B335AC1B
Hi all!
I'm trying to get a PONG anwser but it doesn't work :(
Here is my code from my simple ircbot
printf("\n%s", timebuffer);