Top Banner
C++ 프로그래밍 실습 14주차
11

C++ 프로그래밍실습sclab.konkuk.ac.kr/attachments/lecture/3/C++Exercise11.pdf · 2019-12-05 · KONKUK UNIVERSITY KONKUK UNIV. KONKUK UNIV. Favorites Recents Applications Downloads

Jan 15, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: C++ 프로그래밍실습sclab.konkuk.ac.kr/attachments/lecture/3/C++Exercise11.pdf · 2019-12-05 · KONKUK UNIVERSITY KONKUK UNIV. KONKUK UNIV. Favorites Recents Applications Downloads

C++ 프로그래밍 실습14주차

Page 2: C++ 프로그래밍실습sclab.konkuk.ac.kr/attachments/lecture/3/C++Exercise11.pdf · 2019-12-05 · KONKUK UNIVERSITY KONKUK UNIV. KONKUK UNIV. Favorites Recents Applications Downloads

Contents

• Exercise01~04

• Practice11

• Submit

Page 3: C++ 프로그래밍실습sclab.konkuk.ac.kr/attachments/lecture/3/C++Exercise11.pdf · 2019-12-05 · KONKUK UNIVERSITY KONKUK UNIV. KONKUK UNIV. Favorites Recents Applications Downloads

Exercise01

Page 4: C++ 프로그래밍실습sclab.konkuk.ac.kr/attachments/lecture/3/C++Exercise11.pdf · 2019-12-05 · KONKUK UNIVERSITY KONKUK UNIV. KONKUK UNIV. Favorites Recents Applications Downloads

Exercise02

Page 5: C++ 프로그래밍실습sclab.konkuk.ac.kr/attachments/lecture/3/C++Exercise11.pdf · 2019-12-05 · KONKUK UNIVERSITY KONKUK UNIV. KONKUK UNIV. Favorites Recents Applications Downloads

Exercise03

Page 6: C++ 프로그래밍실습sclab.konkuk.ac.kr/attachments/lecture/3/C++Exercise11.pdf · 2019-12-05 · KONKUK UNIVERSITY KONKUK UNIV. KONKUK UNIV. Favorites Recents Applications Downloads

Exercise04

Page 7: C++ 프로그래밍실습sclab.konkuk.ac.kr/attachments/lecture/3/C++Exercise11.pdf · 2019-12-05 · KONKUK UNIVERSITY KONKUK UNIV. KONKUK UNIV. Favorites Recents Applications Downloads

• 입력: 4칙 연산 수식이 저장된 텍스트 파일(calculation.txt) (1줄에 수식 하나, 줄 수는 제한 없음)

• 수식은 다음과 같이 연산자 1개만 포함하며 마지막에 ‘=’ 포함 (16진수 입력 가능, 단 16진수는 +, -, * 연산만 가능)

• 수식을 하나씩 읽어서 다음과 같은 형태로, result.txt에 저장, 출력하는 프로그램 작성

+ 1 2/ 3 2* 10 20– 0x10 0x05# 123 125. . .

. . . It is Wrong!0x10 – 0x05 = dec : 11 oct : 0013 hex : 0x0b 10 * 20 = dec : 200 oct : 0310 hex : 0xc8 3 / 2 = 1.51 + 2 = dec : 3 oct : 0003 hex : 0x03

Practice11

Page 8: C++ 프로그래밍실습sclab.konkuk.ac.kr/attachments/lecture/3/C++Exercise11.pdf · 2019-12-05 · KONKUK UNIVERSITY KONKUK UNIV. KONKUK UNIV. Favorites Recents Applications Downloads

• 공통사항

- 과제 제출 주소 : http://sclab.konkuk.ac.kr/lecture/homework/3

- 과제 제출 방법

• 홈페이지에 로그인(가입) 후 Lecture à C++ 프로그래밍à 과제제출 페이지에서

과제 압축 후 업로드하여 제출

(반드시 압축하여 제출 해야하며, 제출 기한 엄수)

• 압축 파일명 다음과 같이 지킬 것, 미 준수 시 미 채점

학번_이름.zip

• 과제

- 실습 시간에 작성한 cpp파일들을 압축하여 보내기

- 제출기한 : 해당 실습 수업일 자정까지

Submit

압축 예시

Page 9: C++ 프로그래밍실습sclab.konkuk.ac.kr/attachments/lecture/3/C++Exercise11.pdf · 2019-12-05 · KONKUK UNIVERSITY KONKUK UNIV. KONKUK UNIV. Favorites Recents Applications Downloads

1) 제출하기 클릭

2) 제출 파일 업로드

Submit

Page 10: C++ 프로그래밍실습sclab.konkuk.ac.kr/attachments/lecture/3/C++Exercise11.pdf · 2019-12-05 · KONKUK UNIVERSITY KONKUK UNIV. KONKUK UNIV. Favorites Recents Applications Downloads

4) 제출 한 과제 확인 및 필요시 수정

Submit

Page 11: C++ 프로그래밍실습sclab.konkuk.ac.kr/attachments/lecture/3/C++Exercise11.pdf · 2019-12-05 · KONKUK UNIVERSITY KONKUK UNIV. KONKUK UNIV. Favorites Recents Applications Downloads

• Teaching assistant 박호림

• Office : 신공학관 1216호(SCLab)

• Email : [email protected]

• 수업 관련 질문이 있을 시 위의 메일로 연락 부탁드립니다.

Q&A