[comp.sys.cbm] Power C disk librarian

don@vax1.acs.udel.EDU (Donald R Lloyd) (01/18/89)

     I'm just starting out teaching myself (through books in the UD library) to program in C using Power C.  I've also been wanting to write a disk cataloging 
program to keep track of what files are on what disks.  I'd like to be able to  edit the filenames that will be stored in the file of names (in other words,    if I've got a program that's 50 files long, I'd like to save its contents under the name of the program rather than under the names of its individual parts).   I would also like it to work with a 1541, 71, and 81.  I messed around with thisin BASIC a while ago but lost interest.  Now I've decided to try it out using   Power C (128 mode, preferably).







  Since I'm new to C, I'm gonna have quite a few questions to ask before I'm done.  Here are the first few:

     How can I use Power C to print cbm graphics (the ones on the keyboard) to  draw an opening screen (just for special effects, or whatever)?  Will it still  go into "Quote mode" in Power-C in a printf statement, or will I need to find   some other way to go about it?

     I know there is a library file somewhere in Pow-C with 1541 directory-     reading commands.  How can I alter this to also be able to read 1581 direct-    ories?  I've got several '81 disks loaded with short programs (SIDs, utilities, etc.) and plan to collect quite a few more, so I definately want '81 capability.

     Well, as soon as my 128 gets back from the shop, I'll start fiddling aroundwith my cataloguer, and, no doubt, will have quite a few more questions.  Mean-
while, I'd appreciate any help anyone can give me.  Remember, I'm new to C, and not experienced in ML either (BASIC's been my language up until now) so if you  do mail me any advice, please try to keep it in C-layman's terms.

						    Thanks,
						    Don