随笔分类 -  备忘

摘要:fstream: #include<iostream> #include<fstream> using namespace std; int main(){ ofstream os("C:\\Users\\Administrator\\Desktop\\ifile.txt",ios::app); / 阅读全文
posted @ 2017-12-18 10:35 A-Little-Nut 阅读(516) 评论(0) 推荐(0)
摘要:控制位数和填充0 1.如果是C语言那么用 printf("%05d", a); 2.如果是C++ #include <iostream>#include <iomanip> //包括这个头文件using namespace std;void main(){int a = 33;cout<<setw( 阅读全文
posted @ 2017-12-18 10:32 A-Little-Nut 阅读(275) 评论(0) 推荐(0)
摘要:激活windows10 1.用cmd命令: 自己动手,KMS激活win10 2016 长期服务版。步骤如下:命令提示符(管理员),依次输入以下3条命令slmgr /ipk DCPHK-NFMTC-H88MJ-PFHPY-QJ4BJslmgr /skms xykz.f3322.orgslmgr /at 阅读全文
posted @ 2017-12-18 10:30 A-Little-Nut 阅读(4064) 评论(1) 推荐(0)