• about the pointer point to the function
    Hi: I want to build an array that contain the pointer of some function in our program. a simulated example is as below //claim two function int x(void); int y (void); main() { int *(p)(void...
  • What's the difference between function point below!?
    My code void func1(void) { printf("In FUNC1(%d)\n", 1); } void func2(void) { printf("In FUNC2(%d)\n", 2); } code void (*ff[])()={func1,func2}; void main(void) { SCON = 0x50; TMOD |= 0x20; TH1...
  • use of printf function for floating point number format
    Hi, I have got the wrong result when I use the function printf with format of floating point number which is more than 1000000. For example: f=10000012; printf("\n\r%4.3f",f); and I have got only...
  • Floating Point
    How I can deny a number floating point, without using some mathematical operation (eg. :number * (-1)). ?? How can I take the first 8 bits of the number???
  • floating point
    Hi every body I don't know why I don't have the float part of the temp var. float temp; int H_Value; int L_Value; int value = 55; temp = value / 10; H_Value = (int)temp; L_Value = (int)(temp...