Advertisement
Guest User

Untitled

a guest
Jul 25th, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. //
  2. // main.cpp
  3. // 11718-01
  4. //
  5. // Created by dhpark on 7/25/17.
  6. // Copyright © 2017 dhpark. All rights reserved.
  7. //
  8. // 그대로 출력하기
  9.  
  10. #include <cstdio>
  11.  
  12. char str[101];
  13.  
  14. int main(int argc, const char * argv[]) {
  15. while (scanf(" %101[^\n]s", str) != EOF) {
  16. printf("%s\n", str);
  17. }
  18. return 0;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement