Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

pointer

  1. tom3141

    C Expression must have pointer-to-object type

    I have defined some variables. I have previously defined #define SYS_LEN 50.0 #define N_CELLS ((int)SYS_LEN) as well as extern double *array_one where I populate the array via array_one[0] = 0.5*SYS_LEN array_one[1] = 0.25*SYS_LEN I then go onto define a further array within a function void...
Back
Top Bottom