• sprintf() problem.
    Hi! Can you please tell me what is wrong in here: /* An example from Cx51 userÂ's guide */ #include<stdio.h> #include<float.h> void main(void) { code char buf[100]; int n; int a,b; float pi;...
  • PROBLEMS WITH SPRINTF
    Hi i am having a problem with the sprintf function. i don't know what i am doing wrong. i created a function where i use sprintf to separate the digits of a decimal number, and the first time that...
  • sprintf
    Hello! I am trying to use sprintf, but get no result (C51, version 5.20). char xdata command [80], i=100; strcpy (command, "Hello!"); // now command contains "Hello!" sprintf (command, "Test %d...
  • SPRINTF()
    I am using SPRINTF() function and it increase the code by 2.3K. Is there any method to reduce the code size. Thanks, Mashood
  • sprintf ()
    Hello! Some time ago I had a problem with sprintf(), it just didn't change the string variable as it should have. The problem somehow vanished, and I had no time to investigate further... Now I...