I got it all down but now i just need to know how to repeat the whole code when i get a new name for example the input text file looks like this
2566
Mick Moster 10/4/2011 2845.92
Danny Boy 10/6/2011 194.65
The first number is the check number so i brought everything into the file with this line of code
infile >> checknum >> namef >> namel >> datem >> dash1 >> dated >> dash2 >> datey >> amount >> dot >> cents ;
now everything works but i have no clue on how to repeat the process so when everything is printed out it starts again (cause I'm making checks for a company in the problem and i want to start a new check for when it gets to Danny Boy) with a page break of stars (*****) or any other page break.