TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:10678] Simple C Question



> > Hmm.. looks to me like this would output the ASCII characters with the
> > values 16, 32, etc., instead of the strings '16', '32', etc..
> 
>         No, he's lucky he's not core-dumping his program.  He's
> generating pointers off into random chunks of memory and hoping to find
> strings there.

Oh yeah..  (char *), not (char)

I don't think C is the language for me ;-)  If only Java was fast...

-- 
 _  _  _  _ _  ___    _ _  _  ___ _ _  __   "Off the keyboard, thru 
/ \/ \(_)| ' // ._\  / - \(_)/ ./| ' /(__   the router, over the  
\_||_/|_||_|_\\___/  \_-_/|_|\__\|_|_\ __)  bridge, nothing but net!" 
 [ Mike Hicks | http://umn.edu/~hick0088/ | mailto:hick0088@umn.edu ]