[quote author=Ralinx link=board=9;threadid=4270;start=0#42299 date=1027286178]
just have a look in /usr/include/g++-v3 and u will find all of them
[/quote]He's not talking about STL lists.
Such a problem is usually used for functional programming, but I'll give you a structure, or rather a union, to work with.
Lists can be defined in the following way: they can contain any number of items, either of a specific type or any type, or (inclusive) contain other lists. For example, the following are lists in Scheme/LISP:
Code:
(1 5 9 2)
(8 3 (6 4))
((1 7) (0 2))
Bookmarks