array with pointers.....

From: Mark (yodai_at_spamnot.mail.vu)
Date: 03/31/04


Date: Wed, 31 Mar 2004 19:28:45 GMT

This doesn't compile, but I can't see why: (am I not meant to do an array
with pointers?)

const unsigned int MyIP[] =
{
  *FIP1 + (*FIP2 << 8),
  *FIP3 + (*FIP4 << 8)
};

//where FIP is:

#define FIP1 ((unsigned int*)0xD004)



Relevant Pages

  • Re: compilation of ms crypto api program
    ... >> People tend to do radically stupid things with pointers in any case. ... > you were going to use a string array with 255 elemenst, ... > compile time error. ... can be completely eliminated by using an appropriate language. ...
    (sci.crypt)
  • Re: newbie program, pointers again...
    ... characters in a large 1-D array and some of this information for instance ... I would suggest reading a c beginner guide to pointers, arrays, ... The fact that it doesnt compile should indicate some work to be ... calculations to find where in the buffer new information must be added on. ...
    (comp.lang.c)
  • Re: How to retrieve data from array of pointers or from a struct?
    ... works during compile ... You are using an array of pointers not an array of long long values. ... examples/zzzmain.c:295: undefined reference to `memcpy' ...
    (comp.lang.c)
  • Re: array with pointers.....
    ... > This doesn't compile, but I can't see why: (am I not meant to do an array ... > with pointers?) ... "When a man talks dirty to a woman, ...
    (comp.lang.c)
  • Re: Dynamically allocated array
    ... Now I'm trying to compile and I'm getting a syntax error when ... I try to assign values to the array. ...
    (comp.lang.c)