Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/12/02 14:36
Read: 1305 times


 
#29087 - Passing parameters
Iwould like to pass a value in Hex to a function call, Why doesn't this work?

#define reset 0xe1;

void test(unsigned int ival);

void main(){

test(reset);
}
void test(unsigned int x){
//do somthing
}
Thanks Spencer



List of 9 messages in thread
TopicAuthorDate
Passing parameters      Spencer Lee      09/12/02 14:36      
RE: Passing parameters      Dan Henry      09/12/02 14:39      
RE: Passing parameters      Spencer Lee      09/12/02 14:48      
RE: Passing parameters      Andy Neil      09/13/02 02:45      
RE: Passing parameters      Spencer Lee      09/13/02 10:20      
RE: Passing parameters      Andy Neil      09/13/02 15:40      
Debugging preprocessor problems      Andy Neil      09/13/02 15:55      
RE: Debugging preprocessor problems      Dan Henry      09/13/02 16:36      
RE: lint      Andy Neil      09/15/02 07:41      

Back to Subject List