translator.cpp
/*
 * Prints usage in case the user dose not pass any arguments
 */
Prints usage in case the user dose not pass any arguments
Prints usage in case the user dose not pass any arguments
void translator::usage() {
	string line;
	ifstream myfile("usage");
	if (myfile.is_open()) {
		while (getline(myfile, line)) {
			cout << line << endl;
		}
		myfile.close();
	}
	else
		cout << "Unable to open file";
}
void translator :: usage ( ) { string line ; ifstream myfile ( " " ) ; if ( myfile . is_open ( ) ) { while ( getline ( myfile , line ) ) { cout << line << endl ; } myfile . close ( ) ; } else cout << " " ; }
Prints usage in case the user dose not pass any arguments
Prints usage in case the user dose not pass any arguments