⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 编译原理语法分析lr1_cpp_离子风暴 - ionstorm.mht

📁 编译原理语法分析LR1_cpp_离子风暴 - IonStorm
💻 MHT
📖 第 1 页 / 共 5 页
字号:
From: =?gb2312?B?08kgV2luZG93cyBJbnRlcm5ldCBFeHBsb3JlciA3ILGjtOY=?=
Subject: =?gb2312?B?seDS69StwO3T77eot9bO9kxSMS5jcHBfwOvX07fnsakgLSBJb25TdG9ybQ==?=
Date: Fri, 30 May 2008 21:30:22 +0800
MIME-Version: 1.0
Content-Type: multipart/related;
	type="text/html";
	boundary="----=_NextPart_000_0000_01C8C29C.5DC075C0"
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16545

这是 MIME 格式的多方邮件。

------=_NextPart_000_0000_01C8C29C.5DC075C0
Content-Type: text/html;
	charset="gb2312"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://hi.baidu.com/ionstorm/blog/item/540ace6235514edee6113a54.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!--STATUS =
OK--><HTML><HEAD><TITLE>=B1=E0=D2=EB=D4=AD=C0=ED=D3=EF=B7=A8=B7=D6=CE=F6L=
R1.cpp_=C0=EB=D7=D3=B7=E7=B1=A9 - IonStorm</TITLE>
<META http-equiv=3Dcontent-type content=3D"text/html; charset=3Dgb2312">
<STYLE>.error {
	FONT-SIZE: 12px; COLOR: #ff0000
}
</STYLE>

<SCRIPT src=3D"http://hi.baidu.com/ui/scripts/global.js"=20
type=3Dtext/javascript></SCRIPT>

<SCRIPT language=3Djavascript =
src=3D"http://hi.baidu.com/js/popup.js"></SCRIPT>

<SCRIPT language=3DJavaScript =
src=3D"http://hi.baidu.com/js/g_spjs.js"></SCRIPT>

<SCRIPT language=3Djavascript>
<!--

var allkey=3D"";
var i=3D0;
var flag=3D0;
function setpv(allnum)
{
	var num =3D allnum.split('_');
	document.getElementById("result").innerHTML=3Dnum[0];
}
		=20
function checkMail(s)=20
{=20
  	var pattern=3D/\w+@\w+\.[a-z]+/;=20
  	if(pattern.test(s))=20
    {=20
       return true;=20
    }=20
  	else=20
   {=20
      return false;=20
   }=20
}=20


