文件名称:lab1.tar
介绍说明--下载内容均来自于网络,请自行研究使用
write some function with logical sign-ou will provide your solution to the Data Lab by
editing the collection of functions in this source file.
CODING RULES:
Replace the "return" statement in each function with one
or more lines of C code that implements the function. Your code
must conform to the following style:
int Funct(arg1, arg2, ...) {
/* brief descr iption of how your implementation works*/
int var1 = Expr1
...
int varM = ExprM
varJ = ExprJ
...
varN = ExprN
return ExprR
}
Each "Expr" is an expression using ONLY the following:
1. Integer constants 0 through 255 (0xFF), inclusive. You are
not allowed to use big constants such as 0xffffffff.
2. Function arguments and local variables (no global variables).
3. Unary integer operations ! ~
4. Binary integer operations & ^ |+ << >>
Some of the problems restrict the set of allowed operators even further.
Each "Expr" may consist of multiple
editing the collection of functions in this source file.
CODING RULES:
Replace the "return" statement in each function with one
or more lines of C code that implements the function. Your code
must conform to the following style:
int Funct(arg1, arg2, ...) {
/* brief descr iption of how your implementation works*/
int var1 = Expr1
...
int varM = ExprM
varJ = ExprJ
...
varN = ExprN
return ExprR
}
Each "Expr" is an expression using ONLY the following:
1. Integer constants 0 through 255 (0xFF), inclusive. You are
not allowed to use big constants such as 0xffffffff.
2. Function arguments and local variables (no global variables).
3. Unary integer operations ! ~
4. Binary integer operations & ^ |+ << >>
Some of the problems restrict the set of allowed operators even further.
Each "Expr" may consist of multiple
(系统自动生成,下载前可以参看下载内容)
下载文件列表
71477224lab1.tar