On Thu, 21 Dec 2006 15:42:22 -0700, Steve Comstock
<[EMAIL PROTECTED]> wrote:

>Indeed, I tried what you suggested and got a S0C4
>(of course, I could have made some kind of an
>error in copying or compiling, etc., but I think
>I'm closer to right on this one).

Well, I was a bit cavalier in thinking I code code this by hand w/o testing it.

But this does work:

int main(int argc, char * argv[]) {
                                   
  int i;                           
                                   
  for (i=1; i<argc; i++)           
    printf("%s ", argv[i]);        
                                   
  return(0);                       
  }                                

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to