Created
June 12, 2020 09:50
-
-
Save uhziel/45b40dccbdba3cd1b409b811d898d672 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <windows.h> | |
int main() { | |
DWORD t1 = 4294967295; | |
DWORD t2 = 2; | |
DWORD delta = t2 - t1; | |
std::cout << "DWORD delta:" << delta << std::endl; | |
unsigned long long lt1 = 4294967295; | |
unsigned long long lt2 = 2; | |
unsigned long long ldelta = lt2 - lt1; | |
std::cout << "unsigned long long delta:" << ldelta << std::endl; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment