numbers/main.cpp
// NOT NEEDED FOR TASK, only for checking values in the binary file
NOT NEEDED FOR TASK, only for checking values in the binary file
NOT NEEDED FOR TASK only for checking values in the binary file
void readBinary(const std::string & fileName) {
    std::ifstream inStream(fileName, std::ios::binary);
    double xd;
    if(inStream) {
        for(int i = 0; i < 2 * COLUMN_NUMBER; i++) {
            inStream.read(reinterpret_cast<char *>(&xd), sizeof(double));
        }
        inStream.close();
    }
}
void readBinary ( const std :: string & fileName ) { std :: ifstream inStream ( fileName , std :: ios :: binary ) ; double xd ; if ( inStream ) { for ( int i = 0 ; i < 2 * COLUMN_NUMBER ; i ++ ) { inStream . read ( reinterpret_cast < char * > ( & xd ) , sizeof ( double ) ) ; } inStream . close ( ) ; } }
NOT NEEDED FOR TASK, only for checking values in the binary file
NOT NEEDED FOR TASK only for checking values in the binary file