argc是命令行總的參數(shù)個(gè)數(shù),argv[]是argc個(gè)參數(shù)宰僧,其中第0個(gè)參數(shù)是程序的全名,以后的參數(shù)命令行后面跟的用戶輸入的參數(shù)
參考https://www.cnblogs.com/avril/archive/2010/03/22/1691477.html
argc是命令行總的參數(shù)個(gè)數(shù),argv[]是argc個(gè)參數(shù)宰僧,其中第0個(gè)參數(shù)是程序的全名,以后的參數(shù)命令行后面跟的用戶輸入的參數(shù)
參考https://www.cnblogs.com/avril/archive/2010/03/22/1691477.html