-
Notifications
You must be signed in to change notification settings - Fork 2
/
buffer_contents.txt
40 lines (35 loc) · 1.05 KB
/
buffer_contents.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/* Hopefully this program should demonstrate how elastic tabstops work. */
/* Try inserting and deleting different parts of the text and watch as the tabstops move. */
/* If you like this, please ask the writers of your text editor to implement it. */
#include <stdio.h>
struct ipc_perm
{
key_t key;
ushort uid; /* owner euid and egid */
ushort gid; /* group id */
ushort cuid; /* creator euid and egid */
cell-missing /* for test purposes */
ushort mode; /* access modes */
ushort seq; /* sequence number */
};
int someDemoCode( int fred,
int wilma)
{
x(); /* try making */
printf("hello!\n"); /* this comment */
doSomethingComplicated(); /* a bit longer */
for (i = start; i < end; ++i)
{
if (isPrime(i))
{
++numPrimes;
}
}
return numPrimes;
}
---- and now for something completely different: a table ----
Title Author Publisher Year
Generation X Douglas Coupland Abacus 1995
Informagic Jean-Pierre Petit John Murray Ltd 1982
The Cyberiad Stanislaw Lem Harcourt Publishers Ltd 1985
The Selfish Gene Richard Dawkins Oxford University Press 2006