#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#define MAXWORD 100
/*Author Stat: founded 2017 11 26*/
static int count_line = 1;
struct line{
int line;
struct line *next;
};
struct tnode{
char *word;
struct line *start;
struct tnode *next;
};
struct tnode *addItem(struct tnode *,char *);
struct line *addlines(struct line *);
void showItem(struct tnode *);
void showLine(struct line *);
struct tnode *Ialloc(void);
struct line *Lalloc(void);
char *walloc(char *);
int getword(char *,int);
int Nonrealword(char *);
int main(void)
{
struct tnode *head;
char word[MAXWORD];
head = NULL;
while(getword(word,MAXWORD) != EOF)
if(Nonrealword(word))
if(isalpha(word[0]))
head = addItem(head,word);
printf("%33
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#define MAXWORD 100
/*Author Stat: founded 2017 11 26*/
static int count_line = 1;
struct line{
int line;
struct line *next;
};
struct tnode{
char *word;
struct line *start;
struct tnode *next;
};
struct tnode *addItem(struct tnode *,char *);
struct line *addlines(struct line *);
void showItem(struct tnode *);
void showLine(struct line *);
struct tnode *Ialloc(void);
struct line *Lalloc(void);
char *walloc(char *);
int getword(char *,int);
int Nonrealword(char *);
int main(void)
{
struct tnode *head;
char word[MAXWORD];
head = NULL;
while(getword(word,MAXWORD) != EOF)
if(Nonrealword(word))
if(isalpha(word[0]))
head = addItem(head,word);
printf("%33