Компилятор выдает ошибку:ошибка при запуске приложения,это в коде что-то не так или с программой?

Массив структур содержит информацию о 30 студентов: фамилия; имя; номер группы; адрес прописки; пол. Считать данные с файла и подсчитать количество студентов, которые прописаны на заданной с клавиатуры улице.

#include<iostream>
#include<Windows.h>
#include<fstream>
#include <string>
#include<cstring>
using namespace std;
struct Students
{
    char name[20];
    char surname[20];
    char adress[40];
    char gender[15];
    int numberofgroup;
};

int main()
{
    SetConsoleOutputCP(1251);
    SetConsoleCP(1251);

    bool ReadFile(Students * &arr_Students, int& size);
    void print(Students * arr_Students, int size);

    int size;
    Students* arr_Students;
    if (ReadFile(arr_Students, size))
        print(arr_Students, size);
    else
        cout << "Error opening file!" << endl;

    cin.get();
    return 0;
}

bool ReadFile(Students*& arr_Students, int& size)
{
    ifstream fin("Students.txt");
    if (!fin)
        return false;

    (fin >> size).get();

    arr_Students = new Students[size];

    for (int i = 0; i < size; i++)
    {

        fin.getline(arr_Students[i].name, 20);
        fin.getline(arr_Students[i].surname, 20);
        fin.getline(arr_Students[i].adress, 40);
        fin.getline(arr_Students[i].gender, 15);
        fin >> arr_Students[i].numberofgroup;
        fin >> arr_Students[i].adress;
        fin.get();
        return true;


    }
    fin.close();

}
void print(Students* arr_Students, int size)
{
    for (int i = 0; i < size; i++)
    {
        cout << arr_Students[i].name << endl;
        cout << arr_Students[i].surname << endl;
        cout << arr_Students[i].adress << endl;
        cout << arr_Students[i].gender << endl;
        cout << arr_Students[i].numberofgroup << endl;
        cout << endl;
    }
    char street[40];

    cout << "enter street: ";
    cin >> street;

    for (int i = 0; i < size; i++)
    {
        if (strcmp(street, arr_Students[i].adress) == 0)
            cout << "Number of student who live in street: " << size << endl;
    }
}

Ответы (0 шт):