Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

print name of file argv c

int main(int argc, char *argv[]) 
{
     int i;
     for (i=0; i<argc; ++i)
     {
         printf("%s
", argv[i]);
     }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #print #file #argv
ADD COMMENT
Topic
Name
3+1 =