上how new works in C++閱讀了我嘗試以下的代碼: #include <iostream>
using namespace std;
struct A { int m; }; // POD
int main()
{
A* a = new A;
cout<<"A m="<<a->m<<endl;
return 0;
}
而輸出總是 「A
我在768MB ram和512 MB交換空間的容器上運行。我無法增加這一點。 cabal install criterion總是在Compiling Criterion.Types給人 Failed during the building phase.
The exception was: ExitFailure (-9)
This may be due to an out-of-memory