dlab-handout

所属分类:企业管理
开发工具:Visual C++
文件大小:27KB
下载次数:1
上传日期:2013-11-24 14:58:26
上 传 者tara1993
说明:  系统及编程作业,四川大学的软件学院,第一次实验课的作业,大家可以参考一下
(homework of Operating systems and programming from sichuan university software engineering )

文件列表:
dlab-handout\bits.c (6290, 2013-09-24)
dlab-handout\bits.h (499, 2002-08-16)
dlab-handout\btest.c (9254, 2002-08-16)
dlab-handout\btest.h (771, 2002-08-16)
dlab-handout\decl.c (1536, 2002-08-16)
dlab-handout\dlab.dsp (3893, 2002-08-16)
dlab-handout\dlab.dsw (516, 2013-09-24)
dlab-handout\dlab.ncb (66560, 2013-09-24)
dlab-handout\dlab.opt (48640, 2013-09-24)
dlab-handout\dlab.plg (1465, 2013-09-24)
dlab-handout\getopt.c (22350, 2002-08-16)
dlab-handout\getopt.h (4505, 2002-08-16)
dlab-handout\tailor.h (7760, 2002-08-16)
dlab-handout\tests.c (754, 2002-08-16)
dlab-handout\Debug (0, 2012-09-12)
dlab-handout (0, 2013-11-24)

The Data Lab Directions to Students Your goal is to modify your copy of bits.c so that it passes all the tests in btest without violating any of the coding guidelines. *************************************************** 1. Modifying bits.c and checking it for correctness *************************************************** Carefully read the instructions in the bits.c file before you start. These give the coding rules that you will need to follow if you want full credit. Carefully your solution for compliance with the coding rules. In particular, make sure you haven't used an illegal operator. Once you have a legal solution, you can test it for correctness using the btest.exe program. ***************************************** 2. Testing for correctness with btest.exe ***************************************** The dlab.dsw workspace file in this directory compiles your version of bits.c with additional code to create a program (or test harness) named btest.exe. ********************** 3. What btest.exe does ********************** Btest.exe tests your procedures for correctness by running a number of test cases. It does not guarantee exhaustive evaluation. In addition, it does not check your code for compliance with the coding guidelines. You will have to do that manually. Here are the command line options for btest.exe: -e N Limit number of errors to report for single function to N (Default unbounded) -f Name Check only the named function -g Prints concise report (implies -v 0 and -e 0) -h Print the list of options -v N Set verbosity to level N N=0 Only give final scores N=1 Also report individual correctness scores (default)

近期下载者

相关文件


收藏者