many thx
> what is abstract data type??can anyone provide me two examples please??
Do your own homework.
--
"In My Egotistical Opinion, most people's C programs should be indented six
feet downward and covered with dirt." -- Blair P. Houghton
An abstract data type is like a normal data type, say int or char, but
one that was originally only intended to compile on Abstract C, an
implementation of C by K&R that built upon the C89 standard, and added
support for ADTs and abstract constants (off-topic, quite an advanced
subject).
Many other languages have added implementations of this feature, which
is why for example you'll hear of Java developers and C++ developers
talking of ADTs.
Two examples of ADTs are:
1. abs_int - an abstract definition of the integer type, which can also
store dates in native system format, and floating point values of up to
20 significant digits.
2. linked lists - these are abstract data types that have been
implemented in almost every modern language. Note that they originated
in Abstract C (a sore point with Abstract C developers), and were
rapidly adopted by other languages.
Hope that answers your question in an appropriate fashion.
--
Duncan Bayne
2000 Honda NSR150RR
-----------------------------------------------------------------------
EMail: dhb...@ihug.co.nz Web: http://dhbayne.netfirms.com/
Kuro5hin: dangermouse Slashdot: dangermouse_nz (UID 315952)
Phone: 025 626 3023
-----------------------------------------------------------------------
To think contrary to one's area is heroism. But to speak against it is
madness.
-- Eugene Ionesco
-----------------------------------------------------------------------
"Duncan Bayne" <dhb...@ihug.co.nz> ?????
news:3ABA8A81...@ihug.co.nz...
What about a web search ?
www.google.com + abstract data type + I feel lucky
http://hissa.nist.gov/dads/HTML/abstracdtype.html
--
-hs- "spaces, not tabs"
CLC-FAQ: http://www.eskimo.com/~scs/C-faq/top.html
ISO-C Library: http://www.dinkum.com/htm_cl
FAQ de FCLC : http://www.isty-info.uvsq.fr/~rumeau/fclc
> An abstract data type is like a normal data type, say int or char, but
> one that was originally only intended to compile on Abstract C, an
> implementation of C by K&R that built upon the C89 standard, and added
> support for ADTs and abstract constants (off-topic, quite an advanced
> subject).
> Many other languages have added implementations of this feature, which
> is why for example you'll hear of Java developers and C++ developers
> talking of ADTs.
> Two examples of ADTs are:
> 1. abs_int - an abstract definition of the integer type, which can also
> store dates in native system format, and floating point values of up to
> 20 significant digits.
> 2. linked lists - these are abstract data types that have been
> implemented in almost every modern language. Note that they originated
> in Abstract C (a sore point with Abstract C developers), and were
> rapidly adopted by other languages.
> Hope that answers your question in an appropriate fashion.
I bet the OP hands in your answer to his instructor, word-for-word.
--
/-- Joona Palaste (pal...@cc.helsinki.fi) ---------------------------\
| Kingpriest of "The Flying Lemon Tree" G++ FR FW+ M- #108 D+ ADA N+++|
| http://www.helsinki.fi/~palaste W++ B OP+ |
\----------------------------------------- Finland rules! ------------/
"It's time, it's time, it's time to dump the slime!"
- Dr. Dante