摘要: 问题:十进制下的小数转为二进制下的小数。 方法:取一个小数,如0.4。按照如下方式:'|'左边的2是乘数,'%'右边是余数 2 | 0.4 2 | 0.8 % 0 2 | 0.6 % 1 2 | 0.2 % 1 2 | 0.4 % 0 ...(循环往复) 中间一列(0.4, 0.8, 0.6, 0. 阅读全文
posted @ 2020-05-04 20:34 西伯利亚虎 阅读(4201) 评论(0) 推荐(0) 编辑
摘要: 用例1: #include<iostream> using namespace std; int main(int argc, char* argv[]) { //system("pause"); return 0; } assembly: #include<iostream> using name 阅读全文
posted @ 2020-05-04 19:27 西伯利亚虎 阅读(736) 评论(0) 推荐(0) 编辑

Permanence, perseverance and persistence in spite of all obstacles, discouragements and impossibilities: It is this, that in all things distinguishes the strong soul from the weak.