Skip to content
Snippets Groups Projects
Select Git revision
  • 7e393e7f1ab1578d6b8d4bd063c07f2b8564d44d
  • master default
  • cmake_fixes
  • pulls/1772757862/750
  • copilot/fix-770
  • windows_ci_static
  • c_link
  • cpack
  • windows_ci
  • cert_pk_id
  • proxy_push_result
  • cnode_put_id
  • update-windows-build
  • proxy
  • resubscribe_on_token_change
  • actions
  • client_mode
  • llhttp
  • search_node_add
  • crypto_aes_gcm_argon2
  • ios_notifications
  • v3.4.0
  • v3.3.1
  • v3.3.1rc1
  • v3.3.1rc2
  • v3.3.0
  • v3.2.0
  • v3.1.11
  • v3.1.10
  • v3.1.9
  • v3.1.8.2
  • v3.1.8.1
  • v3.1.8
  • v3.1.7
  • v3.1.6
  • v3.1.5
  • v3.1.4
  • v3.1.3
  • v3.1.2
  • v3.1
  • v3.0.1
41 results

dhtchat.cpp

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    test.cpp 415 B
    
    #include <iostream>
    #include <sstream>
    #include <list>
    #include <string>
    
    int main(int, char**)
    {
      int code;
      std::string seq;
      std::string message;
      std::istringstream s(std::string("100 seq12 Ma réponse"));
    
      s >> code >> seq;
      getline(s, message);
      std::cout << "Code: " << code << std::endl;
      std::cout << "Seq: " << seq << std::endl;
      std::cout << "Message: " << message << std::endl;
      return 0;
    }