摘要:
lua编程 lua函数和闭包理解 lua函数 lua函数实现是使用一个匿名函数去赋值给一个变量,例如 local f f=function(x,y) do print (x,y) end f(1,2) 闭包 当编写一个被其他函数B包含的函数A时,被包含的函数A可以访问包含其的函数B的所有局部函数,例 阅读全文
摘要:
。。。。。。 #include<cstdio> #include<iostream> using namespace std; typedef struct item { int num; int time; }Pro; int pageNum; int memoryNum; void print( 阅读全文