Skip to main content
6 events
when toggle format what by license comment
Jun 16, 2016 at 20:06 comment added yousafe007 Hi5 mate! @MARS 😎
Jun 16, 2016 at 20:03 comment added MARS "Try including the int n = strlen(argv[i]); statement inside the loop" amazing!!
Jun 16, 2016 at 14:52 vote accept Karen Safrit
Jun 15, 2016 at 22:40 comment added yousafe007 Good to know you fixed that. Your approach was a bit different and glad it worked! Happy coding! 😊
Jun 15, 2016 at 22:38 comment added Karen Safrit Thank you. I was able to correct this code and keep the command line argument. Turns out the int n = strlen(argv[i]) should have been int s = strlen(s) to make this work.
Jun 15, 2016 at 20:15 history answered yousafe007 CC BY-SA 3.0