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.
...
Type: Posts; User: |PiD|
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.
...
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...
Thanks for all the help people, thoroughly appreciated :)
Don't want to use bubble sort
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...
Sry heres the code from the word counting I have:
#include <stdio.h>
#include <string.h>
#define MAX_LINE 80
int main(void)
{
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
Thx hammer, sry to bore u with such a trivial question. Got it all sorted now thx 4 the help
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...