2017-05-03 16 views
0

im install systemCビジュアルスタジオ2015に、私のインクルードでのみ使用します#include "systemc.h"私はこの問題を持っています " 「おかげで、それを解決するための任意のヘルプはsystemC installation visual studio 2015 visual studogetsはstdのメンバーではありません

には、 "STDのはstd ::取得が推奨されませんのでsystemc.h"

#define _CRT_SECURE_NO_WARNINGS 
    _CRT_SECURE_NO_WARNINGS 
// Hello_world is module name 
SC_MODULE(hello_world) { 
SC_CTOR(hello_world) { 
    // Nothing in constructor 
} 
void say_hello() { 
    //Print "Hello World" to the console. 
    cout << "Hello World.\n"; 
} 
}; 

    // sc_main in top level function like in C++ main 
int sc_main(int argc, char* argv[]) { 
hello_world hello("HELLO"); 
// Print the hello world 
hello.say_hello(); 
return(0); 
} 

答えて

0

ちょうど、systemc.hで

using std::gets; 

行をコメントアウトとh vs2015で削除されました。

関連する問題