Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion XXIMovieCenter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@ struct Data{
struct Data *next;
}*head, *tail, *curr;

struct Data* generateMemorySpace(){
return (struct Data*)malloc(sizeof(struct Data));
}

struct Data *createNode(char name[], int duration){
struct Data *temp = (struct Data*)malloc(sizeof(struct Data));
struct Data *temp = generateMemorySpace();
strcpy(temp->name, name);
temp->duration = duration;
temp->next=NULL;
Expand Down
Binary file added XXIMovieCenter.exe
Binary file not shown.