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

 
Output of file : 1101096A contained in archive : CUJ9301.ZIP
#include
#include "fa4.h"

void display(const char *s, const float_array &fa)
{
cout << s << " = " << fa << endl;
}

int main()
{
size_t i, size;
cout << "size? ";
cin >> size;

float_array fa(size);
for (i = 0; i < fa.length(); ++i)
fa[i] = i;
display("fa", fa);
float_array fb = fa;
display("fb", fb);
for (i = 0; i < 2 * size; ++i)
{
fb[i] = i * i;
display("fb", fb);
}
const float_array fc = fa;
display("fc", fc);
cout << "fc[size] = " << fc[size] << '\n';
return 0;
}

----------



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

  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/