int add(int a){
int b = 0;
b += 1;
}
int main (void)
{
int a =0;
int i = 0;
for(i = 0;i<= 5;i++){
printf("%d\n",add(a));
}
return 0;
}
如果通过循环调用函数的话, b += 1;怎么进行赋值?
Marco Liu的博客每当我用Tkinter在python中编程时,代码如下所示:from Tkinter import *class GUI():def __init__(self, master):self.master = master # master is an instance of Tkself.master.title("") # set the name of the...