其他分享
首页 > 其他分享> > const char*和char**参数怎么传?

const char*和char**参数怎么传?

作者:互联网

如:

extern NLS_API void NLS_internal_to_external(
    const char*  str_int,       /**< (I)  The input character data in Teamcenter internal encoding*/
    char**       str_ext        /**< (OF) The converted character data in platform encoding  */
    );

 传入的参数:

void translate2UTF2(char* GBKStr)  //add 2021/08/02
{
  char* UTFStr = "\0";
    NLS_external_to_internal(GBKStr, &UTFStr);

  

标签:NLS,const,UTFStr,encoding,char,internal,参数
来源: https://www.cnblogs.com/wwssgg/p/15817797.html