私はstdint.hが含まれていることに驚いていますが、cstdintは含まれていません。なぜstdint.hが見つかりますが、cstdintは見つかりませんか?
$ aCC sizeof.cpp
"sizeof.cpp", line 5: error #2005-D: could not open source file "cstdint"
#include <cstdint>
^
1 error detected in the compilation of "sizeof.cpp".
$ aCC --version
aCC: HP C/aC++ B3910B A.06.12 [Nov 03 2006]
それがG ++と同じです:
$ g++ --version
g++ (GCC) 4.2.3
は私がなぜ聞いても?そして、この問題を修正してコンパイラを更新する方法はありますか? ありがとうございます。
相違点 – slartibartfast
'cstdint 'はどこから来たのですか? – Gabe
gcc 4.2.3では、tr1「」の下に「」と表示されます。 –