Mercurial > hg > CbC > CbC_gcc
view CbC-examples/normal.c @ 42:9e4f9e20b8f1
add some examples.
author | kent@teto.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Mon, 25 Jan 2010 17:13:59 +0900 |
parents | 4c6926a2b9bc |
children |
line wrap: on
line source
#include<stdio.h> #include<stdlib.h> //size_t size; int size; typedef int test_int; test_int ti; void end(){ exit(0); } int main(int argc, char **argv){ size=0; ti=10; printf("main: "); printf("normal:%d\n", argc); size = 10; printf("size = %d\n", size); printf(" ti = %d\n", ti); end(); }