Dr. Mario 64 Password Tool Version 1.1
A command-line tool written in C++ that allows to generate and decode the passwords of Dr. Mario 64.
Loading...
Searching...
No Matches
StringFunctions.h
Go to the documentation of this file.
1// Dr. Mario 64 Password Tool
2// Copyright (C) 2020-present WaluigiBSOD (waluigibsod.github.io)
3//
4// This file is part of Dr. Mario 64 Password Tool.
5//
6// Dr. Mario 64 Password Tool is free software: you can redistribute it and/or modify
7// it under the terms of the GNU General Public License as published by
8// the Free Software Foundation, either version 3 of the License, or
9// (at your option) any later version.
10//
11// Dr. Mario 64 Password Tool is distributed in the hope that it will be useful,
12// but WITHOUT ANY WARRANTY; without even the implied warranty of
13// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14// GNU General Public License for more details.
15//
16// You should have received a copy of the GNU General Public License
17// along with this program. If not, see <https://www.gnu.org/licenses/>.
18
25
26#pragma once
27
28#include <string>
29
30#include "Constants.h"
31
32using namespace std;
33
34string _GetExecutableName(char* ExecutableFullPath);
35
36string _CenterString(string ToCenter = "", bool PrintBorder = true, unsigned int SpacingLeft = StringCenterLeftSpacing, unsigned int Width = StringCenterWidth);
37
38bool _OnlyDigits(char* String, unsigned int OffsetStart, unsigned int OffsetEnd);
39bool _OnlyDigits(char* String);
Constants.cpp's header file. It's used to import the program's constants inside every source file.
string _GetExecutableName(char *ExecutableFullPath)
Definition StringFunctions.cpp:41
bool _OnlyDigits(char *String, unsigned int OffsetStart, unsigned int OffsetEnd)
Definition StringFunctions.cpp:116
string _CenterString(string ToCenter="", bool PrintBorder=true, unsigned int SpacingLeft=StringCenterLeftSpacing, unsigned int Width=StringCenterWidth)
Definition StringFunctions.cpp:68