冒号在C函数中表示什么? [英] What does the colon signify in a C function?
本文介绍了冒号在C函数中表示什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这种冒号的用途是什么?
What is this use of the colon called?
以下代码摘自《 学习核心音频》一书.
The following code is taken from the book Learn Core Audio.
int main(int argc, const char * argv[])
{
//...
cleanup:
AudioQueueDispose(queue, true);
AudioFileClose(player.playbackFile);
return 0;
}
推荐答案
这是一个标签.它与goto
语句一起使用以控制程序的流程.
That's a label. It's used along with a goto
statement to control the flow of your program.
这篇关于冒号在C函数中表示什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文