Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
William Sha
ai01_tp1
Commits
2a64cf29
Commit
2a64cf29
authored
Nov 18, 2017
by
Unknown
Browse files
Auto stash before merge of "master" and "origin/master"
parent
39364853
Changes
1
Hide whitespace changes
Inline
Side-by-side
main.c
View file @
2a64cf29
...
...
@@ -18,14 +18,14 @@ int main()
List
*
default_list
;
initialize
(
&
default_list
);
if
(
default_list
->
head
==
NULL
)
printf
(
"NULL
\n
"
);
printf
(
"What do you want to add at the beginning ?"
);
/*
printf("What do you want to add at the beginning ?");
scanf("%s", str_number);
insert_empty_list(default_list, str_number);
printf
(
"
What do you want to add at the end ? "
);
printf("
%s\n", default_list->head->data
);
scanf("%s", test);
insert_end_list(default_list, test);
printf
(
"%p
\n
"
,
default_list
->
head
->
data
);
printf
(
"%
p
\n
"
,
default_list
->
tail
->
data
);
printf("%
c
\n", default_list->tail->data
[0]);*/
while
(
action
!=
8
){
if
(
DEBUG
)
printf
(
"Entering in a new menu prompt...
\n\n
"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment