Ok I got the spaces but how do you integrate the words erase in this code?
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#define MAXLINE 128
int read_a_line(char * line);
Type: Posts; User: mister_s
Ok I got the spaces but how do you integrate the words erase in this code?
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#define MAXLINE 128
int read_a_line(char * line);
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#define MAXLINE 128
int read_a_line(char * line);
int the_end(char*line);
void add_punct(char*line);
void capitalize(char*line);...
I'm trying to make a simple spelling corrector and I'm having some trouble.
Let's say I have: "This is a spelling corrector."
How can I write a function to delete the unnessecary spaces...