摘要:
Pathintmain(intargc,char*argv[]){pathp(argv[1]);//preadsclearerthanargv[1]inthefollowingcodetry{if(exists(p))//doespactuallyexist?{if(is_regular_file(p))//isparegularfile?cout<<p<<"sizeis"<<file_size(p)<<'\n';elseif(is_directory(p))//ispadirectory?{cout<& 阅读全文