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 20:36
Read: 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            01/01/70 00:00      
RE: Passing parameters            01/01/70 00:00      
RE: Passing parameters            01/01/70 00:00      
RE: Passing parameters            01/01/70 00:00      
RE: Passing parameters            01/01/70 00:00      
RE: Passing parameters            01/01/70 00:00      
Debugging preprocessor problems            01/01/70 00:00      
RE: Debugging preprocessor problems            01/01/70 00:00      
RE: lint            01/01/70 00:00      

Back to Subject List