//Készítette:   Gregorics Tibor
//Dátum:        2008.12.06.
//Feladat:      Segédfüggvények számok billentyűzetről való beolvasásához

#ifndef _READ_
#define _READ_

#include <string>

bool ci(int k);
bool cd(double k);
bool Pos(int k);

int     ReadInt(std::string msg, std::string errormsg, bool cond(int) =  ci);
int     ReadNat(std::string msg, std::string errormsg, bool cond(int) =  ci);
double  ReadReal(std::string msg, std::string errormsg, bool cond(double) =  cd);

#endif
