In this application, we open the database in the initialize function.
在这个应用程序中,我们在初始化函数中打开了数据库。
The constructor for the built-in open function is.
此内置open函数的构造函数是。
The first parameter fildes is the open file descriptor returned from the function open , referring to a specific device.
第一个参数fildes是函数open返回的文件描述符,用于指称具体设备。
So when you define a function, you have, as we've seen these curly braces, that define all ; of the code that's associated with that function; open curly brace code, close curly brace, that is the function.
当你定义一个函数,就像我们看到的这些花括号,定义了与,那个函数相关的所有代码;,左花括号,代码,右花括号,这就是一个函数。
Notice the form of it, it's just the name of the class followed by open paren, close paren, treating it like a function.
我该怎么来使用类呢?,好,我可以像调用方法,一样调用类,你可以在下面看到,创建一个名为。
This particular one down here, this portion here is a heart/lung machine and this is a machine that can take over the function of a patient's heart and lungs during the period when they're undergoing open heart surgery, for example.
下面这是一个特别的设备,这一块是,心肺机,这台机器能够,在病人接受心脏手术的时候,替代病人的,心脏和肺的功能
应用推荐