图3详细展示了处理一个rpg隐式文件打开操作的过程和主要函数的代码片段。
Figure 3 details the process of handling an RPG implicit file open operation along with code snippets of the major functions.
这个函数从一个打开文件中读取数据。
正如之前的例子所示,print函数抛出了一个异常,原因是文件尚未打开以供写入。
As in the previous example, the print function raises an exception, because the file was not open for writing.
通过调用 DL_Dxf对象的in函数并将指针传递给一个继承 DL_CreationAdapter抽象类来打开此文件。
You open the file by calling the in function of the DL_Dxf object and passing a pointer to a class that inherits from the DL_CreationAdapter abstract class.
这个逻辑上对我是有意义的,打开文件的时候,我想先看到它,所以我向下翻,之后才声明increment函数。
It makes sense to me logically that I want to see it first when I open the file; so I scroll on down but only later is increment declared.
打开controller . js文件并将control函数中名为this . dominourl的变量编辑为domino服务器的正确的url。
Open the controller.js file and edit the variable called this.dominourl in the control function to the appropriate url of your domino server.
函数尝试使用错误的文件描述符(例如,它不引用打开的文件,或者用于尝试写入以只读方式打开的文件)。
EBADF -- A function tried to use a bad file descriptor (it doesn't refer to an open file, for example, or it was used in an attempt to write to a file that was opened read-only).
这个函数释放一个打开文件。
这个函数将数据写入一个打开的文件中。
对于这些方法中的任何一种,通过使用fopen(用于读取数据的函数)的标准方法打开文件,然后使用fclose关闭文件,如清单1所示。
For any of these methods, you go through the standard process of using fopen to open the file, a function to read the data, then fclose to close the file, as shown in Listing 1.
在constructor函数中,会打开一个新的跟踪文件,分析数据的地址跟踪就是写入这个文件的;在destructor函数中,会关闭这个跟踪文件(参见清单3)。
In the constructor function, a new trace file is opened into which the profiling address trace will be written; within the destructor function, the trace file is closed (see Listing 3).
该函数是打开文件的高层次方式;但是,因为在Linux中打开文件的唯一方法是使用open系统调用,所以fopen在其实现中利用open 。
This function is a high-level way of opening a file; but, since the only way to open a file in Linux is to use the open system call, fopen makes use of open in its implementation.
如fopen函数一样,file_get _ contents、file和readfile函数都在打开失败或处理文件失败时返回False。
As with fopen, file_get_contents, file, and readfile, all return False on failure to open or process the file.
文件的打开、关闭、读和写函数(fopen 、fclose 、fgets 、getc等等)、printf函数系列和setvbuf函数都需要它。
It is needed for the file opening, closing, reading, and writing functions (fopen , fclose , fgets , getc , and so on), for the printf family of functions, and for the setvbuf function.
file_lock类的构造函数接受要锁定的文件的名称,一定要在调用lock之前打开文件;否则会抛出异常。
The constructor for the file_lock class accepts the name of the file to be locked, and it's important to open the file before lock is invoked; otherwise, an exception will be thrown.
请教各位高手,用OPEN打开文件后可以这样调用函数吗?
Ask you master, open the file with the open function can be called it?
函数的作用是:从一个打开的文件中返回不包含HTML和PHP标签的一行。
The fgetss function returns a line, with HTML and PHP tags removed, from an open file.
这个函数通常用于打开一个指定的文件使用预先定义的流:标准输入,标准输出,标准错误。
This function is typically used to open a specified file as one of the predefined streams: standard input, standard output, or standard error.
下面那个函数你能打开文件以读和写?
What function can you use to open a file for reading and writing?
一旦成功打开文件,函数便开始逐行遍历脚本,并把每一行都当作一个字符串读取进来。
Once the file is opened, the function begins traversing the script file once text line at a time. Each line is read in as a string.
接着函数会以文本方式打开指定的文件。
The function then opens the text file using the specified file name.
freopen函数使用指定的流打开一个指定的文件,如果它已经打开拉,首先关闭它。
Thee freopen function opens a specified file on a specified stream, closing the stream first if it is already open.
fopen函数打开一个指定的文件。
因此可以通过Windows文件创建函数打开串口。
Windows files can be created through the open serial port function.
这些函数必须在流打开后被调用(很明显,因为每个函数都需要一个有效的文件指针作为它的第一个参数),但是在对流有任何操作之前。
These functions must be called after the stream has been opened(obviously, since each requires a valid file pointer as its first argument) but before any other operation is performed on the stream.
该函数用来打开文件p。
这两个函数形成一个安全方式打开文件,此时失败是通常的、可预料的情况。
The twos form a "safe" method for opening a file where a failure is a normal, expected condition.
这两个函数形成一个安全方式打开文件,此时失败是通常的、可预料的情况。
The twos form a "safe" method for opening a file where a failure is a normal, expected condition.
应用推荐