i was trying to handle the usb directly through the data+ , data- , Vcc and Gnd pins
i dun know if this is possible ,however, if not , "FT232BL "USB UART (USB to Serial) IC is the only available and i dun know how to configure it even , if u can help me to do so i will appreciate ..
I'm assuming you are not a hard core hardware developer from your question, so I can not recommend http://www.ftdichip.com/[^] highly enough.
Simple electronic interface, and they provide good drivers already - you can just tweak the IDs if you want to make it look like your own device. AND they provide DLLs for interfacing with their device drivers, or you can use them like virtual com ports.
They were helpful when I gave them some semi-daft questions. And they're British!
i have made a simple hardware interface consisting of an ADC
If your hardware interface has USB calbility, that is for sure it should have some kind of USB control chip. Usually very USB chip has a default USB driver for free. You can add your USB cability basing on your the default driver.
The insert function takes iterators as template parameters, meaning "whatever iterator types indicating a source range you've to copy from".
The erase function, in contrast, requires iterators from the same container you're erasing.
They cannot be "const" (because the container isn't const, since you're modifying it) nor "reverse" (because of the way elements in vectors are managed).