One way is to make a constructor to fill in your studentsInfo. This way divides naturally into different source files, where you have one source file to take care of the studentsInfo, etc



//...