usb communication with c++

i use g++ compiler...i compiled through terminal...lemme try about what you told...