📄 list.3.man
字号:
LIST(base) C++ UTILITY CLASSES LIST(base) Jun 1 15:25NAME List - a simple class for lists of numbersSYNOPSIS #include <List.hh> class List \fIPublic members\fP int l; Type* d; List(); List(const List<Type>&); ~List(); const Type& operator[](const int) const; Type& operator[](const int); List<Type> normalize(); void Reset(); int length(); Type last(); Type first(); Vector<Type> ToVect(); Vector<Type> ToVect(int); List<Type>& operator+=(const Type); List<Type>& operator+=(const List<Type>&); List<Type>& operator=(const List<Type>&); \fIFriends\fP List<Type> ToList(Vector<Type>&); ostream& operator <<(ostream& os, const List<Type>&); istream& operator >>(istream& is, List<Type>&); \fIPrivate members\fP void addvals(const int n, const Type* dv); void ensureSubs(const int i);DESCRIPTION List<Type> is a simple array of floats that supports formatted i/o with curly braces around the list. It also supports convenient extension and combination of arrays of Types. CAVEATS DEFINED MACROS LIST_HHINCLUDED FILES <iostream.h>SOURCE FILES List.cc
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -