Search:

Type: Posts; User: Whilst

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    2,038

    i want to make tokenize a function so that i...

    i want to make tokenize a function so that i could reuse it everytime there's a new string to be tokenized. i followed the code from the prelude but the tokenize mechanism is in the main function.
    ...
  2. Replies
    6
    Views
    2,038

    should i initialize parameters as char...

    should i initialize parameters as char **parameters instead?
  3. Replies
    6
    Views
    2,038

    tokenize a string

    help me out.


    #include <stdio.h>
    #include <string.h>

    #define DELIM " , \n"
    #define MAXWORD 80
    #define MAXLEN 20
  4. i got a hint for the project today saying I need...

    i got a hint for the project today saying I need to have a receiving() function threaded so it will refresh things up everytime the program receives something. would that make sense?
  5. Thanks for the tip on the MAX TOKEN, and sorry...

    Thanks for the tip on the MAX TOKEN, and sorry for the insufficient array size indication. just shows how poor a programmer I am.



    That's exactly where I'm lost. How do I write return...
  6. I'd appreciate if you take a look on my previous...

    I'd appreciate if you take a look on my previous questions too, like strcopy()ing tokenized components to a 2d-array and the comments I've got from my template of code.
  7. You are right. Those are unimportant information...

    You are right. Those are unimportant information such as compiling issues, non-functional requirements etc.



    That's what I was thinking from day 1 I received this work. So, I will just put...
  8. third question

    #include <stdio.h>
    #include <string.h>
    #include <sys/types.h>
    #include <sys/socket.h>
    #include <netinet/in.h>
    #include <errno.h>
    #include <stdlib.h>

    int main(int argc, char *argv[])
    {
  9. #include #include #include...

    #include <stdio.h>
    #include <string.h>
    #include <stdlib.h>
    #include <ctype.h>
    #include <unistd.h>

    tokenize(char string[])
    {
    char *string1;
    char value[10][20], j, i=0;
  10. first off..

    first off i need to learn threads and i found this:


    #include

    void *print_message_function( void *ptr );

    int main()
    {
    GThread *Thread1, *Thread2;
  11. okay then Ill start with my most basic problems....

    okay then Ill start with my most basic problems. but how do I post a code here? are there specific techniques? I have a Machine Problem1 partly done.
  12. (urgent) Multiplayer Poker game using Socket Programming

    I have this Project in School we have to make a Multiplayer Poker game using Socket Programming.

    We were not taught enough to dive into multithreaded programming and I am no expert in studying....
Results 1 to 12 of 13