-
unknownexercice
#include < stdlib.h >
#include < stdio.h >
#include < sys/types.h >
#include < sys/stat.h >
#include < fcntl.h >
int 主要 (int argc、 char *argv[])
{
int fd、 fd2、 fd3 ;
int i;
浅黄色 char [10] ;
fd=open(argv[1],O_RDONLY) ;
if(fd2=open(argv[2],O_WRONLY) = =-1)
{
fd3 = 共创 (argv [2],S_IRUSR |S_IWUSR) ;
read(fd,buff,10) ;
write(fd3,buff,10) ;
}
其他
{
fd2=open(argv[2],O_TRUNC) ;
read(fd,buff,10) ;
write(fd2,buff,10) ;
}
返回 0 ;
}
- 2023-05-04 19:30:03下载
- 积分:1
-
素性检测的Java程序
素性检测的Java程序-Primality Testing Java programs
- 2022-02-24 16:52:29下载
- 积分:1
-
机械设计优化的鲍威尔无约束优化方法…
机械优化设计,鲍威尔法无约束优化程序,程序可以在vc6.00++环境运行-Optimization of Mechanical Design, Powell method for unconstrained optimization procedure, the procedure can vc6.00++ Environment running
- 2022-08-16 00:47:09下载
- 积分:1
-
小波变换
- 2023-04-22 14:30:03下载
- 积分:1
-
魔幻方块!输入魔方的阶数n(n为奇数)后,使得魔方的行、列和对角线的值都相等...
魔幻方块!输入魔方的阶数n(n为奇数)后,使得魔方的行、列和对角线的值都相等-magic squares! Cube importation of order n (n is odd), the Cube makes rows and columns and diagonal values are equal
- 2022-02-01 14:26:18下载
- 积分:1
-
模拟退火算法介绍,来自某一论坛,既有简介又有不同人的讨论,值得仔细揣摩、...
模拟退火算法介绍,来自某一论坛,既有简介又有不同人的讨论,值得仔细揣摩、-Simulated annealing algorithm introduction, from a forum for both brief and the discussion of different people, it is worth carefully try to figure out,
- 2022-08-17 06:03:06下载
- 积分:1
-
中国象棋 王小春
中国象棋 王小春 源码。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
- 2022-03-03 00:09:53下载
- 积分:1
-
mathematical formula, all the mathematical formula can be obtained directly, a v...
数理公式,所有的数学公式都可以直接得到,非常方便-mathematical formula, all the mathematical formula can be obtained directly, a very convenient
- 2022-03-20 19:05:15下载
- 积分:1
-
EMD分解C语言算法,内含EMD分解所需的三次样条插值C语言算法。...
EMD分解C语言算法,内含EMD分解所需的三次样条插值C语言算法。-EMD decomposition algorithm C language, containing the decomposition EMD cubic spline interpolation algorithm C language.
- 2022-01-26 07:12:25下载
- 积分:1
-
这是一个求解数学问题:半径计算圆的周长和面积
这是一个求解数学问题:半径计算圆的周长和面积-This is a mathematical problem solving : Radius calculated the circumference of a circle and area
- 2023-03-15 19:25:03下载
- 积分:1