Pas de benchmark
This commit is contained in:
parent
62390227dc
commit
693962db43
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
|||
void erreurArguments(char const * nom_programme) {
|
||||
std::cerr << "Arguments mal renseignés." << std::endl;
|
||||
std::cout << "Usage : " << nom_programme << " m n nb_moutons nb_loups" << std::endl;
|
||||
std::cout << "Usage : " << nom_programme << " -b/--benchmark m n [e]" << std::endl;
|
||||
/* std::cout << "Usage : " << nom_programme << " -b/--benchmark m n [e]" << std::endl; */
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
@ -13,7 +13,7 @@ void erreurArguments(char const * nom_programme) {
|
|||
// nb_moutons = nombre de moutons
|
||||
// nb_loups = nombre de loups
|
||||
int main(int argc, char const * argv[]) {
|
||||
if(argc != 1 && argc != 4 && argc != 5) {
|
||||
if(argc != 1 /* && argc != 4 */ && argc != 5) {
|
||||
erreurArguments(argv[0]);
|
||||
}
|
||||
int m, n, nb_moutons, nb_loups;
|
||||
|
|
Reference in a new issue