一些操蛋的代碼

String result;
......
return result.toString();
enum FiveLine
{
  Gold,
  Wood,
  Water,
  Fire,
  Earth,
};
看枚舉名字不知道五行(hang)是什麼鬼,看了枚舉內容恍然大霧,原來是五行(xing)……
<div class="div1">
    <div class="div2">
        <div class="div3">

        </div>
        <div class="div4"></div>
    </div>
</div>

…………

<div class="div27">
    <div class="div28">

    </div>
</div>

…………

<div class="div396">
    <div class="div397"></div>
</div>

…………

<div class="giveMeAFuckingClassName">
</div>
你還可以在寫多一點嗎?

if(m_Str2.Find("'")>=0)
	{
		AfxMessageBox("您輸入的包含非法字符");
		m_Str2="";
		UpdateData(FALSE);
		return;
	}
	if(m_Str2.Find(':')>=0)
	{
		AfxMessageBox("您輸入的包含非法字符");
		m_Str2="";
		UpdateData(FALSE);
		return;
	}
	if(m_Str2.Find('/')>=0)
	{
		AfxMessageBox("您輸入的包含非法字符");
		m_Str2="";
		UpdateData(FALSE);
		return;
	}

	if(m_Str2.Find('!')>=0)
	{
		AfxMessageBox("您輸入的包含非法字符");
		m_Str2="";
		UpdateData(FALSE);
		return;
	}
	if(m_Str2.Find('@')>=0)
	{
		AfxMessageBox("您輸入的包含非法字符");
		m_Str2="";
		UpdateData(FALSE);
		return;
	}
	if(m_Str2.Find('#')>=0)
	{
		AfxMessageBox("您輸入的包含非法字符");
		m_Str2="";
		UpdateData(FALSE);
		return;
	}
	if(m_Str2.Find('$')>=0)
	{
		AfxMessageBox("您輸入的包含非法字符");
		m_Str2="";
		UpdateData(FALSE);
		return;
	}
	if(m_Str2.Find('%')>=0)
	{
		AfxMessageBox("您輸入的包含非法字符");
		m_Str2="";
		UpdateData(FALSE);
		return;
	}
	if(m_Str2.Find('&')>=0)
	{
		AfxMessageBox("您輸入的包含非法字符");
		m_Str2="";
		UpdateData(FALSE);
		return;
	}
	if(m_Str2.Find('^')>=0)
	{
		AfxMessageBox("您輸入的包含非法字符");
		m_Str2="";
		UpdateData(FALSE);
		return;
	}
	if(m_Str2.Find('*')>=0)
	{
		AfxMessageBox("您輸入的包含非法字符");
		m_Str2="";
		UpdateData(FALSE);
		return;
	}
	if(m_Str2.Find('(')>=0)
	{
		AfxMessageBox("您輸入的包含非法字符");
		m_Str2="";
		UpdateData(FALSE);
		return;
	}
	if(m_Str2.Find(')')>=0)
	{
		AfxMessageBox("您輸入的包含非法字符");
		m_Str2="";
		UpdateData(FALSE);
		return;
	}
	if(m_Str2.Find('/')>=0)
	{
		AfxMessageBox("您輸入的包含非法字符");
		m_Str2="";
		UpdateData(FALSE);
		return;
	}
	if(m_Str2.Find('|')>=0)
	{
		AfxMessageBox("您輸入的包含非法字符");
		m_Str2="";
		UpdateData(FALSE);
		return;
	}
	if(m_Str2.Find(':')>=0)
	{
		AfxMessageBox("您輸入的包含非法字符");
		m_Str2="";
		UpdateData(FALSE);
		return;
	}
	if(m_Str2.Find('[')>=0)
	{
		AfxMessageBox("您輸入的包含非法字符");
		m_Str2="";
		UpdateData(FALSE);
		return;
	}
	if(m_Str2.Find(']')>=0)
	{
		AfxMessageBox("您輸入的包含非法字符");
		m_Str2="";
		UpdateData(FALSE);
		return;
	}
		if(m_Str2.Find('{')>=0)
	{
		AfxMessageBox("您輸入的包含非法字符");
		m_Str2="";
		UpdateData(FALSE);
		return;
	}
	if(m_Str2.Find('}')>=0)
	{
		AfxMessageBox("您輸入的包含非法字符");
		m_Str2="";
		UpdateData(FALSE);
		return;
	}
閣下好有耐心。。。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章