You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
404 B
23 lines
404 B
#ifndef THEADMIRALS_OPERATIONHANDLER_H
|
|
#define THEADMIRALS_OPERATIONHANDLER_H
|
|
#include <stdbool.h>
|
|
|
|
bool checkOperationInput(int);
|
|
|
|
int* evaluateInput(char*, int);
|
|
|
|
bool containsTwoNumbers(const char*);
|
|
|
|
int extractFirstNumber(char*);
|
|
|
|
void outputInteger(int);
|
|
|
|
void outputDouble(double);
|
|
|
|
void outputFloat(float);
|
|
|
|
void outputLong(long);
|
|
|
|
void outputTemplate();
|
|
|
|
#endif //THEADMIRALS_OPERATIONHANDLER_H
|