使用Doxygen的项目中的递归函数

我有一个具有递归功能的项目,但是当我向它生成双氧水时,它没有显示该递归功能的节点表示。 代码:

class Test 
{ 
    // method to find factorial of given number 
    static int factorial(int n) 
    { 
        if (n == 0) 
            return 1; 

        return n*factorial(n-1); 
    } 

    // Driver method 
    public static void main(String[] args)  
    { 
        int num = 5; 
        System.out.println("Factorial of "+ num + " is " + factorial(5)); 
    } 
} 
zzxcyj 回答:使用Doxygen的项目中的递归函数

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3104050.html

大家都在问