blob: a84b86b9b4502b3728011fa96437d171962884e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#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
|