CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: cilu

Search: Search took 0.43 seconds.

  1. Replies
    6
    Views
    5,547

    Re: How to convert IP to hex using C++ ?

    headshot, you don't seem to understand the difference between integers, characters or strings. I think you need to start with the basics and then get to more complicated things.



    unsigned int...
  2. Replies
    6
    Views
    5,547

    Re: How to convert IP to hex using C++ ?

    I don't understand your ip_to_hex() function. If you want to convert a string with the ip in this format "70.42.23.121" then your function should take a string and not an integer.
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured