Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //OOP244A Assignment 1: ISBN Processor - Procedural Version
- //ISBNPrefix.cpp
- //Moshe Tenenbaum
- //Last modified: September 25, 2011
- #include <iostream>
- #include <iomanip>
- #include <cstdio>
- #include <cstring>
- using namespace std;
- #include "ISBNPrefix.h"
- FILE* open(const char filename[])
- {
- FILE* fp;
- fp=fopen(filename, "r");
- return fp;
- }
- int close(FILE* fp)
- {
- int i; // successful
- i = fclose(fp);
- return i;
- }
Advertisement
Add Comment
Please, Sign In to add comment