TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: ALBERTO MONTEIRO
from: THOMAS MAEDER
date: 1997-12-20 10:31:00
subject: What`s wrong with this?

AM> What is the standard vector template? I know the MFC CArray class, a
It's  a class template included in the Standard C++ Library (aka STL).
It has nothing to do with Microsoft (and I'm happy about that). 
AM> it is tempting to create a derived Vector class [and also a Matrix
AM> class, btw] adding the overload of double * Vector, Vector + (or -)
AM> Vector, and Vector * Vector (scalar product). In fact, I have alread
AM> done those operations, for a class Vector with variable members int
AM> (dimension) and double * v (the array of elements).
So you think of vectors in the mathematical sens of the term. Then the
val_array  class  template (also in the Standard C++ Library) might be
what you are looking for.
Thomas
---
 þ MM 1.0 #0113 þ I'm as confused as a baby at a topless bar.
---------------
* Origin: McMeier & Son BBS (2:301/138)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.