U++ framework
Do not panic. Ask here before giving up.

Home » Developing U++ » UppHub » PlotCtrl
Re: PlotCtrl [message #22856 is a reply to message #22853] Sat, 22 August 2009 14:27 Go to previous messageGo to previous message
gridem is currently offline  gridem
Messages: 45
Registered: August 2008
Member
I removed the 'abs' function and:
----- PlotCtrl ( GUI NOGTK MSC9 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (2 / 11)
PlotCtrl.cpp
d:\MyApps\PlotCtrl\PlotCtrl.cpp(38) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
d:\MyApps\PlotCtrl\PlotCtrl.cpp(128) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
d:\MyApps\PlotCtrl\PlotCtrl.cpp(129) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
d:\MyApps\PlotCtrl\PlotCtrl.cpp(134) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
d:\MyApps\PlotCtrl\PlotCtrl.cpp(135) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
d:\MyApps\PlotCtrl\PlotCtrl.cpp(139) : warning C4554: '&' : check operator precedence for possible error; use parentheses to clarify preceden
	ce
d:\MyApps\PlotCtrl\PlotCtrl.cpp(140) : warning C4554: '&' : check operator precedence for possible error; use parentheses to clarify preceden
	ce
d:\MyApps\PlotCtrl\PlotCtrl.cpp(141) : warning C4554: '&' : check operator precedence for possible error; use parentheses to clarify precedence
d:\MyApps\PlotCtrl\PlotCtrl.cpp(161) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
d:\MyApps\PlotCtrl\PlotCtrl.cpp(175) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
d:\MyApps\PlotCtrl\PlotCtrl.cpp(280) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
d:\MyApps\PlotCtrl\PlotCtrl.cpp(280) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
d:\myapps\plotctrl\plotctrl.cpp(76) : error C4716: 'PlotCtrl::ZoomAll' : must return a value
PlotCtrl: 1 file(s) built in (0:04.62), 4625 msecs / file, duration = 4657 msecs

There were errors. (0:04.73)

Need to add 'return *this;' at the end of function ZoomAll. After that the project was compiled successfully. The result you can show on the picture:

index.php?t=getfile&id=1896&private=0
  • Attachment: plot.png
    (Size: 22.09KB, Downloaded 1762 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Splash Screen for Your applications!
Next Topic: String near match algorithm
Goto Forum:
  


Current Time: Thu Jul 23 04:04:24 GMT+2 2026

Total time taken to generate the page: 0.00552 seconds