File:  [CSRG BSD Unix] / 43BSD / usr.lib / learn / C / L1.1a
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:55 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43
BSD 4.3

#print
(Section 1.1)
The way you compile a C program is to say
  cc name.c 
where name.c is the name of the file the program
is on.  Here is a short C program that prints
out a line containing "hello".  Type it in and
compile it.  Call it anything you want but
don't rename the output.
When done, type "ready".

main()
{
	printf("hello\n");
}
#once #create Ref
hello
#user
a.out >x
#cmp x Ref
#log
#next
1.1b 10

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.