The Windows Phone Emulator wasn't able to create virtual machine:
Couldn't change Processor of the virtual machine: 'Emulator WVGA 512.User' failed to modify device 'Processor'. (virtual machine ID XXX)
Cannot assign the specified number of processor for virtual machine 'Emulator WVGA 512.user' is out of range. The range is 1 through 1 ( virtual machine ID XXX)
Run Code Online (Sandbox Code Playgroud)
我在运行模拟器时收到此消息
我在Mac OS上使用我的Windows 8和Parallels Desktop 8 for Mac
我做了嵌套虚拟机,我确实启用了虚拟机管理程序,但确实解决了问题.
有什么建议 ??
谢谢
这是我在C中的代码,我试图动态地改变数组大小,但它让我得到空指针.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main() {
char *message = {"xxzz"};
message=realloc(message,5 * sizeof(*message));
if ( message == NULL)printf("Memory exhausted\n");
printf("%s",message);
return 0;
}
Run Code Online (Sandbox Code Playgroud)