How to compare gathered barcode with determined code

If both barcodes are text and stored in a null terminated character array, you can use strcmp.

Please post your code here using code tags

Type [code]
Paste your code after that
Type [/code] after that