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

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: 3458
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: Sun May 10 10:19:54 GMT+2 2026

Total time taken to generate the page: 0.00487 seconds