마이크로소프트에서 윈도우10에 있는 계산기의 소스코드를 공개했네요.
GitHub을 통해 공개하였으며, 라이센스는 MIT 입니다.
C++ , C#으로 작성 ....
https://github.com/Microsoft/calculator

Calculator
The Windows Calculator app is a modern Windows app written in C++ and C# that ships pre-installed with Windows. The app provides standard, scientific, and programmer calculator functionality, as well as a set of converters between various units of measurement and currencies.
Calculator ships regularly with new features and bug fixes. You can get the latest version of Calculator in the Microsoft Store.
Features
- Standard Calculator functionality which offers basic operations and evaluates commands immediately as they are entered.
- Scientific Calculator functionality which offers expanded operations and evaluates commands using order of operations.
- Programmer Calculator functionality which offers common mathematical operations for developers including conversion between common bases.
- Date Calculation functionality which offers the difference between two dates, as well as the ability to add/subtract years, months and/or days to/from a given input date.
- Calculation history and memory capabilities.
- Conversion between many units of measurement.
- Currency conversion based on data retrieved from Bing.
- Infinite precision for basic arithmetic operations (addition, subtraction, multiplication, division) so that calculations never lose precision.
Getting started
Prerequisites:
-
Your computer must be running Windows 10, version 1803 or newer.
-
Install the latest version of Visual Studio (the free community edition is sufficient).
- Install the "Universal Windows Platform Development" workload.
- Install the optional "C++ Universal Windows Platform tools" component.
- Install the latest Windows 10 SDK.
- .......
......
....
.....
License
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License.
감사합니다 :)
테마 튜닝, 시계 기능, 게임 기능... 음?!
지금은 고쳐졌어요.
/Vollago
}
아닌
func
{
}
이거 제 취향ㅋ