Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~206 People Reached
Favorite Forums
Favorite Tags
c x 2
Member Avatar for Lolly2009

My coding looks like this int main(int argc, char *argv[])/*command line input*/ { int len; char *t[10]; len=strlen(argv[argc-1]); temp[0]=argv[argc-1] if(strstr(t[0],"c"==NULL)/*to check for a c file input*/ printf("Not a c file"); else printf("C file"); } if my command line input in linux is ./a.out test.c argv[0] contains ./a.out ans argv[1] contains …

Member Avatar for ArkM
0
204