Скачиваний:
63
Добавлен:
01.05.2014
Размер:
485 б
Скачать
// Line.cpp: implementation of the Line class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "Line.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

Line::Line(double a, double b) : Curve (a, b) // Вызываем конструктор предка
{
}


double Line::get(double x)
{
	return a * x + b;
}
Соседние файлы в папке prj4