Newbie needs help correcting code

R

Randy Howard

zotkara wrote
(in article <[email protected]>):

[snip]

PLEASE stop replying by doing nothing other than changing the
subject line and quoting the entire previous message.
 
K

Keith Thompson

Randy Howard said:
zotkara wrote
(in article said:
i think *argv[] cannot be an array since it is a pointer.

It's not wise to argue with Richard about C. Almost all of the
time he is correct. If you are having trouble with your code,
odds are you are nowhere near as experienced. Listen to him, he
has a great deal to offer for those that want to learn and have
an open mind.

On the other hand, publicly disagreeing with an acknowledged expert
can be a good way to learn, usually by exposing precisely what it is
that you don't understand. (On very rare occasions, you might even be
right and the expert can be wrong.)

Note that zotkara wrote "I *think* *argv[] cannot be an array". That
was a true statement at the time he wrote it, he undoubtedly did think
that.

It might have been more appropriate to write something like, "I
thought that *argv[] counld't be an array since it's a pointer; what
am I missing?", but the end result is the same.
 
M

Mark McIntyre

On Wed, 04 Jan 2006 09:07:09 +1100, in comp.lang.c , zotkara

(nothing, but changed the subject)

PLEASE do not reply and change the subject. Put your comment in the
message body.

Some newsreaders use the subject to link threads together, and many
other newsreaders don't display the subject of threaded posts (they
use the subject of the first post in the thread, and discard the rest
of the subjects), so your remark is completely lost.
Mark McIntyre
 
R

Randy Howard

Keith Thompson wrote
(in article said:
Randy Howard said:
zotkara wrote
(in article said:
i think *argv[] cannot be an array since it is a pointer.

It's not wise to argue with Richard about C. Almost all of the
time he is correct. If you are having trouble with your code,
odds are you are nowhere near as experienced. Listen to him, he
has a great deal to offer for those that want to learn and have
an open mind.

On the other hand, publicly disagreeing with an acknowledged expert
can be a good way to learn, usually by exposing precisely what it is
that you don't understand. (On very rare occasions, you might even be
right and the expert can be wrong.)

Fair enough.
 

Ask a Question

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.

Ask a Question

Similar Threads

Problem with enums, const char* and structs 9
pointer array problem? 7
struct problems 71
Initialization Problem 4
dice generator problems 43
Code Review Request: Newbie C programmer 15
Program Help 2
newbie question 6

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,043
Latest member
CannalabsCBDReview

Latest Threads

Top