home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / amiga / programm / 12889 < prev    next >
Encoding:
Internet Message Format  |  1992-08-30  |  1.9 KB

  1. Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!ux1.cso.uiuc.edu!m.cs.uiuc.edu!vela!lppl!Les_Jenkins
  2. From: Les_Jenkins@lppl.mi.org (Les Jenkins)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Source Code Examples
  5. Distribution: world
  6. Message-ID: <Les_Jenkins.049o@lppl.mi.org>
  7. Date: 30 Aug 92 14:33:12 EST
  8. Organization: Les's Place BBS
  9. Lines: 33
  10.  
  11. Where's the best FTP site to get source code examples of programming in C?
  12. I'm striving to learn as much as I can and plan to register as a developer
  13. sometime in the not-too-distant future. My only claim to fame is a
  14. re-worked game for running from BBS programs called Castle Dungeon that I
  15. am in the process of converting from Paragon BBS to STDIO for use with DLG
  16. PRO, Xenolink, Citadel 68K, and C-Net after many years of keeping it
  17. Paragon only.
  18.  
  19. Surprisingly enough the things I need examples of the most include the
  20. simple stuff like generating integer random numbers, printing files to
  21. stdio, having really good user input from a cli, etc. All the little stuff
  22. that we never got to in my C class, but which is too simplistic for any of
  23. the Amiga programming books to cover. 
  24.  
  25. My first thought when writing an input routine is to just loop it for
  26. character input, but doesn't that make a busy-wait loop which would bog
  27. down the system? How does one make the system go to sleep until someone
  28. types something or is that automatic? A novice still needing to learn the
  29. ropes. This wasn't a problem under Paragon, because you just sent a message
  30. to the BBS telling it what function you wanted to accomplish and it handled
  31. it for you.
  32.  
  33.  
  34.  
  35.  -- AEd V1.37/Eval
  36.  
  37. -- Via DLG Pro v0.992
  38.  
  39. ======================================================================
  40. E-Mail to:      | "Stimpy, sometimes your wealth of ignorance simply |
  41. Les@lppl.mi.org |  astounds me." - Ren Hoek                          |
  42. ----------------+-----------------------------------------------------
  43.  
  44.