代码搜索:recursive
找到约 2,177 项符合「recursive」的源代码
代码结果 2,177
www.eeworm.com/read/346512/11740198
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/346512/11740299
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/259220/11814411
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;
www.eeworm.com/read/258191/11878601
cpp scoperes.cpp
//: C04:Scoperes.cpp
// From Thinking in C++, 2nd Edition
// Available at http://www.BruceEckel.com
// (c) Bruce Eckel 1999
// Copyright notice in Copyright.txt
// Global scope resolution
int a;
www.eeworm.com/read/153678/12012922
cpp scoperes.cpp
//: C04:Scoperes.cpp
// From Thinking in C++, 2nd Edition
// Available at http://www.BruceEckel.com
// (c) Bruce Eckel 1999
// Copyright notice in Copyright.txt
// Global scope resolution
www.eeworm.com/read/340916/12122765
cpp soln5_1.cpp
// Soln5_1.cpp
#include
using std::cout;
using std::endl;
// Recursive factorial function
long fact(long n)
{
// If n is 1 return it, otherwise return n*fact(n-1)
return n ==
www.eeworm.com/read/253260/12234887
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/253260/12235605
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/337096/12391929
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/148707/12436850
cpp 13i.cpp
#include
// Fact() Return the factorial of parameter n
// IN: n is a positive integer number
int Fact (int n)
{ int temp;
if (n