I need to make program that reads a card game text file in witch every line has ip of game, ip of player and 4 cards (ip of game and player is some number and cards are in form suit (d,c,h,s) and value (2,3,4,...,x,j,q,k,a)) every line of file has all of that and i need to check if there is same card more than once in that file if so i should write in other file ip of game and game not valid. Please if someone could help me with this i have no idea how to do it.
It looks like you're new here. If you want to get involved, click one of these buttons!