moe45673

Assignment1Header

Sep 25th, 2011
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.46 KB | None | 0 0
  1. //OOP244A Assignment 1: ISBN Processor - Procedural Version
  2. //ISBNPrefix.h
  3. //Moshe Tenenbaum
  4. //Last modified: September 25, 2011
  5.  
  6.  
  7. struct ISBNParts
  8. {
  9.         char area[6];  //extra space for nullbyte
  10.         char publisher[8];
  11.         char title[7];
  12. }
  13.  
  14. FILE* open(const char filename[]);
  15.  
  16. int isRegistered(FILE* fp, int area);
  17.  
  18. int minNoDigits(FILE* fp, int area);
  19.  
  20. int isRegistered(FILE* fp, int area, const char publisher[]);
  21.  
  22. int close(FILE* fp);
Advertisement
Add Comment
Please, Sign In to add comment