title: Working with USB in C (Windows)
body: <p>This is a few questions compiled into one post.</p>
  
  <p>1) What would be the best way to tell if a USB mass storage device is plugged in.</p>
  
  <p>2) What is the best way to write data to a USB drive</p>
  
  <p>3) Can you treat the memory on a usb drive as you would in regular memory..
     (Could I use like malloc and or write directly two it with values/ and or zero it out?)</p>