View Single Post
  #12 (permalink)  
Old 01-04-2009, 10:31 PM
CJSLMAN's Avatar
CJSLMAN CJSLMAN is offline
Moderator
 
Join Date: Oct 2008
Location: Mexico
Posts: 1,160
Rep Power: 3
CJSLMAN is on a distinguished road
Default OK...
If you don't need to print any array elements, then the output in your first post is OK, assuming that the user didn't specify any command line arguments. All you have to do is find out if the user specified any arguments and my previous post has the solution for that.

Luck,
CJSL
__________________
Chris S.
Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.
Reply With Quote