很久以前,函数被称为“子程序”(我知道,我这样说证明我已经老了!)管理复杂性的主要方式之一是自顶向下的编程模式。
A long time ago, when functions were called "subroutines" (I'm dating myself, I know), one of the main ways to manage complexity was top-down programming.
子程序有两种形式——过程或函数。
Subprograms occur in one of two forms — procedures or functions.
需要在主程序中调用initialize_vertices函数,因此把函数调用添加到位于第597行的main子程序中。
The initialize_vertices function needs to be called in the main program, so add the function call in the main subroutine at line 597.
应用推荐