小编use*_*494的帖子

windows phone 8 Emulator无效指针错误

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

我做了嵌套虚拟机,我确实启用了虚拟机管理程序,但确实解决了问题.

有什么建议 ??

谢谢

parallels windows-phone-8

4
推荐指数
1
解决办法
4191
查看次数

在c中运行时更改大小数组

这是我在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)

c

1
推荐指数
1
解决办法
103
查看次数

标签 统计

c ×1

parallels ×1

windows-phone-8 ×1