int main(void) { long long n; readInputData(&n); writeOutputData(countPrimes(n), n); return 0; }
Parser::Parser( const QString &df ) { openFileSuccess = checkDataFileOpen(df); inputData = ""; if(openFileSuccess){ //check that string passed is valid openFileSuccess = readInputData(); openFileSuccess = writeOutputData(); } }