function checkeandu(eanduid)
{
	var eanduvalue=3DG(eanduid).value;
	var len=3Dbytes(eanduvalue);
	if(len>128)
	{
		=
showErr(2,"=C4=FA=CA=E4=C8=EB=B5=C4=CD=F8=D6=B7=BB=F2=D3=CA=CF=E4=CC=AB=B3=
=A4=A3=AC=C7=EB=B1=A3=B3=D6=D4=DA128=D7=D6=BD=DA=D2=D4=C4=DA=A1=A3");
		return false;
	}
	else
	{=20
		 return true;
	}
	=09
}

function cmtdel(str)
{
	var pop=3Dnew Popup({ =
contentType:3,isReloadOnClose:false,width:340,height:80});
	pop.setContent("title","=C9=BE=B3=FD=C6=C0=C2=DB");
	=
pop.setContent("confirmCon","=C4=FA=C8=B7=B6=A8=D2=AA=B3=B9=B5=D7=C9=BE=B3=
=FD=D5=E2=CC=F5=C6=C0=C2=DB=C2=F0=A3=BF");
	pop.setContent("callBack",delCallback2);
	pop.setContent("parameter",{fid:str,popup:pop});
	pop.build();
	pop.show();
	return false;
}
function delCallback2(para)
{
	var o_pop=3Dpara["popup"];
	o_pop.config.contentType=3D1;
	o_pop.setContent("contentUrl","");
	o_pop.reBuild();
	G(para["fid"]).target=3Do_pop.iframeIdName;
	eval("document."+para["fid"]).submit();
}



function checkname(strid)
{
	var ele=3Ddocument.getElementById(strid);
	var len=3Dbytes(ele.value);
	if(len>49)
	{
		=
showErr(1,"=C4=FA=CA=E4=C8=EB=B5=C4=D0=D5=C3=FB=CC=AB=B3=A4=A3=AC=C7=EB=B1=
=A3=B3=D6=D4=DA49=D7=D6=BD=DA=D2=D4=C4=DA=A1=A3");
		return false;
	}
	else=20
	{	=09
		if(len=3D=3D0)
		{
			document.getElementById(strid).value=3D"=C4=E4=C3=FB=CD=F8=D3=D1";
		}
		 return true;
	}=09
=09
}

function checktext(textid)
{
		document.getElementById(textid).value=3Dtrimlr(textid);
		var str=3Dtrimrn(textid);
		len=3Dstr.length;
		if(len=3D=3D0 || ((/^[\s,=A1=A1]+$/gi).test(str)) )
		{
			=
showErr(3,"=C4=FA=B1=D8=D0=EB=CA=E4=C8=EB=C6=C0=C2=DB=C4=DA=C8=DD=A3=AC=C7=
=EB=BC=EC=B2=E9=A1=A3");
			return false;
		}
		else=20
		{
				if(len>1000)
				{
					=
showErr(3,"=C4=FA=CA=E4=C8=EB=B5=C4=C6=C0=C2=DB=C4=DA=C8=DD=CC=AB=B3=A4=A3=
=AC=C7=EB=B1=A3=B3=D6=D4=DA500=D7=D6=D2=D4=C4=DA=A1=A3");
					return false;
				}
			return true;
		}=09
}

function showErr(index,str)
{
	G(index+"_err").style.display=3D"";
	G(index+"_err_con").innerHTML=3Dstr;
}
function hidErr(index)
{
	G(index+"_err").style.display=3D"none";
	G(index+"_err_con").innerHTML=3D"";
}

function alertPop(tit,con)
{
	var pop=3Dnew Popup({ =
contentType:4,isReloadOnClose:false,width:340,height:80});
	pop.setContent("title",tit);
	pop.setContent("alertCon",con);
	pop.build();
	pop.show();
}

function cmtfull()
{
	var cnum=3D1;
	if(cnum>=3D50000)
	{
		=
alertPop("=B7=A2=B1=ED=C6=C0=C2=DB","=B5=A5=C6=AA=C8=D5=D6=BE=C6=C0=C2=DB=
=CA=FD=D7=EE=B6=E0=CE=AA50000=CC=F5.");
		return false;
	}
	else
	{
		return true;
	}
}

function checkcmtform()
{
	=
if(checkname("spBlogCmtor")&&checkeandu("spBlogCmtURL")&&checktext("spBlo=
gCmtText")&&cmtfull())
	{
		submitForm();
		return true;
	}
	else
	{
		return false;
	}
}

var g_pop=3Dnull;
function submitForm()
{
	g_pop=3Dnew Popup({ =
contentType:1,isReloadOnClose:false,width:340,height:80});
	g_pop.setContent("title","=CC=ED=BC=D3=C6=C0=C2=DB");
	g_pop.setContent("contentUrl","");
	g_pop.setContent("someDisabledBtn","btn_ok");
	g_pop.build();
	G("popFormSubmit").target=3Dg_pop.iframeIdName;
	g_pop.show();
}

function g_close_pop()
{
	g_pop.close();
}

function formatonlinpic()
{
var picobj=3Ddocument.getElementsByName("onlinepic");
var picnum=3Dpicobj.length;
=09
	for(var i=3D0;i<picnum;i++)
	{
		if(picobj[i].width>200)
		{
			picobj[i].width=3D200;
		}
		if(picobj[i].height>200)
		{
			picobj[i].height=3D200;
		}
	}

}

function addToFavor(){
var =
blogTitle=3D'=B1=E0=D2=EB=D4=AD=C0=ED=D3=EF=B7=A8=B7=D6=CE=F6LR1.cpp'.rep=
lace(/&#39;/g,'\'');
window.open('http://cang.baidu.com/do/add?it=3D'+encodeURIComponent(blogT=
itle+'_=B0=D9=B6=C8=BF=D5=BC=E4')+'&iu=3D'+encodeURIComponent(location.hr=
ef)+'&fr=3Dsp#nw=3D1','_s','scrollbars=3Dno,width=3D600,height=3D450,righ=
t=3D75,top=3D20,status=3Dno,resizable=3Dyes');=20
return false;
}
//-->
</SCRIPT>

<SCRIPT type=3Dtext/javascript>
/*<![CDATA[*/
var RelatedDocData =3D null, GetAndEval =3D false;
(function(){
	var xhr =3D BdAjax.getXHR();
	if(xhr =3D=3D null){
		RelatedDocData =3D -1;
		return;
	}

	xhr.open("GET", =
"/sys/search?type=3D8&word=3D%B1%E0%D2%EB%D4%AD%C0%ED%D3%EF%B7%A8%B7%D6%C=
E%F6LR1%2Ecpp&item=3D540ace6235514edee6113a54&t=3D" + new =
Date().getTime(), true);=09
	xhr.onreadystatechange =3D function(){
		if(xhr.readyState =3D=3D 4){
			if(xhr.status =3D=3D 0 || xhr.status =3D=3D 200){
				if(GetAndEval){
					eval(xhr.responseText);
				}else{
					RelatedDocData =3D xhr.responseText;
				}
			}
		}
	}
	xhr.send(null);
})();
/*]]>*/
</SCRIPT>

<META content=3D"MSHTML 6.00.6000.16643" name=3DGENERATOR></HEAD>
<BODY onload=3Dformatonlinpic();>
<CENTER>
<SCRIPT type=3Dtext/javascript>
/*<![CDATA[*/
if(top.location !=3D self.location){
	top.location =3D self.location;
}
var myref =3D =
encodeURI("http://hi.baidu.com/ionstorm/blog/item/540ace6235514edee6113a5=
4%2Ehtml");
/*]]>*/
</SCRIPT>
<LINK href=3D"http://hi.baidu.com/ui/css/mods.css" type=3Dtext/css=20
rel=3Dstylesheet><LINK=20
href=3D"http://hi.baidu.com/ionstorm/css/item/62f9115521abd6c4b645ae1f.cs=
s"=20
type=3Dtext/css rel=3Dstylesheet><LINK =
href=3D"http://hi.baidu.com/space.css"=20
type=3Dtext/css rel=3Dstylesheet>
<STYLE type=3Dtext/css>#usrbar {
	PADDING-RIGHT: 10px; PADDING-LEFT: 0px; FONT-SIZE: 12px; BACKGROUND: =
#ffffff; FILTER: alpha(opacity=3D65); PADDING-BOTTOM: 3px; WIDTH: 100%; =
COLOR: #000000; LINE-HEIGHT: 19px; PADDING-TOP: 4px; FONT-FAMILY: Arial; =
LETTER-SPACING: normal; HEIGHT: 19px; TEXT-ALIGN: right; -moz-opacity: =
0.5
}
#usrbar A {
	COLOR: #0000cc; TEXT-DECORATION: underline
}
#usrbar A:link {
	COLOR: #0000cc; TEXT-DECORATION: underline
}
#usrbar A:visited {
	COLOR: #0000cc; TEXT-DECORATION: underline
}
#ft {
	CLEAR: both; FONT-SIZE: 12px; COLOR: #666666; LINE-HEIGHT: 20px; =
FONT-FAMILY: Arial; HEIGHT: 20px; TEXT-ALIGN: center
}
#ft A {
	COLOR: #7777cc; TEXT-DECORATION: underline
}
#ft A:link {
	COLOR: #7777cc; TEXT-DECORATION: underline
}
#ft A:visited {
	COLOR: #7777cc; TEXT-DECORATION: underline
}
#usrbar {
	LETTER-SPACING: normal
}
#usrbar A {
	LETTER-SPACING: normal
}
#usrbar A:link {
	LETTER-SPACING: normal
}
#usrbar A:visited {
	LETTER-SPACING: normal
}
#ft {
	LETTER-SPACING: normal
}
#ft A {
	LETTER-SPACING: normal
}
#ft A:link {
	LETTER-SPACING: normal
}
#ft A:visited {
	LETTER-SPACING: normal
}
</STYLE>
<!-- =B5=C7=C2=BD=D7=B4=CC=AC=CC=F5 -->
<DIV id=3Dusrbar><NOBR><A href=3D"http://www.baidu.com/" =
target=3D_blank>=B0=D9=B6=C8=CA=D7=D2=B3</A> | <A=20
id=3Dhi_index href=3D"http://hi.baidu.com/" =
target=3D_blank>=B0=D9=B6=C8=BF=D5=BC=E4</A>
<SCRIPT type=3Dtext/javascript>
		document.write('| <a =
href=3D"http://passport.baidu.com/?login&tpl=3Dsp&tpl_reg=3Dsp&u=3Dhttp:/=
/hi.baidu.com' + =
encodeURI('/ionstorm/blog/item/540ace6235514edee6113a54%2Ehtml') + =
'">=B5=C7=C2=BC</a>');
		</SCRIPT>
 </NOBR></DIV>
