home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / std / c / 2966 < prev    next >
Encoding:
Internet Message Format  |  1992-11-05  |  835 b 

  1. Path: sparky!uunet!pipex!warwick!str-ccsun!dct.ac.uk!mcsbc2gw
  2. From: mcsbc2gw@dct.ac.uk
  3. Newsgroups: comp.std.c
  4. Subject: reg
  5. Message-ID: <1992Nov5.104151.1038@dct.ac.uk>
  6. Date: 5 Nov 92 10:41:51 GMT
  7. Organization: Dundee Institute of Technology
  8. Lines: 19
  9.  
  10.  
  11. C PROGRAMS are difficult to analyse at the best of times
  12.  
  13. Does anyone know how to pass the address of an array of structs, to a scanf
  14. statement without it returning a NULL pointer assignment. The array of structs
  15. were passed to the procedure GET_INPUT and I figure it well may be something to
  16. do with the fact that I've a floating point variable in the struct. Or I
  17. suspect it maybe something to do with the address of the pointer....
  18.  
  19. Please can anyone help me? I am no novice to C but this one has really got me
  20. buggered! 
  21.  
  22. Waiting your reply
  23.  
  24. MCSBC2GW
  25.  
  26. Graeme Wright at D.I.T.
  27.  
  28.  
  29.