STL相关问题

写set容器遇到以下问题:
C:\Users\admin\Desktop\未命名2.cpp In function 'int main()':
67 98 C:\Users\admin\Desktop\未命名2.cpp [Error] 'set_union' was not declared in this scope
72 1 C:\Users\admin\Desktop\未命名2.cpp [Error] 'set_intersection' is not a member of 'std'
78 103 C:\Users\admin\Desktop\未命名2.cpp [Error] 'set_difference' was not declared in this scope
84 116 C:\Users\admin\Desktop\未命名2.cpp [Error] 'set_symmetric_difference' was not declared in this scope
全TM #include 的锅,有些人用的VS可能不会出错,Dev就会出错,Algorithm解决STL问题

上一篇:Java实现第九届蓝桥杯乘积为零


下一篇:MySQL必知必会 前10章学习笔记