代码搜索:recursive

找到约 2,177 项符合「recursive」的源代码

代码结果 2,177
www.eeworm.com/read/183626/9147160

f90 ex0828.f90

program ex0828 implicit none integer :: n integer, external :: fact write(*,*) 'N=' read(*,*) n write(*, "(I2,'! = ',I8)" ) n, fact(n) stop end recursive integer function fac
www.eeworm.com/read/182385/9205464

1st 4_0read.1st

4.0 Read Me First ================= Chapter 4 of the disc contains a simple operating system and some test programs. The operating system does not belong to the contents of the book and is hence
www.eeworm.com/read/376037/9335812

f90 ex0828.f90

program ex0828 implicit none integer :: n integer, external :: fact write(*,*) 'N=' read(*,*) n write(*, "(I2,'! = ',I8)" ) n, fact(n) stop end recursive integer function fac
www.eeworm.com/read/179087/9373436

1st 4_0read.1st

4.0 Read Me First ================= Chapter 4 of the disc contains a simple operating system and some test programs. The operating system does not belong to the contents of the book and is hence
www.eeworm.com/read/373348/9461893

txt 12.txt

CS 1355 Introduction to Programming in C Thursday 2006.10.19 (Week 6) Lecture notes (at http://r638-2.cs.nthu.edu.tw/C/notes/12.txt) Chapter 5 continued (pp.170-179) - Recursion Recursion:
www.eeworm.com/read/361386/10055372

tig test39.tig

/* This is illegal, since there are two functions with the same name in the same (consecutive) batch of mutually recursive functions. See also test48 */ let function g(a:int):int = a function
www.eeworm.com/read/361386/10055381

tig test48.tig

/* This is legal. The second function "g" simply hides the first one. Because of the intervening variable declaration, the two "g" functions are not in the same batch of mutually recursive fun
www.eeworm.com/read/361386/10055392

tig test4.tig

/* define a recursive function */ let /* calculate n! */ function nfactor(n: int): int = if n = 0 then 1 else n * nfactor(n-1) in nfactor(10) end
www.eeworm.com/read/361386/10055415

tig test47.tig

/* This is legal. The second type "a" simply hides the first one. Because of the intervening variable declaration, the two "a" types are not in the same batch of mutually recursive types. S
www.eeworm.com/read/361386/10055431

tig test38.tig

/* This is illegal, since there are two types with the same name in the same (consecutive) batch of mutually recursive types. See also test47 */ let type a = int type a = string in 0 end