同时,编译一个在RHEL 5.0上用C++编写的包.我收到以下错误.
>错误:nocreate不是.的成员std::ios
nocreate
std::ios
源代码对应于:
ifstream tempStr(argv[4],ios::in| ios::nocreate);
argv[4]
ios::in
ios::nocreate
我试过了
#g ++ -O -Wno-deprecated <file.cpp> -o <file>
以及:
#g ++ -O -o <file>
请提出解决方案.
c++ linux iostream g++
c++ ×1
g++ ×1
iostream ×1
linux ×1