Programmering i C
(C)Copyright 1993 Odd-Jarle Kristoffersen
All Rights Reserved.


WARNING
-------

The author of this book takes no responsability for compiling and running
the programs in this course. The author takes no responsability for type
errors which may occur.
All files in this course is copyrighted, and is the authors property.
Changing files, deleting files etc. is not allowed without written
permission from the author. Neither is it allowed to include parts of, or
whole files from this archive in any other publications without written
permission from the author. The programexamples are an exception to this
as long as they are not cut out of either the coursemanual
(Programmering_i_C) or the answerbooklet (Fasit).

The address to the author may be found at the end of this file. Further
distribution or sale of the course (that is the archive) is not allowed
in any way. The course may not be be made available to the public by
BBS-systems without written permission from the author. A listing of
offically approved BBS's may be found in this file. There is also a
listing of the files which must be included in this archive too.


PREWORDS
--------

This is a course made for both newstarters and persons who have some
previous knowledge to C. The course enlightens the most important
functions in C and also have excercises. A own answerbooklet is also
available.

This course is SHAREWARE, and consists of the files which are listet
further down in this text. SHAREWARE means the user must send the author
a certain amount of money in order to become a registered user and receive
the full package, with diskette and answerbooklet. The course itself is
in both pure text (ASCII) and Microsoft Word format on the diskette and
may be printed out for personal usage only. The MS Word format is ready
for printing on HP Laserjet 4's.

The course build on Kerninghan & Richie's book "The C programming language".
This is a very good book used by several colleges. The course is also
based upon information supplied by NIHs course in C. This course on the
other hand takes a more general angle and approaches 3 different computer
types, and the use of these. This course is a stand-alone course which is
not meant to supply or replace any other course.

The "student" should, like with any other programming-language, go
through all the examples in this course, and additionally look at other
C-sources from other programs. Most public domain (PD) programs comes
with the source in the archive the program itself is packed in.

The examples in this course will be made available in a own archive in
time. Maybe a own answerbooklet will be released as a supplementary.
All examples can be directly compiled on Commodore Amiga's with Lattice C
v4.2 and higher. Though the examples should work in Turbo-C 2.0 for MS-DOS
and under Unix. The author has not verified this and cannot garuantee
functionality on these systems.

I the course the following sentences occur:

	(picture x)	where x is an integer.

This show which of the supplied picturefiles are to be viewed/inserted. The
author has planed a complete file which will include all the figures in the
right places and an index, in addition to a AmigaGuide fileformat course.
This compilation will not be release before 1994.


REGISTER
--------

Registering (paying the author the required amount of money) of this package
may be done in the following ways :

	By post :	To account 0825.0487399 in Postsparebanken, Norway
	By bank :	To account 4750.2723428 in Sparebanken Nord-Norge
			    by SWIFT to SNOW (recommended)
	Cash :		May be sent to the author with the registerform
	COD :		Not available

What amount to send ?

	Description					NOK	US Dollars
	------------------------------------------------------------------

	Packageversion 1:

	The course on diskette with answers and the
	course itself in ASCII and MS Word format,
	including all programexamples/answers in pure
	text for compiling				100,-	   15


	Packageversion 2:

	As package 1, but both the course itself and
	the answerbooklet printed on laserprinter	200,-	   25


Note that packageversion 1 and 2 include postage inside Norway when the
registerammount is received on either account above. For foreign
shipments postage and packing is additional.

The diskette is a 3.5" DD (double density) in either AmigaDOS (state
OFS/FFS system) or MS-DOS 720k format.

Registering may be done with a filled out and printed form (Register.TXT)
which is supplied in this archive. At reception of the while package you
will receive a registernumber. Use it at all other requests to the author.


THE ARCHIVE
-----------

The archive MUST consist of the following files (where none are allowed
changes in any way). Written permission can be obtained from the author.

