I get the parameters from the cmd command line and output them, then I need to find the file with the largest file size in this folder with which the script is running, how can I get the file size?
#include <iostream.h> using namespace std; int main(int argc, char *argv[]) { for(int i=0;i<argc;i++) { cout<<"Argument"<<i<<":"<<argv[i]<<endl; } return 0; }