Sadly, ecvt does not work, despite it is declared in the msvcrt.lib of PellesC.
There is a small thread in the "experts" section of the forum, concerning some remedy actions. However none of ideas expressed there are working.
The following proggie works with all different C compilers on my computer, but not with PellesC:
/* Cheap ecvt test */
#include <stdio.h>
#include <stdlib.h>
void main(void)
{ int a, b;
char * conv = ecvt(9e0,20,&a,&b);
printf("\nECVT Test: %f -> %s, %d, %d ",9e0,conv,a,b);
}
It should print:
ECVT Test: 9.000000 -> 90000000000000000000, 1, 0