d----rwed 94-01-19 12:41:27    0      Dir Fasit
d----rwed 94-01-19 12:41:50    0      Dir Programeksempel
-----rwed 93-10-17 15:49:20    2      741 COPYRIGHT
-----rwed 94-01-19 12:46:13   11    12177 Les_Meg!.TXT
-----rw-d 94-01-19 12:43:27    8     3630 Les_Meg!.TXT.info
-----rwed 93-10-10 17:07:48   14     6862 Picture-01
-----rwed 93-10-10 17:19:22    9     4330 Picture-02
-----rwed 93-10-10 17:29:08    6     2872 Picture-03
-----rwed 93-10-10 17:32:36    5     2220 Picture-04
-----rwed 93-10-10 17:44:24   12     6134 Picture-05
-----rwed 93-10-10 17:50:02    5     2308 Picture-06
-----rwed 93-10-10 17:59:32    6     2660 Picture-07
-----rwed 93-10-10 18:02:02    4     1742 Picture-08
-----rwed 93-10-10 18:03:10    5     2058 Picture-09
-----rwed 93-10-10 18:07:30    5     2492 Picture-10
-----rwed 93-10-10 18:23:14   20    10076 Picture-11
-----rwed 93-10-10 18:57:16    6     2860 Picture-12
-----rwed 93-10-10 19:00:20    4     1712 Picture-13
-----rwed 93-10-10 19:08:40    8     3704 Picture-14
-----rwed 93-10-10 19:16:26    7     3350 Picture-15
-----rwed 93-10-10 19:31:24   11     5214 Picture-16
-----rwed 93-10-10 19:46:14   11     5166 Picture-17
-----rwed 93-10-10 19:59:42    5     2284 Picture-18
-----rwed 93-10-10 21:24:56    8     3630 Picture-19
-----rwed 93-10-10 21:34:52    5     2268 Picture-20
-----rwed 93-10-10 21:40:38    6     2934 Picture-21
-----rwed 93-10-10 21:49:18    8     4004 Picture-22
-----rwed 93-10-10 22:02:38    6     2776 Picture-23+24
-----rwed 93-10-10 22:28:24    7     3466 Picture-25+26
-----rwed 93-10-10 17:33:30    5     2220 Picture-27
-----rwed 93-10-10 23:04:32  301   151741 Programmering_i_C
-----rwed 93-10-10 22:31:28    1      450 Programmering_i_C.info
Dirs:2    Files:30   Blocks:511   Bytes:251467  

Fasit/
d----rwed 94-01-19 12:41:37    0      Dir Program
-----rwed 93-10-17 15:32:04   58    29576 Fasit
Dirs:1    Files:1    Blocks:58    Bytes:29576   

Fasit/Program/
-----rwed 93-10-12 14:18:24    2     1004 ving_23-1.c
-----rwed 93-10-12 14:18:44    1      444 ving_23-3.c
-----rwed 93-10-12 14:19:16    1      483 ving_23-5.c
-----rwed 93-10-12 14:19:48    3     1069 ving_23-67.c
-----rwed 93-10-12 14:20:10    1      211 ving_24-1.c
-----rwed 93-10-12 14:20:24    1      211 ving_24-12.c
-----rwed 93-10-12 14:20:44    1      207 ving_24-2.c
-----rwed 93-10-12 14:21:02    2      656 ving_24-3.c
-----rwed 93-10-12 14:21:28    2      536 ving_24-4.c
-----rwed 93-10-12 14:21:46    1      392 ving_24-5.c
-----rwed 93-10-17 15:34:00    1      483 ving_31-2.c
-----rwed 93-10-17 15:34:28    2      700 ving_31-3.c
-----rwed 93-10-17 15:34:46    1      415 ving_31-4.c
-----rwed 93-10-17 15:35:04    2      613 ving_32-3.c
-----rwed 93-10-17 15:35:22    2      769 ving_32-4.c
-----rwed 93-10-17 15:35:38    2      790 ving_32-4b.c
-----rwed 93-10-17 15:35:56    2      826 ving_32-56.c
-----rwed 93-10-17 15:39:06    3     1391 ving_41-3.c
-----rwed 93-10-17 15:39:24    2      707 ving_41-4.c
-----rwed 93-10-17 15:36:50    1      426 ving_42-1a.c
-----rwed 93-10-17 15:37:22    1      273 ving_42-1b.c
-----rwed 93-10-17 15:38:40    1      477 ving_42-1c.c
-----rwed 93-10-17 15:38:12    1      329 ving_42-1d.c
-----rwed 93-10-17 15:39:46    1      382 ving_43-1.c
-----rwed 93-10-17 15:40:04    2      587 ving_43-2.c
-----rwed 93-10-17 15:40:20    2      759 ving_43-3.c
-----rwed 93-10-17 15:40:42    2      652 ving_43-4.c
-----rwed 93-10-17 15:41:06    1      155 ving_44-1_1.c
-----rwed 93-10-17 15:41:24    1      107 ving_44-1_2.c
-----rwed 93-10-17 15:41:38    1       80 ving_44-1_3.c
-----rwed 93-10-17 15:42:00    2      946 ving_44-3.c
-----rwed 93-10-17 15:42:18    4     1710 ving_51.c
-----rwed 93-10-17 15:42:38    4     2035 ving_52.c
-----rwed 93-10-17 15:42:56    2      816 ving_61-a.c
-----rwed 93-10-17 15:43:16    3     1501 ving_61-b.c
Dirs:0    Files:35   Blocks:61    Bytes:23142   

