代码搜索:recursive
找到约 2,177 项符合「recursive」的源代码
代码结果 2,177
www.eeworm.com/read/399279/7875925
f90 e_624_03.f90
INTEGER :: n=0
INTEGER, ALLOCATABLE :: CC(:)
DO WHILE(n
www.eeworm.com/read/333254/12693162
cpp recur.cpp
// recur.cpp -- use recursion
#include
void countdown(int n);
int main()
{
countdown(4); // call the recursive function
return 0;
}
void countdown(int n)
{
www.eeworm.com/read/144399/12797676
m recursiveindent.m
function recursiveIndent(maxLevel,level)
% recursiveIndent Demonstration of a recursive function
%
% Synopsis: recursiveIndent
% recursiveIndent(maxLevel)
%
% Input: maxLevel =
www.eeworm.com/read/144119/12812918
gnumakefile
# ******************************************************************************
# ******************************************************************************
# This makefile contains the rules for
www.eeworm.com/read/143592/12858958
cpp prg3_5.cpp
// File: prg3_5.cpp
// the program evaluates Fibonacci number 45 using
// an iterative and a recursive algorithm. the iterative
// algorithm executes in a fraction of a second. the program
// uses
www.eeworm.com/read/143587/12859039
tig test17.tig
/* error: definition of recursive types is interrupted */
let
/* define a tree */
type tree ={key: int, children: treelist}
var d:int :=0
type treelist = {hd: tree, tl: treelist}
in
d
end
www.eeworm.com/read/143587/12859043
tig test16.tig
/* error: mutually recursive types thet do not pass through record or array */
let
type a=c
type b=a
type c=d
type d=a
in
""
end
www.eeworm.com/read/143587/12859106
tig test5.tig
/* define valid recursive types */
let
/* define a list */
type intlist = {hd: int, tl: intlist}
/* define a tree */
type tree ={key: int, children: treelist}
type treelist = {hd: tree, tl: treelist
www.eeworm.com/read/143089/12899633
cpp scoperes.cpp
//: C04:Scoperes.cpp
// From Thinking in C++, 2nd Edition
// Available at http://www.BruceEckel.com
// (c) Bruce Eckel 2000
// Copyright notice in Copyright.txt
// Global scope resolution
int a;