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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/12/03 18:07
Read: times


 
#36279 - ANSI for ids with underscores
Hi,
What's the ANSi rule concerning function and variable names that begins with an underscore. I have a function named _InitMBUs(void) in a file and in another file I accidentally called a non-existing function named InitMBus() and the compiler did not complain, but rather just link the call to an arbitrary memory location. What's wrong with the following function names?

1) void _InitMBus(void) {}
2) void _initMBus(void) {}

Is #2 the recommended way to go?

Thanks


List of 4 messages in thread
TopicAuthorDate
ANSI for ids with underscores            01/01/70 00:00      
RE: ANSI for ids with underscores            01/01/70 00:00      
RE: ANSI for ids with underscores            01/01/70 00:00      
RE: ANSI for ids with underscores            01/01/70 00:00      

Back to Subject List