• Initialisation of variables
    Hello ! By default, any C variables are cleared to zero on startup. However, I desired for some data that they are not be cleared on startup. How can I do this ? Thanks Michael
  • Initialising Structures
    Hello, I am using the PK51 package. My program requires a structure of arrays. The following files are used:- 1) declare.c For defining the global variables 2) declare.h Containing the extern definations...
  • 89LPC935 initialisation
    I was using the "Measure" program as the basis for an application. The target device was selected to be a P89LPC935 (I needed the A/D). Everything works fine in simulation with one annoying exception...
  • Global Variable.
    In my project I have two files. as follows File A int x; main() { x=2; } File B extern int x; { x=4; } When I compile both files independatly, there is no error. When I link both modules...
  • Global variable
    In my project I am using four source code files. There is one variable, which is used in all four files. When I declared this variable in one file and compiled the file, the compilation was successful...