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问题
我曾七次鄙视自己的灵魂:
第一次,当它本可进取时,却故作谦卑;
第二次,当它在空虚时,用爱欲来填充;
第三次,在困难和容易之间,它选择了容易;
第四次,它犯了错,却借由别人也会犯错来宽慰自己;
第五次,它自由软弱,却把它认为是生命的坚韧;
第六次,当它鄙夷一张丑恶的嘴脸时,却不知那正是自己面具中的一副;
第七次,它侧身于生活的污泥中,虽不甘心,却又畏首畏尾。