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

  • 大小: 9.85MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-10-05
  • 語言: 其他
  • 標簽: checklist??

資源簡介

checklistbox 非常好的simple代碼

資源截圖

代碼片段和文件信息

//?AnalysisMethods.cpp:?implementation?of?the?CAnalysisMethods?class.
//
//////////////////////////////////////////////////////////////////////

#include?“stdafx.h“
#include?“checklistbox.h“
#include?“AnalysisMethods.h“

#ifdef?_DEBUG
#undef?THIS_FILE
static?char?THIS_FILE[]=__FILE__;
#define?new?DEBUG_NEW
#endif
#define?MAXSTATNUM 500
#define?MaxHeight?????500
//////////////////////////////////////////////////////////////////////
//?Construction/Destruction
//////////////////////////////////////////////////////////////////////

CAnalysisMethods::CAnalysisMethods(CHistoryCodesData*?phd)
{
???pHD?=?phd;
???StatisticRedCodesinf();
}

CAnalysisMethods::~CAnalysisMethods()
{
POSITION?pos?=?m_lMeanList.GetHeadPosition();
while?(pos?!=?NULL)
{
delete?m_lMeanList.GetNext(pos);
}
m_lMeanList.RemoveAll();
}

void?CAnalysisMethods::AddFiltrationMeans(CFiltrationMeans*?pm)
{
m_lMeanList.AddTail(pm);
}

BOOL?CAnalysisMethods::CheckThrough(BYTE?bCodelist[])??//?bCodelist[0]?=?num?
{??????????????????????????????????????????????????????//?bCodelist[i]?=codes
BOOL?bRet?=?true;
for?(POSITION?pos?=?m_lMeanList.GetHeadPosition();?(pos?!=?NULL)?&&?bRet;?)
bRet?=?m_lMeanList.GetNext(pos)->SetValidateCode(bCodelist);

return?bRet;
}

void?CAnalysisMethods::StatisticRedCodesinf()
{
for?(int?i=1;i<=?MAXREDCODENUMBER;i++){
int?nCount?=?0;
for?(int?j=0;j<=MAXSTATNUM;j++){
if?(pHD->m_aCodeItemList[j].isCodeBeFound(i)?==?TRUE)?nCount++;

????m_aredcolcodeinf[i].m_nfrequency[j]?=?nCount;
};
GetSpanList(16?i?m_aredcolcodeinf[i].itsSpanList);
};
}

int?CAnalysisMethods::GetMeanValueList(int?nMeanIndex?int?pointsNb?int?nVlist[])
{
POSITION?pos?=?m_lMeanList.FindIndex(nMeanIndex);
CFiltrationMeans*?pfm?=?m_lMeanList.GetAt(pos);
for?(int?i=0;i nVlist[i]?=?pfm->GetMeansValue(i);

return?pfm->GetMeanMaxValue();
}

void?CAnalysisMethods::GetCodesRank(int?nDateNb?BYTE?bcoderank[])
{
BYTE?btemp[MAXREDCODENUMBER+1];
for?(int?i=1;i<=?MAXREDCODENUMBER;i++){
btemp[i]?=?m_aredcolcodeinf[i].m_nfrequency[nDateNb];
};
int?index=0;
while?(index? index++;
int?ncurmax?=?1;
bcoderank[index]?=?btemp[ncurmax];
for?(int?i=2;i<=?MAXREDCODENUMBER;i++){
if?(btemp[i]?>?btemp[ncurmax])?ncurmax?=?i;
// if?(btemp[i]?>=?btemp[ncurmax])?ncurmax?=?i;
};
bcoderank[index]?=?ncurmax;
btemp[ncurmax]???=?0;
};
}

int?CAnalysisMethods::GetSegHopecodesAmount(BYTE?bc[])
{
int?index=0;
int?nAmount?=?0;
BOOL?bfound0?=?FALSE;

while?(bfound0?==?FALSE){
int?ntem?=?0;
for?(int?i=1;i<=bc[0];i++)
ntem?+=?m_aredcolcodeinf[bc[i]].m_nfrequency[index];

if?(ntem?==?nAmount)?bfound0?=?TRUE;
nAmount?=?ntem;

????????index++;
};

int?nfirstamount?=?0;
int?nthreeamount?=?0;
for?(int?i=1;i<=bc[0];i++){
nfirstamount?+=?m_aredcolcodeinf[bc[i]].m_nfrequency[0];
????nthreeamount?+=?m_aredcolcodeinf[bc[i]

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

?????文件???????6235??2008-05-13?21:37??CheckListBox\AnalysisMethods.cpp

?????文件???????1517??2008-05-13?21:26??CheckListBox\AnalysisMethods.h

?????文件??????88873??2008-05-03?22:58??CheckListBox\BCMenu.cpp

?????文件??????16600??2007-12-30?15:57??CheckListBox\BCMenu.h

?????文件??????52109??2008-05-03?22:58??CheckListBox\ButtonST.cpp

?????文件???????8427??2007-12-30?15:59??CheckListBox\ButtonST.h

?????文件?????131408??2009-05-10?15:39??CheckListBox\CheckListBox.aps

?????文件???????8937??2009-05-10?15:39??CheckListBox\CheckListBox.clw

?????文件???????3523??2008-05-10?22:30??CheckListBox\CheckListBox.cpp

?????文件??????18490??2008-05-05?23:37??CheckListBox\CheckListBox.dsp

?????文件???????6607??2002-12-28?22:02??CheckListBox\CheckListBox.dsp.v5

?????文件????????549??2002-03-12?16:13??CheckListBox\CheckListBox.dsw

?????文件???????1758??2002-12-28?22:02??CheckListBox\CheckListBox.h

?????文件?????271360??2009-05-10?15:39??CheckListBox\CheckListBox.ncb

?????文件??????90112??2009-05-10?15:39??CheckListBox\CheckListBox.opt

?????文件????????259??2009-05-10?15:33??CheckListBox\CheckListBox.plg

?????文件??????19355??2008-05-11?10:42??CheckListBox\CheckListBox.rc

?????文件???????8192??2003-02-15?15:39??CheckListBox\CheckListBox.suo

?????文件???????7537??2002-12-28?22:02??CheckListBox\CheckListBox.vcproj

?????文件???????6858??2008-01-05?22:04??CheckListBox\CheckListBoxDlg.cpp

?????文件???????2060??2002-12-28?22:02??CheckListBox\CheckListBoxDlg.h

?????文件???????1491??2008-04-20?14:21??CheckListBox\Cmn.cpp

?????文件????????735??2008-04-20?14:22??CheckListBox\Cmn.h

?????文件??????20344??2008-05-10?17:18??CheckListBox\Debug\AboutDlg.obj

?????文件??????46642??2008-05-13?21:37??CheckListBox\Debug\AnalysisMethods.obj

?????文件?????297821??2008-05-10?17:18??CheckListBox\Debug\BCMenu.obj

?????文件??????77492??2008-05-10?17:18??CheckListBox\Debug\ButtonST.obj

?????文件??????34197??2008-05-13?21:26??CheckListBox\Debug\CheckListBox.obj

?????文件????9018292??2008-05-10?17:18??CheckListBox\Debug\CheckListBox.pch

?????文件?????167904??2008-05-11?10:42??CheckListBox\Debug\CheckListBox.res

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

評論

共有 條評論