Category : Files from Magazines
Archive   : CUJ9301.ZIP
Filename : 1101095A

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

#include "fa3.h"
#include

// other float_array member function definitions ...

const float &float_array::operator[](size_t i) const
{
assert(i < len);
return array[i];
}

float &float_array::operator[](size_t i)
{
assert(i < len);
return array[i];
}



  3 Responses to “Category : Files from Magazines
Archive   : CUJ9301.ZIP
Filename : 1101095A

  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/