您当前的位置: 首页 >  ar
  • 0浏览

    0关注

    1477博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

C++ error: ‘shared_ptr’ was not declared in this scope

软件工程小施同学 发布时间:2022-10-05 18:25:33 ,浏览量:0

1. 要使用C++ 11以上版本

在线的C++编辑器EmO1xy - Online C++0x Compiler & Debugging Tool - Ideone.comCompile various programming languages online. Add input stream, save output, add notes and tags.https://ideone.com/EmO1xy

2. 要包含下面的头文件

#include 

error: ‘shared_ptr‘ was not declared in this scope_追梦-北极星的博客-CSDN博客

3. 测试代码

#include 
#include 
using namespace std;

int main() {
	// your code goes here
	cout            
关注
打赏
1665320866
查看更多评论
0.0925s