like i just want the maximum word length to be 9. And i meant in the main function i have char *buffer = NULL and then i pass that into the splitString. Well in my first post i have it called char...
Type: Posts; User: Smithy
like i just want the maximum word length to be 9. And i meant in the main function i have char *buffer = NULL and then i pass that into the splitString. Well in my first post i have it called char...
ok. but how do i make sure that a word is not over 9 chars, and if it is, print it on a new line as a seperate word. ie fantastable, prints, fantastab and le. Just a simple if statement? Also this...
so i need to get the strings in from the file using fgets? And each word can only be 9 chars long. How do i incorporate that. Like I get what that's doing, its just going through until it hits a...
Hi there. Im trying to extract words from a file and print them out one by one. Eg if the file contained "The flying machine" it will print to stdout on separate lines,
"The"
"flying"
"machine"...