Ok so here is what I want to do.
I have a hand scanner, ie a portable device that scans barcodes and proccesses data. I want to program it store data on what it scans and then as I scan to search what it has already scanned. If what I am scanning has been scanned before I want it to increase the quantity in that item and not simply add a new record.
The problem is this, the device runs on C and I am not very familiar with C. I need to write a simple program that will search the data file (which it creates as a .txt file) and determine if it has been scanned before. If it has then it needs to incriment the quanity field by one, if not then it needs to add the newly scanned item to the data file.
Info that might be useful, the scanner basically creates a .csv file, even though it puts the .txt extension on it. I need to search that file.
Any help would be great and if you need anything more let me know.