标题:命令行的输入
只看楼主
ZMX900507
Rank: 1
等 级:新手上路
帖 子:71
专家分:0
注 册:2015-1-8
结帖率:55.56%
 问题点数:0 回复次数:1 
命令行的输入
MDBlocks1.0.zip (106.95 KB)

   
第一个压缩文件是一个算法的下载文件,第二个文件是我下载后把它们组成的一个VC工程,这个工程可以运行也没有错误。但是该算法应该有命令行的输入
MDBLocks is invoked by the command "MDBlocks". It takes a single required argument, which is the data file name. The file name may be followed by two different options, "-g" and "-s". The "-g" option makes the program use the IADP (the iterated approximate dynamic programming algorithm) which is typically much faster than the default IDP (iterated dynamic programming algorithm) which is used when the "-g" option is not invoked. The "-s" option allows you to specify two random number seeds to seed the random number generator for dealing with missing data. The two numbers must be positive integers and must follow the "-s". Three example command lines are:

MDBlocks myfile.txt
MDBlocks myfile.txt -g
MDBlocks myfile.txt -g -s 23786 98733
但是我怎么改也还是找不到在哪里输入命令  让程序运行。
请大神帮忙  谢谢!
搜索更多相关主题的帖子: different required command 下载文件 dynamic 
2015-01-15 16:32
ZMX900507
Rank: 1
等 级:新手上路
帖 子:71
专家分:0
注 册:2015-1-8
得分:0 
回复 楼主 ZMX900507
M.zip (629.66 KB)

第二个文件  刚才没传上
2015-01-15 16:36



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-441138-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.275380 second(s), 9 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved