62,621
社区成员
发帖
与我相关
我的任务
分享public class FCADSTREE {
static File file = new File("temp.txt");////这行必须要写出来吧?若写在main里则递归函数不认。
public static void main(String[] args) {
某递归函数(参数,参数);
}
public static void 某递归函数(参数,参数) IOExeption {
PrintWriter output = new PrintWriter(file);////问题就在这儿!!!
if (条件) 某递归函数(参数,参数);
output.println(要在文件中打印的东西);
}
}