Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

큰 숫자(Big Integer) 클래스를 구현해보자. #4

Open
14 tasks
jklim1253 opened this issue Jan 2, 2016 · 0 comments
Open
14 tasks

큰 숫자(Big Integer) 클래스를 구현해보자. #4

jklim1253 opened this issue Jan 2, 2016 · 0 comments

Comments

@jklim1253
Copy link
Owner

큰 숫자를 표현할 수 있는 클래스를 구현하여 보자.

  • 사칙연산이 가능해야 한다.
    • 덧셈 : operator +
    • 뺄셈 : operator -
    • 곱셈 : operator *
    • 나눗셈 : operator /
  • 쉽게 출력이 가능해야 한다.
    • 콘솔창에 출력 : cout << ...
    • 문자열로 출력 : ....str()
  • 크기 비교가 가능해야 한다.
    • 같은가, 다른가 : operator ==, operator !=
    • 큰가, 크거나 같은가 : operator >, operator >=
    • 작은가, 작거나 같은가 : operator <, operator <=
  • 음수 표현이 가능해야 한다.
    • 음수에서도 위 정의된 것이 모두 가능해야 한다.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant