Bill Cunningham said:
I am honestly not quite sure how to answer this post. I understand there
are always going to be people who believe you have some sinister motive
behind everything and nothing can really be said to change that. But I
will
You are seemingly intelligent and well spoken and polite. I refuse to
believe that you do not understand C scoping rules with regard to
braces. It is the easiest thing in existence. I also do not believe you
do not have the common sense to correctly *MANUALLY* indent your code so
it is laid out nicely and is easy on the eye. Do not rely on indent. Do
it yourself.
give it a shot. I usually use indent to post my code and have been doing
that for awhile to make things easier to read and I forgot this
time. If you
Why? Do it yourself.
had been following my posts (which is up to you) you would know that. That
makes me have some doubts to your motives Richard. In my understanding clc
is a place to go for help now true; I might have been able to pick up
a
It is not the place to continually make the same mistakes regardless of
advice. You will then just become cannon fodder for the pedants in this
group of which there are many. I suspect most have you killfiled already
as many people consider you to be a troll and just here to waste peoples
time.
reference and correct that %.2f thing but I doubt the parenthesis I would
have caught on my own.
Why? It is the easiest thing in the world. Indent your code. Do not have
multiple statements on one line like Falconer does. Be
consistent. Personally I prefer the original K&R style e.g (code not
compiled or meant to do anything other than show layout)
,----
| int i;
| for(i=0;i<10;i++){
| doSomething(i);
| doSomethingElse(i);
| }
`----
I like it because the boundaries are easy to see. Heathfield advocates
the opening brace on the next line e.g
,----
| int i;
| for(i=0;i<10;i++)
| {
| doSomething(i);
| doSomethingElse(i);
| }
`----
Personally I do not like that but it is clear and easy to spot missing
braces. I would have no problem with anyone working on any projects of
mine using such and can understand why he, and others, prefer it.
As to level of understanding, I don't profess to be a C expert or I
wouldn't need clc. As for the term "Troll" this is my understanding of
it.
You do not have to be a C expert to understand braces. Practice. Do not
post your code until you have checked your parenthesis/braces. Really
Bill, you will not learn anything by constantly posting the same errors
and then glibly stating that "you are not quite familiar with or fully
understanding braces". How can you not be?
From wikipedia there was an instance where a man pretended to be a woman
and so on and there was a big problem. On clc I doubt seriously that it is
possible to "troll". No one truely knows nor will ever expect to meet anyone
else here. That's common sense. And all we discuss is C. And nothing else.
How much damage can be possibly done.
The only damage is that people who can guide you and help you will
killfile you as they feel their advice is falling on deaf ears.