mirror of
https://github.com/cpm-cmake/CPM.cmake.git
synced 2025-11-18 15:17:30 -05:00
13 lines
222 B
C++
13 lines
222 B
C++
|
|
#include <xxh3.h>
|
||
|
|
|
||
|
|
#include <iostream>
|
||
|
|
|
||
|
|
int main() {
|
||
|
|
std::string example = "Hello World!";
|
||
|
|
XXH64_hash_t hash = XXH3_64bits(example.data(), example.size());
|
||
|
|
|
||
|
|
std::cout << "Hash: " << hash << std::endl;
|
||
|
|
|
||
|
|
return 0;
|
||
|
|
}
|