搜索资源列表
ExperimentsOfParallelAlgorithms
- 并行计算实验程序,包括多线程模拟并行、并行计算的数据结构、并行合并算法和链表、堆栈等的操作,等等。-Experimental procedures for parallel computing, including multi-threaded parallel simulation, parallel computing data structures, parallel algorithms and list the merger, the operation of the stack an
013
- 通过字符串操作模拟控制台的cd命令,要求至少完成 “cd 【目录名】”、“cd ..” 和“cd \” 三个命令。实例可以参考:开始->运行->cmd->键入上述三个命令观察提示符前的字符串变化,帮助可通过cd /?显示;可使用字符串处理函数。并用此程序练习和熟悉调试过程。 实验014:重写实验007和012,要求使用函数IsPrime实现判断一个数是否是素数,GCD返回两个数的最大公约数,LCM返回两个数的最小公倍数,并在main中调用。-Through the stri