What does your C book tell you an array is?
--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
"Usenet is a strange place" - dmr 29 July 1999
Sig line vacant - apply within
Ask your instructor, or buy the textbook.
-s
--
Copyright 2010, all wrongs reversed. Peter Seebach / usenet...@seebs.net
http://www.seebs.net/log/ <-- lawsuits, religion, and funny pictures
http://en.wikipedia.org/wiki/Fair_Game_(Scientology) <-- get educated!
Please tell your instructor and fellow students at IUT that asking
elementary questions like this in a newsgroup is a very bad way to
learn the language, and that those of us who actually participate in
the newsgroup are becoming quite annoyed.
--
Keith Thompson (The_Other_Keith) ks...@mib.org <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"
It's like an array in other programming languages, but different.
It's exceptionally not like arrays in the islands of Indonesia. It's
not like a boiled egg; although if it's an array of unsigned char it
is not only guaranteed to be quite filling but helpful when dealing
with boiled eggs, especially if you are exchanging your boiled eggs
with other people by sending them along wires (or, nowadays, magically
through thin air). It's sometimes like the queues at the post office,
but only if you aren't an old fogey that hates modern glitz and you
are happy about using the word "stack" in polite company. It's not
like an array in the C++ programming language, except when it is,
because it's not one of those classy things that can be bought from a
Tupperware catalogue (into which one can of course put boiled eggs).
Sometimes, it only looks like an array, but in fact is only a pretend
array that someone has argued you into receiving, and is sizeably
different from the real thing. And it's always like the piers at
Brighton, except without the railings.
You'll know when you've become a C/C++ programmer, because you'll come
back to the above and realize that in fact it made sense.
An array is a collection of teaching aids for lazy students.
Have a nic day.
It's like an array in other programming languages, but different.
It's exceptionally not like arrays in the islands of Indonesia. It's
not like a boiled egg; although if it's an array of unsigned char it
is not only guaranteed to be quite filling but helpful when dealing
with boiled eggs, especially if you are exchanging your boiled eggs
with other people by sending them along wires (or, nowadays, magically
through thin air). It's sometimes like the queues at the post office,
but only if you aren't an old fogey that hates modern glitz and you
are happy about using the word "stack" in polite company. It's not
like an array in the C++ programming language, except when it is,
because it's not one of those classy things that can be bought from a
Tupperware catalogue (into which one can of course put boiled eggs).
Sometimes, it only looks like an array, but in fact is only a pretend
array that someone has argued you into receiving, and is sizeably
different from the real thing. And it's always like the piers at
Brighton, except without the railings.
Aw fuck off... If you put that kind of energy into such a stupid
comment, no wonder you flattered me so much by spending lonely hours
googling every comment of mine over the last 10 years. TOO MUCH FREE TIME.
In your little flame bait I nybbled.
I sat in on my uncle's C class at St. Louis University. From the rear,
I could see how the students participated. About half of them surfed
the net. when I compared notes with my uncle after the lecture, I found
no correlation between achievement and those who seemed to be fooling
around.
I think the word array essentially means matrix anymore. Yes it has
particular meanings in the jargon of C, mathematics and english in
general, but I think the first definition would have dimension 2.
Are 4 dimensional arrays everywhere? No. I think elsewhere in physics
and math, we would call it a tensor. The section of mathematical help
of Einstein's 1916 General Relativity is 20 of the most readable pages
on their manipulation.
--
Uno
the apparently inattentive probably fell into two groups, those who
were bored because they didn't understand the material, those who were
bored because they very well understood the material and those, oh
wait, THREE main groups, those who can listen and surf at the same
time and, oh wait, AMONGST the main groups, observers planted by the
sociology department for the anthropology unit.
> I think the word array essentially means matrix anymore.
not really
> Yes it has
> particular meanings in the jargon of C, mathematics and english in
> general, but I think the first definition would have dimension 2.
err. no, I think. Array is widely used in computer science to mean a
contiguous sequence of objects of identical type.
> Are 4 dimensional arrays everywhere?
a what? Do you mean "is the term 4D array widely used"? Again
perfectly comprehensible in CS and used in many computer languages.
Yeah maths use matrix or vector for the 1D case.
<snip>
> Yeah maths use matrix or vector for the 1D case.
AFAICR, in mathematics the word "vector" is used for 1D, and "matrix"
for 2D. "Tensor" is used for higher dimensions (3+).
Right. http://en.wikipedia.org/wiki/Tensor
Einstein was careful to attribute to Mssrs. Ricci, Levi, and Civita that
they had already brought tensors to bear on theoretical physics. At
that link Einstein writes the following to the latter 2:
“I admire the elegance of your method of computation; it must be nice to
ride through these fields upon the horse of true mathematics while the
like of us have to make our way laboriously on foot."
In 1916, he also attributes to Minkowski, who had called Einstein "a
lazy dog." Einstein was visibly exhausted after this effort, proving
that dogs are instrumental in huge physics advances. I'm glad
Schroedinger killed the cat instead of a dog or a horse.
Less well known is the attribution to Christoffel, whom I don't know.
Riemann gets a well-deserved mention for his contributions to
differential geometry.
The final attribution, going by decreasing date of birth of contributor,
is Gauss, who lives everywhere in mathematics.
--
Uno
> Less well known is the attribution to Christoffel, whom I don't know.
http://en.wikipedia.org/wiki/Elwin_Bruno_Christoffel
Einstein would have attended his lectures.
--
Uno
my name is enam.I have a question.
What is the difference between Structure & Array?
You have structure and yo are an array of one.
And you are also a lazy student.