H
Horacius ReX
Hi,
I have the following program structure:
main
.....
int A=5;
int* ptr= A; (so at this point ptr stores address of A)
.....
.....
send_data(...)
....
.....
for the function send_data, I need on its body to use the address of
A:
void send_data(...){
.....
.....
char* R=(char*) ptr;
......
but due to the limitations of the compiler (please dont ask me why )
I can not use pointers here.
At the moment I do not know how to send to the function the address
information, somebody has idea ?
Thanks in advance
I have the following program structure:
main
.....
int A=5;
int* ptr= A; (so at this point ptr stores address of A)
.....
.....
send_data(...)
....
.....
for the function send_data, I need on its body to use the address of
A:
void send_data(...){
.....
.....
char* R=(char*) ptr;
......
but due to the limitations of the compiler (please dont ask me why )
I can not use pointers here.
At the moment I do not know how to send to the function the address
information, somebody has idea ?
Thanks in advance