写set容器遇到以下问题: C:UsersadminDesktop未命名2.cpp In function 'int main()': 67 98 C:UsersadminDesktop未命名2.cpp [Error] 'set_union' was not declared in this scope 72 1 C:UsersadminDesktop未命名2.cpp [Error] 'set_intersection' is not a member of 'std' 78 103 C:UsersadminDesktop未命名2.cpp [Error] 'set_difference' was not declared in this scope 84 116 C:UsersadminDesktop未命名2.cpp [Error] 'set_symmetric_difference' was not declared in this scope 全TM #include 的锅,有些人用的VS可能不会出错,Dev就会出错,Algorithm解决STL问题
转载于:https://www.cnblogs.com/meditation5201314/p/8290103.html
最后
以上就是霸气季节最近收集整理的关于STL相关问题的全部内容,更多相关STL相关问题内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复