91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 360KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2021-05-09
  • 語言: 其他
  • 標簽: 電梯模擬??

資源簡介

模擬樓梯的上下運行,有指示燈亮,值得學習運用

資源截圖

代碼片段和文件信息

//?BitMap.cpp:?implementation?of?the?CBitString?class.
//
//////////////////////////////////////////////////////////////////////

#include?“stdafx.h“
#include?“BitString.h“


/*####################################################################
??模塊名稱: 位向量
??開發作者: 漫步陽光
??開發時間: @2005.11
####################################################################*/


//////////////////////////////////////////////////////////////////////
//?Construction/Destruction
//////////////////////////////////////////////////////////////////////

CBitString::CBitString()
{
//AfxMessageBox(“CBitString?::?construction.“);
m_iStrLen?=?10;
m_wBitString?=?WORD(0);
}

CBitString::CBitString(int?iStrLen)
{
//AfxMessageBox(“CBitString?::?construction.“);
if(iStrLen>32)?return;
m_iStrLen?=?iStrLen;
m_wBitString?=?WORD(0);
}

CBitString::~CBitString()
{

}

//置位
void?CBitString::setBit(int?index)
{
if(index<1?||?index>m_iStrLen)?return;
/*
CString?tempStr=““;
tempStr.Format(“%d“m_iStrLen);
AfxMessageBox(tempStr);
*/
m_wBitString?|=?((WORD)(1)?<}

//取位
bool?CBitString::getBit(int?index)
{
if(index<1?||?index>m_iStrLen)?return?FALSE;
return?(m_wBitString?&?((WORD)(1)?<}

//清位
void?CBitString::clrBit(int?index)
{
if(index<1?||?index>m_iStrLen)?return;
m_wBitString?&=?~((WORD)(1)?<}

//顯示位串
CString?CBitString::showBitMap()
{
CString?strTemp=““;
for(int?i=m_iStrLen;?i>0;?i--)?strTemp?+=?(getBit(i)???“1“:“0“);
return?strTemp;
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????1448??2005-12-06?22:48??Elevator\AboutDlg.h

?????文件????????758??2005-11-27?17:21??Elevator\bitmap1.bmp

?????文件???????1564??2005-11-28?18:27??Elevator\BitString.cpp

?????文件???????1578??2005-11-28?18:25??Elevator\BitString.h

?????文件????????766??2005-11-27?17:09??Elevator\bjx.ico

?????文件???????3430??2005-11-29?18:08??Elevator\CircleSinglelink.h

?????文件???????6658??1998-11-30?16:00??Elevator\ColorStaticST.cpp

?????文件???????1736??2005-12-01?22:51??Elevator\ColorStaticST.h

?????文件???????1754??2008-05-10?17:21??Elevator\CommonInc.h

?????文件?????457032??2005-11-28?23:18??Elevator\cover.bmp

?????目錄??????????0??2008-03-31?19:52??Elevator\Debug

?????文件?????480644??2008-03-18?20:14??Elevator\Elevator.aps

?????文件???????2227??2008-05-10?17:22??Elevator\Elevator.clw

?????文件???????3940??2005-12-06?22:44??Elevator\Elevator.cpp

?????文件???????5401??2005-12-07?22:07??Elevator\Elevator.dsp

?????文件????????533??2005-11-09?12:26??Elevator\Elevator.dsw

?????文件???????1333??2005-12-01?22:52??Elevator\Elevator.h

?????文件?????205824??2008-05-10?17:22??Elevator\Elevator.ncb

?????文件??????55808??2008-05-10?17:22??Elevator\Elevator.opt

?????文件????????904??2008-05-10?17:21??Elevator\Elevator.plg

?????文件???????6993??2005-11-29?23:05??Elevator\Elevator.rc

?????文件??????21446??2008-03-18?20:41??Elevator\ElevatorDlg.cpp

?????文件???????3553??2005-12-03?23:15??Elevator\ElevatorDlg.h

?????文件????????766??2005-11-17?16:00??Elevator\icon1.ico

?????文件???????3515??2005-11-22?20:57??Elevator\IniFile.cpp

?????文件???????1201??2005-11-22?20:57??Elevator\IniFile.h

?????文件????????936??2008-05-10?17:22??Elevator\logs\log0.txt

?????文件????????744??2008-05-10?17:22??Elevator\logs\log1.txt

?????文件???????1530??2008-05-10?17:22??Elevator\logs\log2.txt

?????文件???????1337??2008-05-10?17:22??Elevator\logs\log3.txt

............此處省略27個文件信息

評論

共有 條評論