Mercurial > hg > Members > nobuyasu > test
changeset 2:e0fdef113de4
test
author | nobuyasu |
---|---|
date | Tue, 01 Mar 2011 04:37:40 +0900 |
parents | 456587e74f71 |
children | e9211e83b79d |
files | returnCheck/return.cbc returnCheck/return.cbc~ |
diffstat | 2 files changed, 0 insertions(+), 31 deletions(-) [+] |
line wrap: on
line diff
--- a/returnCheck/return.cbc Tue Mar 01 04:35:34 2011 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,16 +0,0 @@ -#include<stdio.h> - -int BUFSIZE = 1024; - -__code method(int n); - -__code method(int n){ - // char string[BUFSIZE]; - printf("%d\n",n); - goto method(++n); -} - -int main(int argc, char* argv[]){ - goto method(0); - return 0; -}
--- a/returnCheck/return.cbc~ Tue Mar 01 04:35:34 2011 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,15 +0,0 @@ -#include<stdio.h> - -int BUFSIZE = 1024; - - -void method(int n){ - // char string[BUFSIZE]; - printf("%d\n",n); - method(++n); -} - -int main(int argc, char* argv[]){ - method(0); - return 0; -}