Here is the headers I include. Any header files missing to call sprintf ?
#include <ctype.h>
#include <errno.h>
#include <float.h>
#include <math.h>
//#include <stdio.H ...
I am using diPic33FJ256GP506. We have no problem with PCWH Ver3.236 with PIC18FXXX.
Since diPic33FJ256GP506 required the upgraded compiler we just bought it found sprintf failed.
Thanks!
Hi there,
I am using PCWHD ver4.093 (latest) but each time when I call:
sprintf(string, "%1.0f", float_value);
The system resets/restart/crash.
Can anybody tell me what's wrong? ...