码迷,mamicode.com
首页 >  
搜索关键字:python.h:no such file    ( 50992个结果)
EOF产生错误的原因
假定在“data.txt”文档中存放了1 2 3 fstream file; 1 fstream file; 2 file.open("data.txt"); 3 if (!file) cout << "错误!未找到文件!" << endl; 4 5 while(!file.eof()) //!!e ...
分类:其他好文   时间:2020-05-02 20:49:50    阅读次数:53
3、递归(动态规划思想)
# -*- coding:utf-8 -*-#@Time : 2020/5/2 11:06#@Author: Aluosen#@File : Recurrence.py##进制转换def toStr(n,base): convertString = '0123456789ABCDEF' if n < ...
分类:其他好文   时间:2020-05-02 20:46:19    阅读次数:75
Java中的目录操作
创建目录: File类中有两个方法可以用来创建文件夹: mkdir( )方法创建一个文件夹,成功则返回true,失败则返回false。失败表明File对象指定的路径已经存在,或者由于整个路径还不存在,该文件夹不能被创建。 mkdirs()方法创建一个文件夹和它的所有父文件夹。 import java ...
分类:编程语言   时间:2020-05-02 18:52:01    阅读次数:58
go 文件读写操作
一、读文件操作 func FileRead(path string) { file, err := os.Open(path) if err != nil { fmt.Println("open file err=", err) } rb := make([]byte, 1024, 1024) fo ...
分类:其他好文   时间:2020-05-02 18:33:14    阅读次数:63
使用PGP Desktop 10实现加密信息传输
1.PGP Desktop 10程序下载 下载链接:http://www.downxia.com/downinfo/274995.html 2.PGP Desktop 10程序安装 1.PGP Desktop 10安装 1.进入setup,根据系统版本选择对应安装程序进行安装,安装过程较慢,请勿着急 ...
分类:其他好文   时间:2020-05-02 17:08:37    阅读次数:126
1144 The Missing Number (20分)
Given N integers, you are supposed to find the smallest positive integer that is NOT in the given list. Input Specification: Each input file contains ...
分类:其他好文   时间:2020-05-02 14:56:53    阅读次数:58
1147 Heaps (30分)
In computer science, a heap is a specialized tree-based data structure that satisfies the heap property: if P is a parent node of C, then the key (the ...
分类:其他好文   时间:2020-05-02 14:47:58    阅读次数:59
C#调用exe程序
private void ExecCheckExe(){ string exefile = "d:\\chktool\\checktool.exe"; if (File.Exists(exefile)) { Process process = new Process(); ProcessStartI ...
分类:Windows程序   时间:2020-05-02 11:59:20    阅读次数:68
2、链表(python实现)
# -*- coding:utf-8 -*-#@Time : 2020/5/2 0:01#@Author: Aluosen#@File : Linklist.py#节点Nodeclass Node: def __init__(self,initdata): self.data = initdata ...
分类:编程语言   时间:2020-05-02 11:49:04    阅读次数:65
批量IP转换成C段
# -*- coding: utf-8 -*- """ @Time : 2020/1/3 16:32 @Auth : oliver @File :ip-c.py @IDE :PyCharm """ def ipToc(ip): ip_c =ip.split('.') # print len(ip_c ...
分类:其他好文   时间:2020-05-02 11:46:36    阅读次数:262
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!