- The Modern C++ Challenge
- Marius Bancila
- 68字
- 2021-06-25 22:01:26
22. Literals of various temperature scales
Write a small library that enables expressing temperatures in the three most used scales, Celsius, Fahrenheit, and Kelvin, and converting between them. The library must enable you to write temperature literals in all these scales, such as 36.5_deg for Celsius, 97.7_f for Fahrenheit, and 309.65_K for Kelvin; perform operations with these values; and convert between them.
推薦閱讀
- Hands-On Machine Learning with scikit:learn and Scientific Python Toolkits
- JavaScript高效圖形編程
- Leap Motion Development Essentials
- 動(dòng)手玩轉(zhuǎn)Scratch3.0編程:人工智能科創(chuàng)教育指南
- Three.js開(kāi)發(fā)指南:基于WebGL和HTML5在網(wǎng)頁(yè)上渲染3D圖形和動(dòng)畫(原書第3版)
- 名師講壇:Java微服務(wù)架構(gòu)實(shí)戰(zhàn)(SpringBoot+SpringCloud+Docker+RabbitMQ)
- PHP+MySQL+Dreamweaver動(dòng)態(tài)網(wǎng)站開(kāi)發(fā)實(shí)例教程
- QGIS By Example
- Visual Basic程序設(shè)計(jì)教程
- Go語(yǔ)言入門經(jīng)典
- Learning Alfresco Web Scripts
- Building Web and Mobile ArcGIS Server Applications with JavaScript(Second Edition)
- Java Web入門很輕松(微課超值版)
- Learning Perforce SCM
- Learning Swift