The function loads the file data using a single call to fread , copying the data into a separate structure, before using a strcpy to move the data from the loaded string to the global string.
此函数通过调用fread装载文件数据,把数据复制到另一个结构中,然后使用strcpy把数据从装载的字符串转移到全局字符串中。
For example, the XML-based metadata for the entire data model gets loaded into memory each time a new connection string is used.
例如,每次使用一个新的连接字符串时,针对整个数据模型的基于XML的元数据都会被加载到内存中。
The regular expression is a string loaded from a text file, so you don't need to change the code when you want to add support for a new type of postal code.
由于正则表达式是从文本文件中装载的一个字符串,所以当添加对新类型的邮政编码的支持时,不需要更改代码。
应用推荐