资源简介
山东科技大学C++实训项目—飞机大战:附带实训报告
代码片段和文件信息
/*#include “StdAfx.h“
#include “bomb.h“
#include “resource.h“
CImageList bomb::Images;
bomb::bomb(void)
{
//x = -100;
//y = -100;
speed = 20;
}
bomb::~bomb(void)
{
}
BOOL bomb::Draw(CDC*pDCBOOL bPause)
{
Images.Draw(pDC0m_ptPosILD_TRANSPARENT);
return true;
}
BOOL bomb::LoadImage()
{
return CGameobject::LoadImage(ImagesIDB_BITMAP6RGB(000)881);
}
CRect bomb::GetRect()//碰撞检查
{
return CRect(m_ptPosCPoint(m_ptPos.x+8m_ptPos.y+8));
}*/
#include “StdAfx.h“
#include “bomb.h“
//CImageList bomb::Images;
bomb::bomb(void)
{
//x = -100;
//y = -100;
speed = 20;
//x = m_ptPos.x;
//y = m_ptPos.y;
}
bomb::~bomb(void)
{
}
BOOL bomb::Draw(CDC*pDCBOOL bPause)
{
CPen p1(PS_SOLID2RGB(00255));
CBrush b1(RGB(000));
pDC->Selectobject(&p1);
pDC->Selectobject(&b1);
//pDC->Ellipse(xyx+5y+5);
pDC->Ellipse(m_ptPos.xm_ptPos.ym_ptPos.x+5m_ptPos.y+5);
return true;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 123392 2013-01-19 10:10 c++实训报告.doc
目录 0 2012-12-30 21:54 test\
目录 0 2012-12-30 21:54 test\Debug\
文件 3535360 2012-12-29 16:33 test\Debug\test.exe
文件 1518640 2012-12-29 16:33 test\Debug\test.ilk
文件 3771392 2012-12-29 16:33 test\Debug\test.pdb
目录 0 2012-12-30 21:54 test\test\
文件 23243776 2012-12-29 16:51 test\test.ncb
文件 878 2012-12-24 09:06 test\test.sln
文件 82432 2012-12-29 16:51 test\test.suo
文件 962 2012-12-28 11:40 test\test\bomb.cpp
文件 905 2012-12-28 12:50 test\test\bomb.h
目录 0 2012-12-30 21:54 test\test\Debug\
文件 11826 2012-12-28 16:48 test\test\Debug\bomb.obj
文件 6448 2012-12-29 16:33 test\test\Debug\BuildLog.htm
文件 13140 2012-12-28 16:48 test\test\Debug\enemy.obj
文件 13393 2012-12-28 16:48 test\test\Debug\explosion.obj
文件 10286 2012-12-28 16:48 test\test\Debug\Gameob
文件 12201 2012-12-28 16:48 test\test\Debug\gameover.obj
文件 33963 2012-12-28 16:48 test\test\Debug\MainFrm.obj
文件 12963 2012-12-28 16:48 test\test\Debug\missile.obj
文件 67 2012-12-29 16:33 test\test\Debug\mt.dep
文件 12097 2012-12-28 16:48 test\test\Debug\plane.obj
文件 465490 2012-12-28 16:48 test\test\Debug\stdafx.obj
文件 1196 2012-12-28 16:48 test\test\Debug\test.exe.em
文件 1260 2012-12-28 16:48 test\test\Debug\test.exe.em
文件 1120 2012-12-29 16:33 test\test\Debug\test.exe.intermediate.manifest
文件 36344 2012-12-28 16:48 test\test\Debug\test.obj
文件 25100288 2012-12-28 16:48 test\test\Debug\test.pch
文件 2833764 2012-12-28 16:48 test\test\Debug\test.res
文件 25217 2012-12-28 16:48 test\test\Debug\testDoc.obj
............此处省略41个文件信息
- 上一篇:VC++深入详解(完整版)+所有源代码集
- 下一篇:MFC图像处理
相关资源
- Windows版微信打飞机游戏C++
- c++基于Windows编程的打飞机小游戏源代
- C++课程实践飞机大战基于easyx图形库
- 基于win32的飞机大战游戏设计与实现
- C++飞机游戏源代码
- c++ 飞机大战 小游戏源码
- 飞机大战(全素材+音乐)
- c++飞机大战 源代码+程序 学习使用
- 飞机订票系统 c++ 课设
- 飞机订票系统 C++
- 飞机订票系统 C语言期末作业 zxf
- 数据结构大作业(C语言)实验报告
- C++源代码飞机订票系统
- 模拟一个飞机票订票和退票系统
- 飞机票模拟程序
- 读取3ds文件模拟飞机飞行
- 用c++解决金刚坐飞机问题
- 纯C版的微信打飞机游戏
- 飞机订票系统课程设计报告及源代码
- 飞机订票管理系统
- C++课程设计飞机订票系统
- 飞机订票系统C语言
- 数据结构课程设计,飞机订票系统源
- C++飞机大战
- 飞机订票系统
- 飞机订票系统,c++程序
- 飞机订票系统.rar
- 山东科技大学C++数据库课程设计源代
- ekf对飞机位置进行滤波
- 飞机订票系统___c++
评论
共有 条评论