created noOutput function

let's play a game - I will not explain what it does and you'll start thinking about it
This commit is contained in:
Václav Šmejkal 2022-06-12 16:17:09 +02:00
parent 7245b03a37
commit c5de589fff
No known key found for this signature in database
GPG Key ID: FD749A97DF2D5E19
2 changed files with 6 additions and 0 deletions

View File

@ -49,6 +49,7 @@ static unsigned long keyLength = 50; //LENGTH OF KEY > DO NOT TOUCH THIS, US
//GETTERS
unsigned long getKeyLength();
inputFlags noFlags(); //THIS GENERATES inputFlags WITH DEFAULT VALUES
outputFlags noOutput(); //SAME AS noFlags() BUT FOR outputFlags
//SETTERS
void setKeyLength(int keyLengthNew);

View File

@ -10,6 +10,11 @@ inputFlags noFlags()
return (inputFlags) {0, 0, 1};
}
outputFlags noOutput()
{
return (outputFlags) {"", "", 0, 0};
}
void setKeyLength(int keyLengthNew)
{
keyLength = keyLengthNew;