4 ms·
If it bothers you so much, just use 'using namespace std;' or 'using std::uint64_t;'. http://en.cppreference.com/w/cpp/language/namespace http://en.cppreferenc
by jevinskie 12y ago
If it bothers you so much, just use 'using namespace std;' or 'using std::uint64_t;'.
http://en.cppreference.com/w/cpp/language/namespace http://en.cppreference.com/w/cpp/language/namespace
Or just '#include <stdint.h>'. C++ is TIMTOWTDI too!
- leetNightshade 12y agoYes, thank you (TIMTOWTDI)! I was just curious to see what other's used, and was sad to see this comment: "You're writing C++ code, no need to regress back to C." Really? Sure it's from C, but it's a part of C++. Going the route `using std::uint64_t`, you'd have to do that for every basic type. Which is fine. I'd just use that in a general header that's included everywhere in a project (stdafx, or what have you). Though at that point it doesn't really matter which you pick.
- shmerl 12y agoI'd prefer them to be included in C++ as regular base types really, to be on equal terms with int, char and etc.