You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1>C:\Users\22318\Desktop\Data-Structure-master\VisualC++\CourseBook\0604_BiThrTree\BiThrTree.c(37,14): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>C:\Users\22318\Desktop\Data-Structure-master\VisualC++\CourseBook\0604_BiThrTree\BiThrTree.c(132,9): warning C4996: 'scanf': This function or variable may be unsafe. Consider using scanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
按照图示配置了静态库,但是好像没成功,我对Visual的使用并不熟悉,并且尝试解决问题失败。
错误:
`已启动生成…
1>------ 已启动生成: 项目: 0604_BiThrTree, 配置: Debug Win32 ------
1>BiThrTree.c
1>C:\Users\22318\Desktop\Data-Structure-master\VisualC++\CourseBook\0604_BiThrTree\BiThrTree.c(37,14): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>C:\Users\22318\Desktop\Data-Structure-master\VisualC++\CourseBook\0604_BiThrTree\BiThrTree.c(132,9): warning C4996: 'scanf': This function or variable may be unsafe. Consider using scanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>LINK : warning LNK4217: 符号“_printf”(在“ BiThrTree-main.obj”中定义)已由“Status.lib(Status.obj)”(函数“_PressEnterToContinue”中)导入
1>Status.lib(Status.obj) : error LNK2019: 无法解析的外部符号 __imp__fscanf,函数 _ReadData 中引用了该符号
1>Status.lib(Status.obj) : error LNK2019: 无法解析的外部符号 __imp____iob_func,函数 _PressEnterToContinue 中引用了该符号
1>C:\Users\22318\Desktop\Data-Structure-master\VisualC++\CourseBook\Debug\0604_BiThrTree.exe : fatal error LNK1120: 2 个无法解析的外部命令
1>已完成生成项目“0604_BiThrTree.vcxproj”的操作 - 失败。
========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========`
The text was updated successfully, but these errors were encountered: