Toggle navigation
Toggle navigation
This project
Loading...
Sign in
김준수
/
exp4_assignment
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
김준수
2019-10-04 19:24:33 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
33d200c127e0c728b460d66a264beff2e506e0ec
33d200c1
1 parent
0672eeb9
exit function by C
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletions
echo.c
echo.c
View file @
33d200c
#include<stdio.h>
#include<string.h>
void
exitfunc
()
{
char
a
[
80
];
do
{
scanf
(
"%s"
,
a
);
}
while
(
strcmp
(
"exit"
,
a
));
}
//C
int
main
(){
printf
(
"push push baby
\n
"
);
printf
(
" push push baby
\n
Type exit to exit
\n
"
);
exitfunc
();
return
0
;
}
...
...
Please
register
or
login
to post a comment