⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gradeall.pl

📁 SSD6网上教程全部练习及答案 原版的正确答案
💻 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 + -