• Where is datatype 'UsbSocket' defined?
    We use Keil development tools. We have ARM7 LPC2400 based controller that talks to host over USB. I started looking at the code in the controller that is used to carry out USB Communications. In...
  • Is 'unsigned' a datatype by itself?
    Hi, I have seen that some of the example programs availbale in this site define/declare variables as unsigned. For eg: unsigned voltage; //A-to-D example program What type would voltage in the...
  • floating point datatype
    Hello Can any body tell me how to use floating point datatype for programming in C in kiel. i have defined in the following way float i= 19.5; or float j= 18.2/255; but these are given as...
  • sizeof in #if Compiler statement not working
    Hallo, I use RealView compiler for c I like to assert a statement by procompiler Writing: int i; const int Ass_FR = sizeof(i); #if Ass_FR != 5 #error "Error!!!" #endif is working...
  • sizeof struct
    I have a struct with 2 members of type double and 1 member of type long. The sizeof() function returns 24. Normaly it should be 20(2*8bytes for the doubles and 4 bytes for the long). When I add...