Category : Files from Magazines
Archive   : CUJ9301.ZIP
Filename : 1101094C

 
Output of file : 1101094C contained in archive : CUJ9301.ZIP
// fa3.h - a dynamic array of float with operator[]
// as both const and non-const member functions

#include

class float_array
{
public:
float_array(size_t n = 0);
float_array(const float_array &fa);
~float_array();
float_array &operator=(const float_array &fa);
const float &operator[](size_t i) const;
float &operator[](size_t i);
inline size_t length() const;
private:
float *array;
size_t len;
};

ostream &operator<<
(ostream &os, const float_array &fa);

inline size_t float_array::length() const
{
return len;
}

----------



  3 Responses to “Category : Files from Magazines
Archive   : CUJ9301.ZIP
Filename : 1101094C

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/