первый

This commit is contained in:
2024-11-01 12:23:13 +05:00
parent 801d9d33fa
commit 0688c46a7e
226 changed files with 162921 additions and 0 deletions

View File

@ -0,0 +1,33 @@
//---------------------------------------------------------------------------
//#pragma hdrstop
#include "stdafx.h"
#ifdef _WINDOWS
#include <Math.h>
#else
#include <math.h>
#endif
#include "Printer.h"
//---------------------------------------------------------------------------
//#pragma package(smart_init)
//---------------------------------------------------------------------------
typedef unsigned int uint4;
//---------------------------------------------------------------------------
CPrinter::CPrinter()
{
m_Dots=0;
m_LastErrorCode=0;
}
//---------------------------------------------------------------------------
CPrinter::~CPrinter()
{
}
//---------------------------------------------------------------------------
//Получить множитель для перевода в целые. если 0 точек после запятой то вернёт 1 иначе кол-во * 10
double CPrinter::M()
{
return pow(10.0f,m_Dots);
}
//---------------------------------------------------------------------------