- 博客(5)
- 资源 (3)
- 收藏
- 关注
原创 VBox下Ubuntu更改分辨率方法
在windows中用VirtualBox (v3.0.2)安装Ubuntu(v9.0.4),默认按照800*600显示,可以采用下列方式更改分辨率 1、加载VBox的Guest Additions2、运行一个终端3、执行su - 更改到root用户 (如果更改失败,先激活root用户)4、编辑/etc/X11/xorg.conf,增加红色字段 Section "D
2009-07-27 21:07:00 5129
原创 用system权限执行程序
今天遇到一个问题,在windows vista中需要手工删除注册表中的一注册项,但该项要求system权限(比administrator权限还高),经过不断努力找到一个程序,在命令行自行命令将regedit.exe按照system权限运行,成功的删除了那个注册表项 命令为 psexec.exe -i -d -s regedit.exe psexec.exe位于工具集 pstoo
2009-07-25 23:39:00 1368
原创 一类出镜率很高的面试题
看看下面代码是否有问题?void getval(int *pi){ int i; pi = (int *)malloc(10 * sizeof(int)); for (i = 0; i { pi[i] = i; }}int main(){ int *pi; int i;
2009-07-22 18:26:00 611
原创 一个C程序例子:打印指定日期所属月的月历
#include #include #include #include int days[6][7];int mdays[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};int mdays2[] = {31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};#d
2009-07-12 16:48:00 1692 3
一个很有用的工具集 - PsTools
2009-07-25
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人