Ok, I'm a bit confused on this whole thing, I guess I just need another brain on this.
Each line in my CSV file reads something like this:
LAV32,Aluminum RTV Silicone 30/bx,T614A,Lavanture,12
Now, LAV32 would be the id tag that would be read by a barcode scanner. What I need to do is have the program search the CSV for LAV32 and display the related information.
I figure this could be done by having the program read each line and break the read line up and assign them to a struct, such as:
struct itemData
{
char barcodeID [256];
char itemDescription [256];
char partNumber [256];
char vendor [256];
int qty;
} stockItem;
I guess what I need to know first, is how to read each line in sequence.