首页 / 词典 / good

argv

  • 网络命令行参数;参数向量;参数数组
argvargv
  1. The argument to the main () method is named argv .

    main()方法的参数名为argv。

  2. Next , define your argument list , called argv .

    下一步,定义参数列表,使argv被调用。

  3. Because the argv variable is directly imported qualification is not required .

    因为argv变量是直接导入的,所以不需要限定。

  4. It simply emits the contents of the argv vector .

    它只简单地打印argv向量的内容。

  5. Also , I do a join () and then a split () to make all the @ ARGV input become character data .

    还有,我执行了一个join()操作,然后又执行了一个split(),将所有的@ARGV输入都变成字符数据。

  6. For brevity , this script processes only the first extra argument , argv [ 1 ] .

    为了简单起见,这个脚本只处理第一个额外参数argv[1]。

  7. In particular , argv is an array of arguments to the program , the first argument being the program itself .

    特别是,argv是程序的参数数组,第一个参数是程序本身。

  8. BusyBox then invokes the internal utility as defined by argv [ 0 ] .

    BusyBox然后可以通过argv[0]来调用内部工具。

  9. This list is similar to the argv list used in common C programs and defines the application ( first element of the array ) and argument list .

    该列表与普通C程序中的argv列表类似,定义了应用程序(数组第一个元素)和参数列表。

  10. The variable CMD was set to " cat " + sys . argv [ 2 ] .

    变量CMD的值设置为“cat”+sys.argv[2]。

  11. Argv Recompile my program , and now rerun Arg V of foo and bar .

    重新编译我的程序,现在返回foo和bar的。

  12. Note here that the argc variable ( argument count ) is implicit , because the length of the argv list is known .

    请注意这里的argc变量(参数数量)是隐式的,因为argv列表的长度已经知道。

  13. The outer foreach loop iterates over all of the command-line parameters in the @ ARGV array looking for a trigger message .

    外层foreach循环迭代@ARGV数组中的所有命令行参数,查找触发器消息。

  14. Here argv is the pointer containing arguments list and envp is the pointer containing list of environment variables which are basically key = value pairs .

    在这里,argv是包含有参数list的指针,envp是包含有环境变量列表(主要是key=value对)的指针。

  15. The getopt () routine processes the arguments ( you must pass it argc and argv ) according to a string of accepted option characters .

    getopt()例程根据接受的选项字符的字符串来处理参数(必须传递给它argc和argv)。

  16. Others are purely stylistic convention ( args , not argv ; I + + instead of + + I ) .

    其他则是纯粹的风格惯例(args而非argv;i++而非++i)。

  17. To skip it you take a slice of the argv list , effectively starting at position one ( 1 ), and then iterate through the end of the list .

    要跳过它,取走argv列表的片段,实际开始位置为一(1),然后迭代直到列表的最后。

  18. Note the-CA switch ( from perldoc perlrun ), which tells Perl that @ ARGV will contain UTF-8 data .

    注意-CA开关(来自perldocperlrun),它告诉Perl,@ARGV中会包含UTF-8数据。

  19. Notice that the length of the argv list is obtained through the len function and not as a method ; this is a Jython idiom and is common in many languages .

    注意argv列表的长度是通过len函数而不是作为方法获得的,这是Jython的一种用法,在许多语言中也常见。

  20. In this definition , argc is the number of arguments passed in ( argument count ) and argv is an array of strings representing options passed in from the command line ( argument vector ) .

    在这个定义中,argc是传递进来的参数的个数(参数数量),而argv是一个字符串数组,代表从命令行传递进来的参数(参数向量)。

  21. At the top , I 've got some CS50 Library going on , argv standard I / O library ; I don 't bother mentioning argc or argv because I 'm not going to use them in this program .

    在顶端,我使用了CS50函数库,标准输入输出库,我没有提到argc或者,因为我不会在这个程序中使用它们。