
-----------------------------------
myob
Tue Jan 25, 2005 9:17 am

need a help on setting up borland c++
-----------------------------------
i am currently getting an error when im trying to run an easy file. it returns me an error which i included in the screenshot. ill also include the code too since that may help as wellk, i can ensure you that the code works. thanks in advance for anyone would help

http://67.18.37.18/964/62/upload/p2860955.jpg

#include "ccc_win.h"

int main()
{
	double val1,val2,val3,val4,tempv,ulenx,uleny,len,initx,inity;
	string str1,str2,str3,str4;

   str1=cwin.get_string("Enter the first label: ");
   val1=cwin.get_double("Enter the first value: ");
	str2=cwin.get_string("Enter the second label: ");
   val2=cwin.get_double("Enter the second value: ");
   str3=cwin.get_string("Enter the third label: ");
   val3=cwin.get_double("Enter the third value: ");
   str4=cwin.get_string("Enter the fourth label: ");
   val4=cwin.get_double("Enter the fourth value: ");

   if (val1>val2) tempv=val1;
   else tempv=val2;
   if (tempv>val3);
   else tempv=val3;
   if (tempv>val4);
   else tempv=val4;
   ulenx=tempv/18, uleny=4, initx=-9.5, inity=-8;
   Point a(initx,inity), b(initx+val1/ulenx,inity), c(initx,inity+uleny);
   cwin 