home *** CD-ROM | disk | FTP | other *** search
- 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
- From: Les_Jenkins@lppl.mi.org (Les Jenkins)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Source Code Examples
- Distribution: world
- Message-ID: <Les_Jenkins.049o@lppl.mi.org>
- Date: 30 Aug 92 14:33:12 EST
- Organization: Les's Place BBS
- Lines: 33
-
- Where's the best FTP site to get source code examples of programming in C?
- I'm striving to learn as much as I can and plan to register as a developer
- sometime in the not-too-distant future. My only claim to fame is a
- re-worked game for running from BBS programs called Castle Dungeon that I
- am in the process of converting from Paragon BBS to STDIO for use with DLG
- PRO, Xenolink, Citadel 68K, and C-Net after many years of keeping it
- Paragon only.
-
- Surprisingly enough the things I need examples of the most include the
- simple stuff like generating integer random numbers, printing files to
- stdio, having really good user input from a cli, etc. All the little stuff
- that we never got to in my C class, but which is too simplistic for any of
- the Amiga programming books to cover.
-
- My first thought when writing an input routine is to just loop it for
- character input, but doesn't that make a busy-wait loop which would bog
- down the system? How does one make the system go to sleep until someone
- types something or is that automatic? A novice still needing to learn the
- ropes. This wasn't a problem under Paragon, because you just sent a message
- to the BBS telling it what function you wanted to accomplish and it handled
- it for you.
-
-
-
- -- AEd V1.37/Eval
-
- -- Via DLG Pro v0.992
-
- ======================================================================
- E-Mail to: | "Stimpy, sometimes your wealth of ignorance simply |
- Les@lppl.mi.org | astounds me." - Ren Hoek |
- ----------------+-----------------------------------------------------
-
-