Toggle navigation
Toggle navigation
This project
Loading...
Sign in
임에딘
/
experiment4
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
임에딘
2018-09-28 23:19:17 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f10723e37eff977d5df05a1c310104c90eb3bef2
f10723e3
1 parent
2d6032f0
implement exit function
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
4 deletions
echo.c
echo.c
View file @
f10723e
#include <stdio.h>
void
EXit
()
{
exit
(
1
);
}
int
main
()
{
char
Name
[
20
];
printf
(
"당신의 이름을 입력하세요: "
);
gets
(
Name
);
puts
(
Name
);
char
input
[
100
];
while
(
1
)
{
gets
(
input
);
puts
(
input
);
if
(
input
==
"exit"
)
EXit
();
}
printf
(
"
\n
"
);
return
0
;
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment