Search:

Type: Posts; User: x77

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    2,792

    Yes sorry I forgot to mention that I pass this...

    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...
  2. Replies
    5
    Views
    2,792

    sizeof pointer array

    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
  3. Replies
    4
    Views
    13,149

    Thanks for all!

    Thanks for all!
  4. Replies
    4
    Views
    13,149

    strncmp like function in C#

    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)
    {
    ...
  5. Thread: Cant get a PONG

    by x77
    Replies
    7
    Views
    2,491

    Hi! Thank you for your help.

    Hi!

    Thank you for your help.
  6. Thread: Cant get a PONG

    by x77
    Replies
    7
    Views
    2,491

    It only prints out at stdout :irc.test.net...

    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...
  7. Thread: Cant get a PONG

    by x77
    Replies
    7
    Views
    2,491

    Hi! It means This is an example: The...

    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
  8. Thread: Cant get a PONG

    by x77
    Replies
    7
    Views
    2,491

    Cant get a PONG

    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);
Results 1 to 8 of 8