12345678910111213
#ifndef VALIDATE_HPP_INCLUDED #define VALIDATE_HPP_INCLUDED #include <cstdlib> void validate(int moose[], int wolves[], int argc, char argv[]) { if(argc == 3) { wolves[0] = std::atoi(argv[1]); moose[0] = std::atoi(argv[2]); } } #endif
void validate(int moose[], int wolves[], int argc, char argv[])
void validate(int moose[], int wolves[], int argc, char *argv[])