Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
639 B
1
Indexable
Never
#ifndef INPUT_PROT_H_INC
#define INPUT_PROT_H_INC

#include <iostream>
#include <limits>

void validate_input_range(double & number, const std::string & booo);

void validate_input_limits(double & numbermax, const std::string & erron);

void validate_input_positive(double & numberpositive, const std::string & errod);

void validate_input_positive(long & longnum, const std::string & errorm);

void validate_input_range(long & longrng, const std::string & errom);

void validate_input_limits(long & longmax, const std::string & error);

void validate_input_limits(char & charthing, const std::string & errorm);

#endif