-
November 6th, 2003, 11:26 PM
#1
What's the meaning of run-time macro
When I look up MSDN today, I see the term "run-time macros". For example, "For flexibility, use run-time macros such as _tcschr and _tcscpy when possible. " in the chapter "General MBCS Programming Advice". I often use the macros such as _tcscpy, _tcschr, etc. But I can't understand the term "run-time". Since these macros are solved on compile-time, why use run-time here?
Last edited by icywind; November 6th, 2003 at 11:48 PM.
-
November 7th, 2003, 10:05 AM
#2
Re: What's the meaning of run-time macro
Originally posted by icywind
When I look up MSDN today, I see the term "run-time macros". For example, "For flexibility, use run-time macros such as _tcschr and _tcscpy when possible. " in the chapter "General MBCS Programming Advice".
The term "run-time macros" is indeed misleading. What they actually meant is "macros which expand to different functions inside the run-time library".
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|