Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
atoi on hex
//Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x64 #include <iostream> int main() { unsigned int digit = atoi("42"); unsigned int hex1 = atoi("2A"); unsigned int hex2 = atoi("0x2A"); std::cout << digit << std::endl; std::cout << hex1 << std::endl; std::cout << hex2 << std::endl; }
run
|
edit
|
history
|
help
0
ambiguity does not count as ambiguity
LinkedList
Cross-platform multithreading minimal example (g++ and cl.exe)
Regex success
cv2
Strings
Copy vs Reference
ntohl
Revers find file in windows
Eight Queen