Search:

Type: Posts; User: |PiD|

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,534

    Arrays and tokens

    Hi
    I have created the below function to extract tokens from a buffer that has been input via the keyboard (stdin).
    e.g.
    inbuff: 22 33
    A call of: gettoken(' ') will put 22 into the token array.
    ...
  2. Thread: Token Problem

    by |PiD|
    Replies
    1
    Views
    1,064

    Token Problem

    lo
    I have created a function that reads characters from the keyboard into a buffer. It terminates on reading a return or on recieving 128 characters.

    I now want to create a function that will...
  3. Replies
    5
    Views
    1,916

    Thanks for all the help people, thoroughly...

    Thanks for all the help people, thoroughly appreciated :)
  4. Replies
    5
    Views
    1,916

    Don't want to use bubble sort

    Don't want to use bubble sort
  5. Replies
    5
    Views
    1,916

    Names into Alphabetic Order

    Lo all
    I am wanting to sort a list of names into alphabetic order, however, I don't want to use a 2d array. I can get it to work using a 2d array and qsort, but how would I go about using an array...
  6. Replies
    4
    Views
    15,351

    Sry heres the code from the word counting I have:...

    Sry heres the code from the word counting I have:



    #include <stdio.h>
    #include <string.h>
    #define MAX_LINE 80

    int main(void)
    {
  7. Replies
    4
    Views
    15,351

    Sry to bother agn, using strtok, how could I add...

    Sry to bother agn, using strtok, how could I add to this program by finding the longest and shortest words? Any relevant tips would be greatly appreciated
  8. Replies
    4
    Views
    15,351

    Thx hammer, sry to bore u with such a trivial...

    Thx hammer, sry to bore u with such a trivial question. Got it all sorted now thx 4 the help
  9. Replies
    4
    Views
    15,351

    strtok - word counting from a file

    Hey
    I have a piece of code that counts the number of words input by the user using strtok. However, I am struggling with converting this program to do the same thing but instead of the user...
Results 1 to 9 of 9