Добавил io

This commit is contained in:
2024-12-03 13:43:20 +03:00
parent ac9f397041
commit dea4067621
5 changed files with 122 additions and 15 deletions

15
lab1/io.h Normal file
View File

@@ -0,0 +1,15 @@
#pragma once
#define _CRT_SECURE_NO_WARNINGS
#include <iostream>
void clearBuffer();
char* inputString(int maxLen);
int inputNumber(int minVal, int maxVal);
int inputNumber(int minVal);
bool userApprove();
void waitForEnter();