Bill Cunningham said:
I appreciate everyone who cares' involvement in this but giving me
the answers like Santosh did below might not be best. If we would've
talked I probably would've figured it out but now Santosh gave me
the answer. Do you agree that others' input should be hints and not
answers ?
Bill, this is Usenet. I can't control what other people post, and if
your flailing about drives them to hand you the answer on a plate just
to make you shut up, there's nothing I can do about it. I'm trying to
structure the progression of these exercises so that each one builds
on what you've already demonstrated you can regurgitate - please tell
me as soon as possible if I've taken too big a step for you to follow
- for everybody's sake don't post some random crap and expect us to
believe it was a genuine attempt that you thought would solve the
problem. The horribly broken printf() call was almost enough to
convince me that you're a troll who's enjoying stringing me along.
In the last 24 hours you've produced a lot more verbiage without
saying much.
printf ("%i\n", i, " " , "%i\n", i*i, "%i\n" , " " , "%i\n" , i*i*i);
^
Caret 1. points to format specifier
No, it doesn't. There are tab characters involved there somewhere,
because the carets don't line up with anything meaningful in that
line. Make sure that your posts (including code) contain no tab
characters in future. And you managed to screw up the matching
between attributions and quoting depth. ... Ahh, this article got
posted several times.
....
You said 3 lines so the \n character 3 times.
No, I didn't say "3 lines". I said:
4a. Write a program to print 7 lines, each containing the line
number (start at 0), the square of the line number, and the cube of
the line number, separated by spaces.
I said "7 lines". Total.
Each of those 7 lines had to contain 3 things, separated by spaces.
Please remember Mark that... Well I don't know if you know or not
but you should so I will speak. My mind is half gone. In that I mean
concentration is limited. I'm on about 6 psychotropics legally for
mentall illness.
With all due respect Bill: I don't care. Some people and some
occupations are incompatible - I'm never going to be a gymnast, for
example, no matter how much I stamp my feet and say "I wanna".
Programming a computer requires mental activity - if yours is impaired
then you're at a disadvantage before you start. Unless you are truly
outstanding (and I've seen no evidence of that) you will remain
blocked here. Perhaps you need to find another hobby (I trust that
you've not been considering this as a career direction) - take up
building model ships out of toothpicks, or something.
If you believe that you are as extraordinary as you would need to be
to break through the shackles which so far seem to be binding you, see
my other followup, to your "K&R2" posting.
Apart from that, have a nice life. I'm done here.
mlp