错误代码如下:
.\tinyxml.cpp(44) : error C3861: 'fopen_s': identifier not found
1>.\tinyxml.cpp(116) : error C3861: '_snprintf_s': identifier not found
1>.\tinyxml.cpp(698) : error C3861: '_snprintf_s': identifier not found
1>.\tinyxml.cpp(720) : error C3861: '_snprintf_s': identifier not found
1>.\tinyxml.cpp(1236) : error C3861: 'sscanf_s': identifier not found
1>.\tinyxml.cpp(1243) : error C3861: 'sscanf_s': identifier not found
1>.\tinyxml.cpp(1252) : error C3861: '_snprintf_s': identifier not found
1>.\tinyxml.cpp(1263) : error C3861: '_snprintf_s': identifier not found
哪个大哥帮帮小弟,老感激你了
.\tinyxml.cpp(44) : error C3861: 'fopen_s': identifier not found
1>.\tinyxml.cpp(116) : error C3861: '_snprintf_s': identifier not found
1>.\tinyxml.cpp(698) : error C3861: '_snprintf_s': identifier not found
1>.\tinyxml.cpp(720) : error C3861: '_snprintf_s': identifier not found
1>.\tinyxml.cpp(1236) : error C3861: 'sscanf_s': identifier not found
1>.\tinyxml.cpp(1243) : error C3861: 'sscanf_s': identifier not found
1>.\tinyxml.cpp(1252) : error C3861: '_snprintf_s': identifier not found
1>.\tinyxml.cpp(1263) : error C3861: '_snprintf_s': identifier not found
哪个大哥帮帮小弟,老感激你了
解决方案 »
- CreateFile中用变量做文件名
- 怎么用SHELLEXECUT打开文件?
- 救命吧,找了几天没找到答案,datagrid 怎么样给单元格赋值。
- 我在父窗体的指定客户区域,创建一个子窗体,结果子窗体无法屏蔽回车键和退出键哦!~~~~~求解!
- 高分(100)求购一本书,路过的大哥请进来帮我
- 有人知道HOOK吗。看看这段 代码有错吗。。。
- 求条状控件的源码!!!(100分)
- 程序刚启动时,将主界面隐藏,只在托盘上显示一个图标,然后当我想让主界面出现的时候,却发现问题多多,望高手们能指点一二!(在线)
- 在windows 2000 server 下怎么启动faxService服务?
- 有谁知道ACM图灵奖各届获得者的事迹和他的主要贡献,谢谢!加分!
- SQL 数据库里的“模式”怎么理解,到底是个什么意思?
- 创建线程失败!
_TCHAR abc[256];
_snwprintf (abc, 256, _TRUNCATE, , );
this may fix your issue.上面是我在别的帖子上看到的你那样问题的解决方案,你试试吧,我英文不是很好,否则帮你翻译了
#include <stdio.h>
#include <stdlib.h>
1. 在工程->属性->C++->Preprocessor->Preprocessor Definition里面添加"_LIB;"
如果想用STL的TinyXML的话,添加上TIXML_USE_STL
2. 在tinystr.h和tinyxml.h里面第一行添加:
#define _MSC_VER 1
这样TinyXML就会调用C标准库了,不会使用CRT.转:http://www.devdiv.net/viewthread-23771