<DIV id=3Dmain align=3Dleft><!--[if IE]>
<SCRIPT>
var objmain =3D document.getElementById("main");
function updatesize(){ var bodyw =3D window.document.body.offsetWidth; =
if(bodyw <=3D 790) objmain.style.width=3D"772px"; else if(bodyw >=3D =
1016) objmain.style.width=3D"996px"; else objmain.style.width=3D"100%"; =
}
updatesize(); window.onresize =3D updatesize;
</SCRIPT>
<![endif]-->
<DIV id=3Dheader>
<DIV class=3Dlc>
<DIV class=3Drc></DIV></DIV>
<DIV class=3Dtit><A class=3Dtitlink title=3D"IonStorm=B5=C4=BF=D5=BC=E4 =
http://hi.baidu.com/ionstorm"=20
href=3D"http://hi.baidu.com/ionstorm">=C0=EB=D7=D3=B7=E7=B1=A9 - =
IonStorm</A></DIV>
<DIV =
class=3Ddesc>=CE=DE=CE=D2=D4=AD=B7=C7=C4=E3.=B4=D3=CB=FD=B2=BB=BD=E2=D2=C1=
.=CB=C1=D0=D0=CE=DE=B0=AD=C6=BE=C0=B4=C8=A5.=C3=A3=C3=A3=D7=C5=C9=F5=B1=AF=
=B3=EE=CF=B2,=B7=D7=B7=D7=CB=B5=C9=F5=C7=D7=CA=E8=C3=DC.=B4=D3=C7=B0=C2=B5=
=C2=B5=C8=B4=D2=F2=BA=CE,=B5=BD=C8=E7=BD=F1.=BB=D8=CD=B7=CA=D4=CF=EB=D5=E6=
=CE=DE=C8=A4...</DIV>
<DIV id=3Dtabline></DIV>
<DIV id=3Dtab><A =
href=3D"http://hi.baidu.com/ionstorm">=D6=F7=D2=B3</A><A class=3Don=20
href=3D"http://hi.baidu.com/ionstorm/blog">=B2=A9=BF=CD</A><A=20
href=3D"http://hi.baidu.com/ionstorm/album">=CF=E0=B2=E1</A><SPAN>|</SPAN=
><A=20
href=3D"http://hi.baidu.com/ionstorm/profile">=B8=F6=C8=CB=B5=B5=B0=B8</A=
> <SPAN>|</SPAN><A=20
href=3D"http://hi.baidu.com/ionstorm/friend">=BA=C3=D3=D1</A> =
</DIV></DIV>
<DIV class=3Dstage>
<DIV class=3Dstagepad>
<DIV style=3D"WIDTH: 100%">
<TABLE class=3Dmodth cellSpacing=3D0 cellPadding=3D0 width=3D"100%" =
border=3D0>
  <TBODY>
  <TR>
    <TD class=3Dmodtl width=3D7>&nbsp;</TD>
    <TD class=3Dmodtc noWrap>
      <DIV class=3Dmodhead><SPAN =
class=3Dmodtit>=B2=E9=BF=B4=CE=C4=D5=C2</SPAN></DIV></TD>
    <TD class=3Dmodtc noWrap align=3Dright></TD>
    <TD class=3Dmodtr width=3D7>&nbsp;</TD></TR></TBODY></TABLE>
<DIV class=3Dmodbox id=3Dm_blog>
<DIV =
class=3Dtit>=B1=E0=D2=EB=D4=AD=C0=ED=D3=EF=B7=A8=B7=D6=CE=F6LR1.cpp</DIV>=

<DIV class=3Ddate>2007-11-16 09:22</DIV>
<TABLE style=3D"TABLE-LAYOUT: fixed">
  <TBODY>
  <TR>
    <TD>
      <DIV class=3Dcnt id=3Dblog_text>
      <P>// LR1.cpp : Defines the entry point for the console=20
      application.<BR>//</P>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -