gpt4 book ai didi

c - 警告 : no previous prototype for 'format_SaNameT'

转载 作者:太空宇宙 更新时间:2023-11-04 03:56:50 28 4
gpt4 key购买 nike

<分区>

void format_SaNameT( const char* const name, SaNameT* formatted )
{
if( ! name || ! formatted ) return;

memset( formatted, 0, sizeof( SaNameT ) );
formatted->length = strlen( name );
strncpy( formatted->value, name, SA_MAX_NAME_LENGTH );
}

此处“format_SaNameT”显示警告

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com