摘要:
~~ MY FIRST ASYNC I/O! ~~Write a program that uses a single asynchronous filesystem operationto read a file and print the number of newlines it contains to theconsole (stdout), similar to running `cat file | wc -l`.The full path to the file to read will be provided as the firstcommand-line argument. 阅读全文
posted @ 2013-12-04 18:40
星堡a
阅读(182)
评论(0)
推荐(0)
摘要:
~~ MY FIRST I/O! ~~Write a program that uses a single synchronous filesystem operation toread a file and print the number of newlines it contains to theconsole (stdout), similar to running `cat file | wc -l`.The full path to the file to read will be provided as the firstcommand-line argument.------- 阅读全文
posted @ 2013-12-04 18:12
星堡a
阅读(220)
评论(0)
推荐(0)
摘要:
~~ BABY STEPS ~~Write a program that accepts one or more numbers as command-linearguments and prints the sum of those numbers to the console (stdout).----------------------------------------------------------------------HINTS:You can access command-line arguments via the global `process` object.The 阅读全文
posted @ 2013-12-04 16:53
星堡a
阅读(292)
评论(0)
推荐(0)

浙公网安备 33010602011771号