search

Home  >  Q&A  >  body text

c++ - C语言的语法问题,求大神帮忙?

伊谢尔伦伊谢尔伦2804 days ago614

reply all(3)I'll reply

  • 阿神

    阿神2017-04-17 15:42:01

    I have replied to a similar one before, take a look here:
    Solving the main function in C language

    Simply speaking, P2 is a macro. This macro is for compatibility with older versions of compilers. For details, please see this post I answered.

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-17 15:42:01

    Isn’t this function overloading?

    reply
    0
  • 黄舟

    黄舟2017-04-17 15:42:01

    int_string_copy should be the name of the overloaded function. P1 and P2 are probably macros. For example:

    #define P1(type, var) (type var)

    reply
    0
  • Cancelreply