重定向 输出重定向 进程产生的信息,存放到文件中 标准正确输出: > 标准错误输出: 2> 标准混合输出: &> 输入重定向 < 以文本内容,作为进程的标准输入 FD简介 文件句柄是windows系统的概念,在linux下称之为文件描述符FD(file description) 进程使用文件描述符在 ...
分类:
其他好文 时间:
2021-01-20 12:03:22
阅读次数:
0
Project ERROR: Cannot run target compiler '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++'. Output: Ma ...
分类:
移动开发 时间:
2021-01-20 11:51:37
阅读次数:
0
TFileStream.Create(FInstallFileName, fmCreate or fmShareExclusive); 这一句在android下执行,出错,提示: Cannot create file "/stroage/emulated/0/Documents/com.kingla ...
分类:
移动开发 时间:
2021-01-19 12:10:33
阅读次数:
0
CF1461B Find the Spruce 题目大意: 求指定类型图案的数量。 思路: 一个很巧妙的递推式。 注意从下往上进行递推。 Code: #include <bits/stdc++.h> using namespace std; const int N = 510; int n, m; ...
分类:
其他好文 时间:
2021-01-19 11:39:58
阅读次数:
0
6.文件查找 与搜索相关的命令常用的有whereis、which、find和locate。 whereis简单快速 whereis <关键词> whereis搜索很快,因为其并没有从硬盘中依次查找,而是直接从数据库中查询。缺点是只能搜索二进制文件(-b)、man帮助文件(-m)和源代码文件(-s)。 ...
分类:
系统相关 时间:
2021-01-18 11:07:41
阅读次数:
0
public class test11 { public static void main(String[] args) { int [][]grid={{1,0,0,0},{1,1,0,0}}; int [][]hits={{1,1},{1,0}}; int []result=hitBricks( ...
分类:
其他好文 时间:
2021-01-18 10:36:45
阅读次数:
0
This time, you are supposed to find A×B where A and B are two polynomials. Input Specification: Each input file contains one test case. Each case occu ...
分类:
其他好文 时间:
2021-01-16 12:09:45
阅读次数:
0
mongo --port 端口 查看用户use admindb.system.users.find().pretty() 查询操作次数db.serverStatus().opcounters 查看参数use admindb.adminCommand({getParameter:"*"})因为mgse ...
分类:
其他好文 时间:
2021-01-16 11:54:15
阅读次数:
0
##文件添加新的类以后notebook查询不到 在使用jupyter notebook的时候 当在自己写的函数库中新增了新的函数名或类想要调用的时候却一直提醒没有找到这个内容 Cannot import name 可以先试试重启并编译全部内容 有可能是因为之前你使用过这个py文件,导致其内容已经放在 ...
分类:
其他好文 时间:
2021-01-16 11:53:47
阅读次数:
0
用MDK调试一块STM32F207的程序,想查看一下变量却发现watch窗口总是 <not in scope>和<cannot evaluate>,无奈凑合着通过printf函数进行串口打印查看。1 编译器把这个局部变量给优化掉了,并没有在内存中生成,果断把优化级别改为Level 0,重新编译,解决 ...
分类:
其他好文 时间:
2021-01-14 10:35:05
阅读次数:
0