📄 gradeall.pl
字号:
$handindir = "..\\handin";
$feedbacksubdir = "feedback";
opendir(DIR, $handindir)
or die print "Couldn't open $handindir\n";
@userdirs = grep(!/^\.\.?$/, readdir(DIR)); # elide . and .. from the list
@userdirs = sort(@userdirs);
closedir(DIR);
foreach $dir (@userdirs) {
`del debugmalloc.c`;
`copy $handindir\\$dir\\debugmalloc.c .`;
`nmake -f debugmalloc.mak CLEAN`;
`nmake -f debugmalloc.mak`;
`grader.pl > $handindir\\$dir\\$feedbacksubdir\\feedback.txt`;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -