Hi, try it likle this, it should produce the output as you're asked for.
#include <stdio.h>
int main(void)
{
int y=0, z=0;
Type: Posts; User: micklarko
Hi, try it likle this, it should produce the output as you're asked for.
#include <stdio.h>
int main(void)
{
int y=0, z=0;
Hi,
I you could incorporate it into your "countwords function", by using another string to hold the characters as you check them and print them out to a new line when you find the end of a word....
sorry linuxdude,
look's like I was beten to the punch!
Try looking up strcat,
If you're trying to add one string to the end of another.
I think 0=space but I'm not 100%
place "counter = 2" before the while loop, instead of in the while argument, that should stop the infinite loop.
no, I'm from here originaly, I haven't been to university. are you or have you studied here?
The best advice I can give on buying a book is this. Don't buy a book just because other people have told you how good they found it, first pick up a book, go to a chapter of the book that you might...
Hello,
hope somebody can just point me in the right direction.
For all of my projects I've just been saving output whch is to be printed, to a text file. And later printed it out using note...