Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Assert failed in core/value.h line 464
Re: Assert failed in core/value.h line 464 [message #28283 is a reply to message #28281] Wed, 25 August 2010 17:46 Go to previous message
koldo is currently offline  koldo
Messages: 3361
Registered: August 2008
Senior Veteran
Hello Jerson

Good for finding it.

Remember my first post:

This code gives compiling errors because the compiler does not know in advance the type of val:
Value val = 35;
double res = val/2;

This one works:
Value val = 35;
double res = int(val)/2.;


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Algorithms and Vectors
Next Topic: Passing Vectors as arguments of functions.
Goto Forum:
  


Current Time: Wed May 15 06:31:31 CEST 2024

Total time taken to generate the page: 0.01837 seconds