sry my first time posting was not aware of the code tags will do it for the next post.
myself is variable of the struct student and its working now in the online compiler doesn't work on visual studio just trying to clean it up by making it skip lines on the output file now.
also the errors were not pointed out the program just asks if i would like to run the previous successful build yes or no but there are no visible indications to the error.