Hi..
Is there anyone that can help me with a clarifying comments on how typecast is used, I know the basic rules about typecast, but I wout like to learn the little more advanced function/rules...
Type: Posts; User: ramdal
Hi..
Is there anyone that can help me with a clarifying comments on how typecast is used, I know the basic rules about typecast, but I wout like to learn the little more advanced function/rules...
thanx..
How do I place a pointer to a strings in the rom, I have attemptet this:
const char *MenuAHeadline[NUM_OF_LANG]= {"1 Unload program",""};
But it still puts the pointer into the ram. :mad:
Yes ok, I think I got it, thanks.
non Operating system.
I have some struct’s with data.
I don’t want to use the same function, for all of my struct’s, for this reason I want the pointer, then I will include the pointer I my...
Hi
I have a pointer to a function, like this:
extern MyProces();
void(*ProcesPtr)(void) = MyProces;
How do I place the pointer in the rom insted of the ram.
Hi.
In my menu system, I use different languages, about 5 different.
I have stored my text in the rom and I use a pointer to every text line like this.
const char...
Hi
it has to be like this :
struct Template {
struct Template const **NextMenu;
};
I got it!!!!!!!!!! :D
My *NextMenu has to be a pointer to a pointer.
extern struct Template const MenuA;
struct Template const **PointerMenuA[] ={&MenuA,0};
struct Template const MenuA...
Hi.
I think we are on to something now :) , but my array is in my struct.:(
Like this
struct Template const MenuA = {PointerMenuA[0]};
Yes that right, but I have more than one address in my array, that’s why I have to access the address of my menus through the array.
Something like that: (still wrong) :(
void main()
{...
Hi
If I do like this:
Pointer = &MenuA;
Pointer = Pointer -> NextMenu;
I still get the address of the "PointerMenuA" array? :confused:
Any other ideas? Or maybe I just need a little...
HI Ng.
I got a littel problem with a pointer to a struct
struct Template {
struct Template const *NextMenu;
};
extern struct Template const MenuA;