stack区域用于子程序返回地址,也用于存储自动数据。
The stack region is used for subroutine return addresses, as well as to store automatic data.
直到目前为止,修改对象属性时需要费一些特别的心思,例如使用左值子程序,你就可以直接操作子程序返回的标量。
Until now, special care had to be taken to allow modification of object attributes, for example. With lvalue subroutines, you can directly affect scalars returned by subroutines.
这个子程序将打开一个文件,从中读取当前的加速器数据,然后关闭文件,并返回不包含 “,(逗号)”字符的数据。
This subroutine simply opens the file, reads the current accelerometer data, closes the file, and returns the data without the , (comma) characters.
pthread_create()子程序使用线程参数返回新的线程ID。
The pthread_create() subroutine returns the new thread ID using a thread argument.
在转义了'. '字符后,如果未找到星号,子程序则会返回一个未修改的字符串。
After escaping the '. 'character, the subroutine will return an otherwise unmodified string if there were no asterisks found.
alg_N _ word子程序完成并返回搜索记录和改进记录后,将调用buildhashprintresults子程序。
After the alg_N_Word subroutine has completed, and returned the searched and refined records, the buildHashPrintResults subroutine is called.
在本例中,最有一条if语句为false(因为查询词不以星号为开头),因此构建好的正则表达式将被返回给 alg_N_Word子程序。
The last if statement is false in this case (as the query word did not begin with an asterisk), so the built regular expression is returned to the alg_N_Word subroutine.
中断服务子程序内容:灯全部熄灭,2秒钟后发光二极管全部点亮,再过1秒钟后中断返回。
The contents of the interrupt service routine: all the lights off, 2 seconds later all the light-emitting diode, another 1 second to return after the break.
中断服务子程序内容:灯全部熄灭,2秒钟后发光二极管全部点亮,再过1秒钟后中断返回。
The contents of the interrupt service routine: all the lights off, 2 seconds later all the light-emitting diode, another 1 second to return after the break.
应用推荐