"Peteris Krumins" <peteris.krumins@gmail.com> writes:[color=blue]
> No matter how correct your va_arg_example() function is the
> program will always print "Hi charles" with a lowecase 'c' unless of
> course
> your va_arg_example() function does explicity capitalize the first
> letter.[/color]
Please provide some context. To quote CBFalconer's signature:
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
You're right about the upper case vs. lower case 'c', but that's not
the point (presumably it was just a typo). The point (which was
mentioned in a followup several days ago) is that printf() doesn't
take a va_list argument (vprintf() does).
--
Keith Thompson (The_Other_Keith)
kst-u@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.