Yes, thank you for working on this. When I run the file in VC++ 2010 This is the result I receive from my text file. As you can see, I only get the full 5 digits of the student ID and not the truncated 3 digits. If you can also see, at the end of the screen it gives me an empty set for the output "
, , @student.college.net".

I am really excited it works for you. I Just don't know why the 3 digits won't truncate on my machine.


I copied this from the output screen:


Lee, Ryan, RyanLee06698@student.college.net

Garcia, Jayden, JaydenGarcia69425@student.college.net

Davis, Sophia, SophiaDavis84833@student.college.net

Smith, Madison, MadisonSmith21582@student.college.net

Johnson, Sarah, SarahJohnson80226@student.college.net

Rodriguez, Mariana, MarianaRodriguez31295@student.college.net

Brown, Liam, LiamBrown53869@student.college.net

Williams, Michael, MichaelWilliams72770@student.college.net

Nguyen, Tiffany, TiffanyNguyen36606@student.college.net

Torres, Ava, AvaTorres77521@student.college.net

Brown, William, WilliamBrown14077@student.college.net

Jones, Ruby, RubyJones11223@student.college.net

Wilson, Angelica, AngelicaWilson28817@student.college.net

Miller, Oliver, OliverMiller47356@student.college.net

Hernandez, Mia, MiaHernandez22931@student.college.net

, , @student.college.net

Press any key to continue . . .