Mercurial > hg > CbC > old > device
view test/simp.c @ 234:eccea7c904ee
float powerpc drexp done (?)
author | kono |
---|---|
date | Thu, 29 Apr 2004 19:40:43 +0900 |
parents | 096559f07a70 |
children | 0c256ea2a97e |
line wrap: on
line source
#include "stdio.h" alpha(c) char c; { return(('a'<=c&&c<='z')||('A'<=c&&c<='Z')||c=='_'); } char ch; main(int ac,char *av[]) { int i; printf("%d\n",ac); for(i=0;i<ac;i++) { printf("%s\n",&av[i][3]); } ch = 'E'; return main0(ac,ch,av); } main0(ac,ch,av) int ac; char ch; char *av[]; { int i; printf("%d %c\n",ac,ch); for(i=0;i<ac;i++) { printf("%s\n",&av[i][3]); } printf("%d==1\n",alpha(ch)); return 0; }