_Unchecked_uninitialized_move ???? C ++

我得到以下两个错误消息当我编译下面的代码控制台应用程序。 请帮忙。 我不明白的错误消息。 我在运行Microsoft Visual Studio 2008中当我在错误消息双击,就带我到载体包含文件。

error C2039: '_Unchecked_uninitialized_move' : is not a member of 'stdext' error C3861: '_Unchecked_uninitialized_move': identifier not found error C2039: '_Unchecked_uninitialized_move' : is not a member of 'stdext' error C3861: '_Unchecked_uninitialized_move': identifier not found

#include "stdafx.h" #include <iostream> #include <vector> using namespace std; int main () { int scores[] = {70,80,90,100}; vector<int> scorePercent (scores, scores + sizeof(scores) / sizeof(int) ); cout << endl; cin.get(); }

内容stdafx.h

// stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #pragma once #include "targetver.h" #include <stdio.h> #include <tchar.h> // TODO: reference additional headers your program requires here

--------------解决方案-------------

您的代码似乎是正确的; 事情似乎是不对您的编译器或编译器设置。 尝试重新创建项目; 如果失败,运行修复安装或卸载并重新安装编译器。

分类:C# 时间:2015-03-15 人气:0
本文关键词: 编译器错误
分享到:

相关文章

Copyright (C) 55228885.com, All Rights Reserved.

55228885 版权所有 京ICP备15002868号

processed in 0.444 (s). 10 q(s)