CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2003
    Location
    Beijing, China
    Posts
    5

    Post 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.

  2. #2
    Join Date
    Sep 2002
    Location
    14° 39'19.65"N / 121° 1'44.34"E
    Posts
    9,815

    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
  •  





Click Here to Expand Forum to Full Width

Featured