home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / c / 16102 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.0 KB  |  39 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!ukma!usenet.ins.cwru.edu!wsu-cs!vela!jmwojtal
  3. From: jmwojtal@vela.acs.oakland.edu (Wojo)
  4. Subject: Someone help me with this
  5. Message-ID: <1992Nov6.210507.2887@vela.acs.oakland.edu>
  6. Organization: Oakland University, Rochester MI.
  7. Date: Fri, 6 Nov 1992 21:05:07 GMT
  8. Lines: 29
  9.  
  10. I'm trying to do this program that goes into a void subroutine,
  11.  
  12. void getday(char *, int, char *);
  13. ...
  14. char fname[10];
  15. int day;
  16. char timetab[33][31];
  17.  
  18. getday(fname, day, timetab);
  19. ...
  20. void getday(char file[], int dy, char holdday[][]);
  21. {
  22. ...
  23. }
  24.  
  25. Now it keeps giving me errors about different syntaxes.  
  26.  
  27. Using C for the PC, what is the corrent way to apply this so it will work?
  28. The subroutine is supposed to get values for timetab only;
  29.  
  30. Thanks for the help
  31.  
  32.  
  33.  
  34. -- 
  35. ************************************************************************
  36. Jeff Wojtalewicz (Wojo)  jmwojtal@vela.acs.oakland.edu
  37. Oakland University              Start Hacking
  38. ************************************************************************
  39.