Skip to content

Commit

Permalink
added README
Browse files Browse the repository at this point in the history
  • Loading branch information
dermesser committed Nov 21, 2011
1 parent 4e22c62 commit 43fc7f1
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions README
@@ -0,0 +1,33 @@
README for types.c

To use this program, simply type

$ gcc types.c
$ ./a.out

Common outputs are:

i386:

Sizeof...
char: 1
short: 2
int: 4
long: 4
long long: 8
float: 4
double: 8

amd64:

Sizeof...
char: 1
short: 2
int: 4
long: 8
long long: 8
float: 4
double: 8


Should compile with every C compiler, originally written for gcc 4.2 on OpenBSD i386, but also runs with gcc 4.6.2 Debian amd64.

0 comments on commit 43fc7f1

Please sign in to comment.