错误4错误C3861:'snprintf':找不到标识符 [英] Error 4 error C3861: 'snprintf': identifier not found

查看:1458
本文介绍了错误4错误C3861:'snprintf':找不到标识符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过visual studio 2008在win 7上运行程序

i am running a program on win 7 via visual studio 2008

我收到此错误:

错误4错误C3861:'snprintf':未找到标识符

Error 4 error C3861: 'snprintf': identifier not found

..

我不知道还有什么可以丢失

i don't know what else it can be missing

推荐答案

看起来像在Windows上,函数带有_的前缀。此外,该功能已弃用,以支持更安全的功能:

Looks like on Windows, the function is prefixed with a _. Also, the function is deprecated in favour of a safer one:

http://msdn.microsoft.com/en-us/library/2ts7cx93(v = vs.80).aspx

这篇关于错误4错误C3861:'snprintf':找不到标识符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