S
santosh
Keith said:I don't understand. What is it about the Message-ID that causes you
to reach that conclusion?
Well, he is obviously using the newsreader 'trn' setup to masquerade as
OE, isn't he?
Keith said:I don't understand. What is it about the Message-ID that causes you
to reach that conclusion?
santosh said:Well, he is obviously using the newsreader 'trn' setup to masquerade as
OE, isn't he?
Bill Cunningham said:Mark,
Well it took awhile and a lot of guessing and working with printf but I
finally got q3c.
#include <stdio.h>
int main(void) {
int i;
for (i=0;i<7;i++) {
printf("%i" " ",i);
}
printf("\n");
return 0;
}
How is the indentation on this one ?
A comment on your code. Why did you write
"%i" " "
? Do you understand exactly what that syntax means (I'm referring to
the quotation marks, not the %i).
to say exactly the same thing? (Hint: Yes, there is.)
It wasn't obvious to me; I never bothered to look at the headers.
Okay but now that it's been pointed out to you by someone, do you
still believe that Cunningham is genuine?
I have no idea. For all I know, there could be perfectly valid
reasons to have trn masquerade (poorly) as OE. (I've done similar
things with web browsers in the past, telling Opera to masquerade as
Internet Explorer.) Or the Message-ID might have been set somewhere
else. Or his X-Newsreader: header might be incorrect. Or something I
haven't thought of.
Why would a troll post with trn masquerading as OE anyway? What would
be the point? Even if there's no innocent explanation, I don't see a
plausible guilty explanation. What do you have in mind?
Bill Cunningham said:Nope.
Keith said:I have no idea. For all I know, there could be perfectly valid
reasons to have trn masquerade (poorly) as OE. (I've done similar
things with web browsers in the past, telling Opera to masquerade as
Internet Explorer.) Or the Message-ID might have been set somewhere
else. Or his X-Newsreader: header might be incorrect. Or something I
haven't thought of.
Why would a troll post with trn masquerading as OE anyway? What would
be the point? Even if there's no innocent explanation, I don't see a
plausible guilty explanation. What do you have in mind?
Bill Cunningham said:Nope.
I had no idea what I was doing. I was hoping I would get it right
and kept fiddling around
My text (not k&r2)
said ' ' would be a space. It wasn't.
Okay but now that it's been pointed out to you by someone, do you
still believe that Cunningham is genuine?
Keith I don't think my headers are lying. I'm running old ver 6 of OE.Bill Cunningham: Do you have any comment on this? Do you know why
your X-Newsreader: header implies you're using Outlook Express, but
your Message-ID implies you're using trn?
Mark L Pappin said:The line Keith quotes contains two string literals, "%i" and " ",
separated by nothing but whitespace ("%i"" " or "%i" " " would be
equivalent). The compiler has (as it is required to) merged them into
a single string literal "%i " and it is this which printf() was
passed.
You've been told before: Don't Do That.
If you have no idea, ask.
I'm beginning to realise how pointless my offer to help was, but I'm
the eternal optimist here: prove them wrong, Bill; work through the
exercises I've set, post the code you come up with, tell us where
you're stuck, absorb the help that's given to you, and practice,
practice, practice. But step back from the Monte Carlo programming
technique (by which I mean "throwing random characters into source
file and hoping it does what you want") that you've already discovered
many times DOES NOT WORK.
1. What is your text?
2. Get K&R2.
You seem to be using English the same way you use C, stringing
together words that individually are fine but in concert are
meaningless. ' ' most certainly _is_ a space, but the way in which
you used it obviously didn't produce a space in the output - what you
should do in this case is
1. Show us the code you wrote.
2. Tell us _precisely_ what you expected it to do.
3. Tell us _precisely_ what it actually did.
mlp
Bill Cunningham: Do you have any comment on this? Do you know why
your X-Newsreader: header implies you're using Outlook Express, but
your Message-ID implies you're using trn?
Well, I'm sorry for my accusations,
enthusiastic about discussing C with you as I was some weeks
previously. In any case you are still getting excellent help from
several posters.
santosh said:Well, I'm sorry for my accusations, but forgive me if I'm not as
enthusiastic about discussing C with you as I was some weeks
previously. In any case you are still getting excellent help from
several posters.
Bill said:Vippstar only comes out to produce problems. Almost troll like.
But I
thank you for your help. You do discuss C atleast. I have posted my
full headers as a measure of good faith.
Mark L Pappin said:The line Keith quotes contains two string literals, "%i" and " ",
separated by nothing but whitespace ("%i"" " or "%i" " " would be
equivalent). The compiler has (as it is required to) merged them into
a single string literal "%i " and it is this which printf() was
passed.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.