#include <stdio.h>
#include <stdlib.h>
typedef char DATATYPE2;
typedef struct node
{
DATATYPE2 data;
struct node* next;
} LINKLIST;
LINKLIST* hcreate()
{
LINKLIST* head = (LINKLIST*)malloc(sizeof(LINKLIST));
head->next = NULL;
LINKLIST* p = head;
char ch;
while ((ch = getchar()) != '\n')
{
LINKLIST* newNode = (LINKLIST*)malloc(sizeof(LINKLIST));
newNode->data = ch;
newNode->next = NULL;
p->next = newNode;
p = newNode;
}
return head;
}
int main()
{
LINKLIST* head = hcreate();
return 0;
}