Programeksempel/
-----rwed 93-10-12 14:29:22    1      122 ving_23-1.c
-----rwed 93-10-12 14:35:14    1      332 ving_31-1.c
-----rwed 93-10-12 14:44:12    1      241 ving_42.c
-----rwed 93-10-12 14:43:34    1      200 AutomatiskeVariabler.c
-----rwed 93-10-12 14:54:40    2      518 Bit72.c
-----rwed 93-10-12 14:55:04    1      364 Bit73.c
-----rwed 93-10-12 14:55:44    2      590 Bit74.c
-----rwed 93-10-12 14:38:38    2      843 Boble.c
-----rwed 93-10-12 14:36:34    2      617 cpLine.c
-----rwed 93-10-12 14:51:34    1      480 Driv_og_Dank.c
-----rwed 93-10-12 14:56:46    1      495 FIFO.c
-----rwed 93-10-12 14:32:30    1      211 Fil1.c
-----rwed 93-10-12 14:32:10    1       63 Fil2.c
-----rwed 93-10-12 14:31:24    1      240 Globale_variabler.c
-----rwed 93-10-12 14:25:16    1       58 Hello.c
-----rwed 93-10-12 14:30:12    2      902 if_for.c
-----rwed 93-10-12 14:26:08    1      128 IntVar.c
-----rwed 93-10-12 14:28:48    1      321 Kall_med_verdi.c
-----rwed 93-10-12 14:41:30    3     1063 Lexi.c
-----rwed 93-10-12 14:42:54    7     3129 Lexin.c
-----rwed 93-10-12 14:47:38    1      503 malloc.c
-----rwed 93-10-12 14:34:30    1      471 MathFun1.c
-----rwed 93-10-12 14:33:24    1      420 Miksing.c
-----rwed 93-10-12 14:53:18    4     1579 Node.c
-----rwed 93-10-12 14:27:14    1      171 Operatorer1.c
-----rwed 93-10-12 14:28:00    2      828 Opphyd_i_nte.c
-----rwed 93-10-12 14:59:42    2      902 p83.c
-----rwed 93-10-12 15:00:06    1      509 p84.c
-----rwed 93-10-12 15:00:24    1      117 p85.c
-----rwed 93-10-12 15:01:00    2      688 p86.c
-----rwed 93-10-12 14:49:52    2      760 Passing.c
-----rwed 93-10-12 14:37:24    1      426 Peker1.c
-----rwed 93-10-12 14:57:44    2      666 Queue1.c
-----rwed 93-10-12 14:58:58    4     1546 Queue2.c
-----rwed 93-10-12 14:39:22    1      358 SkPos.c
-----rwed 93-10-12 14:30:44    1       85 StdIn_StdOut.c
-----rwed 93-10-12 14:46:52    1      350 string_cpy.c
-----rwed 93-10-12 14:48:24    1      294 StrukturVariabel.c
-----rwed 93-10-12 14:45:32    1      199 Tabell2.c
-----rwed 93-10-12 14:46:04    1      262 Tabell3.c
-----rwed 93-10-12 14:50:52    1      458 Tabell_av_strukturer.c
-----rwed 93-10-12 14:45:00    1      211 Tabellnavn.c
-----rwed 93-10-12 14:40:28    2      705 ToDimTab.c
-----rwed 93-10-12 14:54:04    2      584 Union71.c
Dirs:0    Files:44   Blocks:70    Bytes:24009   


ADDRESS
-------

The author may be reached at the following addresses:

	Odd-Jarle Kristoffersen
	Gammelgaardvegen 42
	N-9020 Tromdalen
	(Norway)

	EMail: oddjk@samson.tromsomh.no
	Nickname/IRC: Amuso

	The Kitchen Sync (Tromsoe):	New BBS soon to open
	? (Vaeroey):			New BBS soon to open
	Mediafoto (Oslo):		+47-22-687557/687176
	Ultima Thule (Tromsoe):		+47-77-681999/613205

I usually check my mail twice every week from all the above listed.


DISTRIBUTOR (WHICH HAVE RECEIVED WRITTEN PERMISSION)
----------------------------------------------------

The following persons/BBS-systems have my approval to distribute this
package for free:

	The Kitchen Sync (Troms)	phone: (not established yet)
	Lars Klaeboe
	Trond Nilsen


SOURCES
-------

Kerningham & Richie's - The C programking language
Lattice C 5.02 user manuals
SAS/C 6.3 documentation
FUNN Narvik A/S - Programmering i C
Internet conferences for C


CREDITS
-------

The author wishes to thank to following persons for their help to this
course:

	Trond Nilsen		for supplying sourcematerial
	Lars Klboe		for sourcematerial and doc-files
	Michael Susg		for learning me compilation on Unix
	Commodore		for the Amiga-series computers
	Others who have contributed with support or help
	All the registered users of this package
