// ------------------------------------------------------------------------ // This program is complementary material for the book: // // Frank Nielsen // // Visual Computing: Geometry, Graphics, and Vision // // ISBN: 1-58450-427-7 // // Charles River Media, Inc. // // // All programs are available at http://www.charlesriver.com/visualcomputing/ // // You may use this program for ACADEMIC and PERSONAL purposes ONLY. // // // The use of this program in a commercial product requires EXPLICITLY // written permission from the author. The author is NOT responsible or // liable for damage or loss that may be caused by the use of this program. // // Copyright (c) 2005. Frank Nielsen. All rights reserved. // ------------------------------------------------------------------------ // ------------------------------------------------------------------------ // File: heron.cpp // // Description: Simple templated linked list class // ------------------------------------------------------------------------ #include "stdafx.h" #include #include using namespace std; // This example can be calculated robustly using the CORE library // see http://www.cs.nyu.edu/exact/core/heron/ int _tmain(int argc, _TCHAR* argv[]) { float a,b,c,heron,s; double A,B,C, HERON, S; cout<<"Visual Computing: Geometry, Graphics, and Vision (ISBN:1-58450-427-7)"<