- 博客(15)
- 收藏
- 关注
原创 OS learning
在centos中调用命令行是通过终端terminal 具体的.c文件执行后生成对应的.exe file ,随后./**进行引用即可 后面是命令行参数prompt> ./cpu A & ; ./cpu B & ; ./cpu C & ; ./cpu D &[1] 7353[2] 7354[3] 7355[4] 7356ABDCABDCACBD在li
2018-01-27 09:44:53
16449
原创 Windows下构建和发布Python模块过程中遇到的问题
1. C:\Program’不是内部或外部命令,也不是可运行的程序http://blog.youkuaiyun.com/clwwlc/article/details/211371912. Windows下如何构建和发布Python模块一开始是setup.py里面的第一个括号写在第二行了,所以全是红×随后setup写完之后进入不了文件,没写cd/d随后是Python位置出现错误一的情况http://blo
2017-10-11 22:10:13
244
原创 3.DataStructure Cp2 T1 Singly-Linked Node
2. DataStructure Cp2 T1 Singly-Linked Nodethis one is quite similar with doubly-linked linknodesinglelinknode.h#include"stdafx.h"#include"targetver.h"#ifndef singlelinknode_h#define singlelinknode_
2017-09-22 15:07:19
309
原创 简单程序
1. 处理有理数工具//Simplist function summarystruct rationT{ int num; int den;};rationT detra(rationT r1){ int i = 0; int m, d; if (r1.den > r1.num) { m = r1.num;
2017-09-14 21:33:26
248
原创 RECOMPILE
1. Eight Queens Problem2. Link Node3. Joseph circle对于三个就删除的单循环节点 用书上的方法一个接一个直接操作比我写这种判定方式简单//Link notestruct linknote{ double data; linknote*next;};int main(){ linknote*head, *end,*p
2017-09-09 21:26:25
398
原创 I/O compile
write-file//#include "stdafx.h"#include<iostream>#include <string>#include<stdio.h>#include<cstring>#include<array>#include<fstream>using namespace std;//ostream define cout ,display on the scr
2017-07-02 21:35:43
146
原创 C++primer--Cp5
5.2 factorialint main(){ const int size = 16; array<long long, size>factorial; factorial[0] = factorial[1] = 1LL; for (int i = 2; i < size; i++ ) { factorial[i] = i*factor
2017-07-01 19:14:13
181
原创 C++ Premer--Cp2,3,4
2.4 Age problem [rather easy]#include "stdafx.h"#include<iostream>#include<stdio.h>using namespace std;void minute(int t, int h);int main(){ int n,m,t,s,h; cout << "please input \t mi
2017-06-30 20:06:07
421
原创 ALGORITHM 4.1-5
Nonrecursive, linear-time algorithmMax-subarray-problemthis is intriguing for that: first you should know : if n=j,what’s the maximum of the subarray; what’s the maximum of the other subarray,and yo
2017-06-29 11:26:55
256
原创 ALGORITHM 4.1-2
CONSOLE APPLICATION 3analyse problemProposal max-subarray-problem [O(n^2)]brute-force algorithm:#include "stdafx.h"#include<iostream>#include<stdio.h>using namespace std;//brute-force algorithmint ma
2017-06-29 09:19:32
320
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人