Note: fgets reads at most BUFSIZ - 1 chars from fin and stores them in the char string line.
注:fgets最多从fin读取BUFSIZ-1个字符并将它们存储在字符串行。
Theseus left a line of string behind him when he entered the maze.
当忒修斯进入迷宫时,他在身后留下了一根绳子。
You can avoid this embarrassing fate a couple of ways: suppress the troublesome new line, or set the appropriate string as a variable ahead of time.
可以用两种方法避免这种尴尬的现象:禁止这种令人讨厌的新行,或者提前设置适当的字符串作为变量。
As shown below, each line in every file provided will be transformed into an inflected alphanumeric string.
如下所示,提供的每个文件中的每一行将被转换为变形后的字母数字字符串。
When the search string is found in one of the tree items, that tree item is selected (line 48).
当在一个树项目中找到搜索字符串时,将会选定该树项目(第48行)。
The short form string should include each valid option letter, followed by a colon (:) to indicate that the command line option should be followed by a value.
短形式字符串应该包含每个有效的选项字母,每个字母后面是一个冒号 (:),这表示命令行选项后面应该是一个值。
Its only argument is the address of the string to be displayed, which is passed on to it by pushing the address of the string in the stack (line 30).
它惟一的参数是要显示的字符串的地址,通过将字符串的地址压入堆栈(第30行),将这个参数传递给它。
When executed from a command line, the program reads the XML content from a file into a string variable.
在命令行中执行的时候,该程序将XML内容从文件读入一个字符串变量。
The print statement in Line 8 is another of those string formatting operations that was discussed earlier.
第8行中的打印语句也是前面讨论过的字符串格式操作。
We can also replace the text in the buffer at a given line number or remove the first occurrence of a string in the current line, using this utility.
我们还可以使用该命令替换给定行号的缓冲区中的文本,或者删除当前行中第一个出现的字符串。
So, I'm getting a string and so what really am I doing in this line of code?
那么,我得到一个字符串,这行代码实际上是干什么的呢?
The XML doesn't contain any new line or CR codes, so it's just one big long string of XML.
XML并没有包含任何新的行或CR代码,它只不过是一个冗长的xml字符串。
For example, Line 2 shows a check that determines if an empty string has been provided.
例如,第2行检查提供的是否是空字符串。
Line 1 uses splitlines(), a string function, to separate the list of servers, and then these values are stored as a variable, appServers.
第 1 行使用一个字符串函数splitlines() 分隔服务器列表,然后将这些值作为一个变量appServers 进行存储。
The next line - public static void main (String args) - generally unleashes an avalanche of questions about implementation details: What is static?
下一行—publicstaticvoidmain (Stringargs)—通常将引发关于实现细节的一连串问题:什么是static ?
Line 2 creates a string data element based on the definition for element0 in schema1 and the content of field0.
第2行代码基于schema1中element0的定义和field0的内容创建了字符串数据元素。
A JPQL query is specified as a String (line 2).
JPQL查询被指定为一个String(第2行)。
Exec -this handy PHP function sends a string for the operating system's command line to process.
exec—这个方便的php函数发送一个字符串供操作系统的命令行处理。
Thus, if you make several println calls in succession, each string in the output will appear on a separate line.
这就说明,如果你连续调用多个println,结果中的每个字符串会单独占用一行。
The auditing log is specified as a flat file called audit.log in which every line is a comma-separated string of the format timestamp,jar id,sweet type code, jar size code,mass of jar.
审计日志被指定为一个名为 audit.log 的平面文件,其中的每一行都是一个以逗号分隔的字符串,格式为 timestamp,jarid,sweettypecode, jarsize code,mass of jar。
EntityManager is the factory that constructs an executable query instance given a JPQL string (line 3).
EntityManager是构造一个包含给定j PQ l字符串的可执行查询实例的工厂(第3行)。
The new regular expression in the second line matches any string that contains MSIE or starts with Lynx.
第二行中的新正则表达式匹配任何包含MSIE或以Lynx开头的字符串。
The mkewuid script function will output a record line for each string of characters provided on the command line.
mkewuid脚本函数为命令行上提供的每个字符串输出一个记录行。
At line 2, the programmer thought he'd replaced all of the b's in the string with p's.
在第2行,程序员认为他已经用p替换了字符串中的所有b。
Line 4 encodes the string Double secret probation and USES Base64 to turn the encrypted string into printable characters that can easily be transmitted over E-mail, say.
行4编码字符串Doublesecretprobation并使用Base64将加密了的这个字符串转变为可打印的字符,以便于用电子邮件等程序传输。
Optionally, you can pass a string to preg_quote() to automatically escape any regex operator it finds, as in line 1.
您可以随意将字符串传递给 preg_quote()来自动转义它找到的所有regex操作符,如第 1行所示。
Dr Maughan then analysed X-ray data that proved the discovery was a bona fide galaxy cluster, rather than a string of unconnected galaxies along the same line of sight.
莫恩博士随后分析了X光数据,证明此次发现确实是星系团,不是同时看见的一串相互连接的星系。
You can fix this bug by editing the gregor.c file's line 79 and removing the string const at the start of that line.
修复这个bug的方法是编辑gregor.c文件第 79行,并删除该行开始部分的字符串const。
Printf And then I'm gonna use the same printf line after that to actually plop it into this formatted string.
我还是要用到,来把它转换成格式化字符串。
Printf And then I'm gonna use the same printf line after that to actually plop it into this formatted string.
我还是要用到,来把它转换成格式化字符串。
应用推荐