Vaillat Remi

How to use mathematicals functions and memory allocation ?

Discussion created by Vaillat Remi on Jan 27, 2010
Latest reply on Sep 30, 2010 by giacomopetrini

Hello,

 

I use CodeWarrior for DSC56800E v8.3 and CodeWarrior IDE version 5.9.0 Build 4713. I travel under Windows 32 bits.

 

I build my project with C language.

 

I would know to use the functions as cos, sin, tan, ... . I already try librairies "math.h" and "cmath" but it's not good.

 

Moreover, I would do an allocation memory, I try to use the function "malloc". Somebody say me that existed a function to remplace "malloc".

 

Best regards,

 

Guy Roux

Outcomes