"Bill Cunningham" <> writes:
> Martin Ambuhl wrote:
>> Is it possible that you don't see that
>> "must enter some value for moving average
>> parameter(s)\n"
>> is on more than one line, and has the appears to be intended to be one
>> string literal? I can't believe that. In any case, it's easy to fix:
>>
>> fprintf(stderr, "must enter some value for moving average"
>> "parameter(s)\n");
The output will include the word "averageparameter(s)". Add a space.
> Ok no I have never had a string move off of one line. I have always used
> very short error messages like
> "user error"
> "input error"
> "error 1"
> "error 5"
>
> and such.
Ok, you've never had this problem before.
Now you do have this problem. And the compiler is telling you exactly
what the problem is. Are you waiting for an engraved invitation?
--
Keith Thompson (The_Other_Keith)
kst- <http://www.ghoti.net/~kst>
Nokia
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"