Category : Files from Magazines
Archive   : CUJ9305.ZIP
Filename : 1105082A

 
Output of file : 1105082A contained in archive : CUJ9305.ZIP
// fa1.h - a dynamic array of float using a subscripting
// object

#include

class fa_index
{
friend class float_array;
public:
fa_index &operator=(float f);
operator float();
private:
fa_index(float_array *f, size_t i);
float_array *fa;
size_t ix;
};

class float_array
{
friend class fa_index;
public:
float_array(size_t n = 0);
float_array(const float_array &fa);
~float_array();
float_array &operator=(const float_array &fa);
float operator[](size_t i) const;
fa_index operator[](size_t i);
size_t length() const;
private:
void extend(size_t i);
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   : CUJ9305.ZIP
Filename : 1105082A

  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/