This commit is contained in:
2025-03-12 12:37:19 +03:00
parent 1c851baa7e
commit 6a4040be3e
426 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
// RedVar.cpp: implementation of the RedVar class.
//
//////////////////////////////////////////////////////////////////////
#include "RedVar.h"
using namespace std;
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
RedVar::RedVar()
{
}
RedVar::~RedVar()
{
}
RedVar::RedVar(long ARedElmSize, long ARedArrLength, long ALocElmSize) :
RedElmSize(ARedElmSize),
RedArrLength(ARedArrLength),
LocElmSize(ALocElmSize)
{
}
long RedVar::GetSize()
{
return (LocElmSize + RedElmSize) * RedArrLength;
}