搜索资源列表
用D3D模拟地月系
- 一、建立空窗体 新建一个工程,添加引用,并导入名称空间。 加入一个设备对象变量: private Microsoft.DirectX.Direct3D.Device device = null; 添加初始化图形函数,并在这里面对设备对象进行实例化: public void InitializeGraphics() { PresentParameters presentParams = new PresentParam
1
- 程序,完成在当前目录下用open或者create系统调用创建一个文件(创建权限为0644), 然后输出该文件的类型和组权限(是否具有读、写或执行权限), 并判断文件所有者对该文件是否有执行权限,如果没有,请通过chmod函数给该文件添加执行权限。-Program, completed in the current directory with the open or create system call creates a file (creation permissions to 0644),