Change code here
This commit is contained in:
1 file changed
+3
-7
@@ -11,7 +11,7 @@ extern "C" NTSTATUS NTAPI RtlAdjustPrivilege(ULONG Privilege, BOOLEAN Enable, BO
|
|||||||
extern "C" NTSTATUS NTAPI NtRaiseHardError(LONG ErrorStatus, ULONG Unless1, ULONG Unless2, PULONG_PTR Unless3, ULONG ValidResponseOption, PULONG ResponsePointer);
|
extern "C" NTSTATUS NTAPI NtRaiseHardError(LONG ErrorStatus, ULONG Unless1, ULONG Unless2, PULONG_PTR Unless3, ULONG ValidResponseOption, PULONG ResponsePointer);
|
||||||
|
|
||||||
static void Win() {
|
static void Win() {
|
||||||
std::cout << "You didn't fuck up. Congrats!" << std::endl;
|
std::cout << "Congrats, you win!" << std::endl;
|
||||||
|
|
||||||
std::cout << "Press Enter to exit...\n";
|
std::cout << "Press Enter to exit...\n";
|
||||||
std::cin.get();
|
std::cin.get();
|
||||||
@@ -46,12 +46,8 @@ int main() {
|
|||||||
|
|
||||||
int result = std::rand() % 2;
|
int result = std::rand() % 2;
|
||||||
|
|
||||||
if (result == 0) {
|
if (result == 0) Win();
|
||||||
Win();
|
else Lose();
|
||||||
}
|
|
||||||
else {
|
|
||||||
Lose();
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user