title: netmask conversion to CIDR format in C++
body: <p>I have to convert 2 DWORDs, IP address and a network mask to CDIR format...
  So I have 2 DWORDs corresponding 1.1.1.1 and 255.255.255.255 and I want to come up with string
  1.1.1.1/32</p>
  
  <p>Any thoughts on this?</p>
  
  <p>Thanks</p>