mahm150
Full Member level 1
- Joined
- Dec 14, 2010
- Messages
- 98
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 1,288
- Location
- Cairo, Egypt, Egypt
- Activity points
- 2,001
my code
declare the function
****************
void arrange_message(unsigned char data_wrtn[16],unsigned char data_order);
call the function.
**************
arrange_message(THREE[j],1);
definition of function
*****************
oid arrange_message(unsigned char data_wrtn[16],unsigned char data_order)
{
unsigned char p;
if(data_order==1)
for(p=0;p<=7;p++)
{ temp1[p]= data_wrtn[p];}
}
****************************************
the error message of compiler is
parameter #1 of type unsigned char[] is compatible with type unsigned char[] specified in the
function arrange _message
declare the function
****************
void arrange_message(unsigned char data_wrtn[16],unsigned char data_order);
call the function.
**************
arrange_message(THREE[j],1);
definition of function
*****************
oid arrange_message(unsigned char data_wrtn[16],unsigned char data_order)
{
unsigned char p;
if(data_order==1)
for(p=0;p<=7;p++)
{ temp1[p]= data_wrtn[p];}
}
****************************************
the error message of compiler is
parameter #1 of type unsigned char[] is compatible with type unsigned char[] specified in the
function arrange _message