Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
ntohl
//Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x86 #include <winsock2.h> #include <stdio.h> int main() { char* addr[] = {"35.55.106.189", "35.105.106.189"}; if (ntohl(inet_addr(addr[0])) < ntohl(inet_addr(addr[1]))) { printf("%s < %s\n", addr[0], addr[1]); } else { printf("!(%s < %s)\n", addr[0], addr[1]); } }
run
|
edit
|
history
|
help
0
rang_warnings
student.h
throwing an exception containing a unique_ptr is dangerous
operator new / delete
#21.2
multiplie linked list numbers
dynamic_cast in assert Causing Error
Copy_and_base
trying to find if reinterpret_cast preserves calling convention
VS2013 hello world includes