return、return 0和声明 和有什么不一样return NULL?return我应该在 void 函数的末尾使用哪个?
如果没有回报价值,这意味着什么?谢谢
void run_algo() {
...
project(tolabel->second);
...
}
void project(Projected &projected) {
unsigned int sup = support(projected);
if(sup < minsup) // minsup is a global variable
return;
...
}
Run Code Online (Sandbox Code Playgroud)