fork download
  1. #include <iostream>
  2. #include<stdio.h> /* IO stream Interface */
  3. #include<stdlib.h> /* Standard General Utilities Library */
  4. #include<unistd.h> /* misc. UNIX functions */
  5. #include<sys/socket.h> /* socket definitions, pointer to socket address */
  6. #include<sys/types.h> /* data type of socket address structure */
  7. #include<netinet/in.h> /* for IPv4 socket address */
  8. #include<netdb.h> /* structure for network host entry */
  9. #include<strings.h> /* String manipulation operations */
  10. #include<fcntl.h> /* file control options */
  11. #include<arpa/inet.h> /* This is used to convert internet addresses between ASCII */
  12. /* strings and network byte ordered binary values */
  13. int main(int asrgc,char*argv[]) /* start of main function */
  14. {
  15. std::cout << htonl(759274948) << std::endl;
  16.  
  17. return 0;
  18. }
  19.  
Success #stdin #stdout 0.01s 5272KB
stdin
Standard input is empty
stdout
3298640173