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

📄 vc++试题 — 编程爱好者论坛http--bbs_pfan_cn.mht

📁 vc工程师面试时笔试的一些题目
💻 MHT
📖 第 1 页 / 共 5 页
字号:
Content-Location: http://a.alimama.cn/js/ac.js

if(typeof(fcookieSwfLoaded)=3D=3D"undefined"){=0A=
	=
//=C8=E7=B9=FB=D0=DE=B8=C4=CF=C2=C3=E6=D2=BB=D0=D0=B1=D8=D0=EB=CD=AC=B2=BD=
=D0=DE=B8=C4mmadvert=D6=D0=CF=E0=D3=A6=B5=C4=B2=BF=B7=D6=0A=
	document.write("<object =
classid=3D'clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' id=3D'acswf' =
width=3D'0' height=3D'0' =
codebase=3D'http://download.macromedia.com/pub/shockwave/cabs/flash/swfla=
sh.cab' ><param name=3D'movie' value=3D'http://a.alimama.cn/js/ac.swf' =
/><param name=3D'allowScriptAccess' value=3D'always' /><embed =
src=3D'http://a.alimama.cn/js/ac.swf' quality=3D'high' width=3D'0' =
height=3D'0' name=3D'acswf' play=3D'true' loop=3D'false' =
allowScriptAccess=3D'always' type=3D'application/x-shockwave-flash' =
pluginspage=3D'http://www.macromedia.com/go/getflashplayer'></embed></obj=
ect>");=0A=
}=0A=
=0A=
var jsReady =3D false;=0A=
function isReady() {=0A=
return jsReady;=0A=
}=0A=
=0A=
function pageInit() {=0A=
jsReady =3D true;=0A=
}=0A=
=0A=
if(!document.body.attachEvent){=0A=
window.addEventListener("load",pageInit,false);=0A=
}else{=0A=
window.attachEvent("onload",pageInit);=0A=
}=0A=
=0A=
function thisMovie(movieName) {=0A=
if (navigator.appName.indexOf("Microsoft") !=3D -1) {=0A=
return window[movieName];=0A=
} else {=0A=
return document[movieName];=0A=
}=0A=
}=0A=
=0A=
function getAcookie()=0A=
{=0A=
return getCookie("cna");=0A=
}=0A=
=0A=
function setAcookie(cookie)=0A=
{=0A=
cookie =3D unescape(cookie);=0A=
setCookie("cna", cookie);       =0A=
}=0A=
=0A=
function syncAcookie(cookie)=0A=
{=0A=
cookie =3D unescape(cookie);=0A=
var cnaImg =3D document.createElement("img");=0A=
cnaImg.src =3D =
"http://hz.mmstat.com/s?cna=3D"+encodeURIComponent(cookie);=0A=
cnaImg.width =3D "0px";=0A=
cnaImg.height =3D "0px";=0A=
cnaImg.style.display =3D "none";=0A=
document.body.appendChild(cnaImg);=0A=
}=0A=
=0A=
function setCookie(sName, sValue)=0A=
{=0A=
document.cookie =3D sName + "=3D" + escape(sValue) + "; expires=3DFri, =
31 Dec 2037 23:59:59 GMT;domain=3D"+getRootDomain();=0A=
}=0A=
=0A=
function getCookie(sName)=0A=
{=0A=
var allCookie =3D document.cookie.split("; ");=0A=
for (var i=3D0; i < allCookie.length; i++)=0A=
{=0A=
var aCrumb =3D allCookie[i].split("=3D");=0A=
if (sName =3D=3D aCrumb[0])=0A=
return unescape(aCrumb[1]);=0A=
}=0A=
return "";=0A=
}=0A=
=0A=
function getRootDomain() {=0A=
var d =3D document.domain.split(".");=0A=
var n =3D d.length;=0A=
var t =3D d[n-2] + "." + d[n-1];=0A=
if (d[n-1].length > 2) return t;=0A=
else return d[n-3] + "." + t;=0A=
}=0A=

------=_NextPart_000_0057_01C9AEC9.70D226D0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_001_007E_01C9AEC9.70D470C0"


------=_NextPart_001_007E_01C9AEC9.70D470C0
Content-Type: text/html;
	charset="gb2312"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://bbs.pfan.cn/post-211417.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>VC++=CA=D4=CC=E2 =A1=AA =
=B1=E0=B3=CC=B0=AE=BA=C3=D5=DF=C2=DB=CC=B3http://bbs.pfan.cn</TITLE><LINK=
=20
href=3D"http://bbs.pfan.cn/style.css" rel=3Dstylesheet><LINK=20
href=3D"http://bbs.pfan.cn/image/style1.css" rel=3Dstylesheet><LINK =
title=3D=D7=EE=D0=C230=C6=AA=D6=F7=CC=E2=20
href=3D"rss.asp?bbsid=3D6" type=3Dapplication/rss+xml rel=3Dalternate>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dgb2312">
<SCRIPT src=3D"http://bbs.pfan.cn/inc/ajax.js" =
type=3Dtext/javascript></SCRIPT>

<SCRIPT type=3Dtext/javascript>
<!--
var currentpos,timer;
function sc()
{
	clearInterval(timer);
}

function initialize()
{
	timer=3DsetInterval("scrollwindow()",10);
}

function scrollwindow()
{
	currentpos=3Ddocument.body.scrollTop;window.scroll(0,++currentpos);
}

//document.onmousedown=3Dsc
//document.ondblclick=3Dinitialize

var newWindow=3Dnull
function subwin(loadpos,target,width,height)
{
	if(!newWindow||newWindow.closed)
		{
		=
newWindow=3Dwindow.open(loadpos,target,"resizable,scrollbars,dependent,wi=
dth=3D"+width+",height=3D"+height);
		}
	else
		{
		newWindow.focus();
		}
}

function check()
{
	if(document.frmedit.content.value=3D=3D""){
	alert("=C7=EB=CA=E4=C8=EB=C4=DA=C8=DD");
	return false;
	}
	if(document.frmedit.content.value.length>5000){
	=
alert("=C4=DA=C8=DD=B3=AC=B9=FD5000=D7=D6=A3=AC=C7=EB=B7=D6=B8=EE=B7=A2=CB=
=CD");
	document.frmedit.content.focus();
	return false;
	}
	document.frmedit.Submit.value =3D =
"=CC=E1=BD=BB=D6=D0=C7=EB=C9=D4=BA=F2";
	document.frmedit.Submit.disabled=3Dtrue;
	return true;
	document.form.submit();
}

function SaveAs(ID)
{
   if(document.execCommand)
    {
	var savewindow=3Dwindow.open("showtxt.asp?id=3D211417");
	savewindow.document.execCommand('SaveAs',true,'Pfan_'+ID+'.htm');
	savewindow.close();
	}
   else
   	alert('SaveAs Function Not Supported by Browser');
}

function movebbs(id)
{
	document.movebbs.submit();
}

function bbsaction(type)
{
	switch(type)
	{
	case 1: document.bbsaction.action.value=3D"urgency";break;
	case 2: document.bbsaction.action.value=3D"lock";break;
	case 3: document.bbsaction.action.value=3D"over";break;
	case 4: document.bbsaction.action.value=3D"updatetime";break;
	default:break;
	}
	document.bbsaction.submit();
}

function jump(page)
{
=09
		location.href=3D"post-211417-"+page+".html";
=09
}

function ResizeImage(img){
	if (img.width>500)
	{
		scale =3D img.width / img.height;
		img.width =3D 500;
		img.height =3D 500 / scale;
	}
}
//-->
</SCRIPT>

<META content=3D"MSHTML 6.00.6000.16809" name=3DGENERATOR></HEAD>
<BODY>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D970 align=3Dcenter =
border=3D0>
  <TBODY>
  <TR>
    <TD bgColor=3D#efefef colSpan=3D2>
      <DIV align=3Dcenter><STRONG><A href=3D"http://www.programfan.com/" =

      target=3D_blank>=CA=D7=D2=B3</A></STRONG> | <STRONG><A=20
      href=3D"http://www.programfan.com/reg.asp" =
target=3D_blank>=CD=A8=D0=D0=D6=A4</A></STRONG> |=20
      <A href=3D"http://bbs.pfan.cn/" target=3D_blank>=C2=DB=CC=B3</A> | =
<A=20
      href=3D"http://blog.pfan.cn/" target=3D_blank>BLOG</A> | <A=20
      href=3D"http://www.programfan.com/book" =
target=3D_blank>=CA=E9=C6=C0</A> | <A=20
      href=3D"http://www.programfan.com/article" =
target=3D_blank>=BF=AA=B7=A2=CE=C4=D5=C2</A> | <A=20
      href=3D"http://job.pfan.cn/" =
target=3D_blank>=C8=CB=B2=C5=D5=D0=C6=B8</A> | <A=20
      href=3D"http://www.programfan.com/news" =
target=3D_blank>=D7=CA=D1=B6</A> | <A=20
      href=3D"http://www.programfan.com/download.asp" =
target=3D_blank>=B9=A4=BE=DF=CF=C2=D4=D8</A> | <A=20
      href=3D"http://www.programfan.com/code" =
target=3D_blank>=D4=B4=C2=EB=CF=C2=D4=D8</A> | <A=20
      href=3D"http://www.programfan.com/project" =
target=3D_blank>=CF=EE=C4=BF=BD=BB=D2=D7</A> | <A=20
      href=3D"http://www.programfan.com/team" =
target=3D_blank>=D0=CB=C8=A4=D0=A1=D7=E9</A> | <A=20
      href=3D"http://www.programfan.com/wysoft" =
target=3D_blank>=CD=F8=D3=D1=D7=F7=C6=B7</A> | <A=20
      href=3D"http://www.programfan.com/test.asp" =
target=3D_blank>C=D3=EF=D1=D4=CA=D4=CC=E2=B2=E2=CA=D4</A> | <A=20
      href=3D"http://www.programfan.com/share" =
target=3D_blank>=D7=CA=D4=B4=B9=B2=CF=ED</A> | <A=20
      href=3D"http://www.programfan.com/problem"=20
  target=3D_blank>ACM=CC=E2=BF=E2</A></DIV></TD></TR>
  <TR>
    <TD width=3D210>
      <DIV align=3Dcenter><A href=3D"http://bbs.pfan.cn/main.asp"><IMG =
height=3D80=20
      src=3D"http://bbs.pfan.cn/image/logo.gif" width=3D190 =
border=3D0></A><BR><IMG=20
      height=3D15 src=3D"http://bbs.pfan.cn/image/arraw2.gif" =
width=3D15><A=20
      style=3D"COLOR: #ff0000"=20
      =
href=3D"http://www.programfan.com/user/register.asp"><STRONG>=D7=A2=B2=E1=
=D0=C2=BB=E1=D4=B1</STRONG></A></DIV></TD>
    <TD align=3Dright width=3D745>
      <SCRIPT type=3Dtext/JavaScript>=20
alimama_pid=3D"mm_10037389_223358_1163631";=20
alimama_titlecolor=3D"0000FF";=20
alimama_descolor =3D"000000";=20
alimama_bgcolor=3D"FFFFFF";=20
alimama_bordercolor=3D"E6E6E6";=20
alimama_linkcolor=3D"008000";=20
alimama_bottomcolor=3D"FFFFFF";=20
alimama_anglesize=3D"0";=20
alimama_bgpic=3D"0";=20
alimama_icon=3D"0";=20
alimama_sizecode=3D"11";=20
alimama_width=3D760;=20
alimama_height=3D90;=20
alimama_type=3D2;=20
</SCRIPT>

      <SCRIPT src=3D"http://a.alimama.cn/inf.js" type=3Dtext/javascript> =

</SCRIPT>
    </TD></TR></TBODY></TABLE>
<DIV align=3Dcenter>
<TABLE height=3D25 cellSpacing=3D0 cellPadding=3D0 width=3D960 =
border=3D0>
  <FORM action=3Dlogin.asp method=3Dpost><INPUT type=3Dhidden=20
  value=3Dhttp://bbs.pfan.cn/showbbs.asp?id=3D211417 name=3Dfromurl>=20
  <TBODY>
  <TR>
    <TD bgColor=3D#e8f0f8>
      <P><FONT =
color=3D#ff0000><STRONG>=C7=EB=B5=C7=C2=BD=BB=F2=D5=DF=D7=A2=B2=E1=D0=C2=D3=
=C3=BB=A7</STRONG></FONT> &nbsp; =D3=C3=BB=A7=C3=FB=20
      <INPUT class=3Dinput_style size=3D10 name=3Dusername> &nbsp;&nbsp; =
=C3=DC&nbsp; =C2=EB=20
      <INPUT class=3Dinput_style type=3Dpassword size=3D10 =
name=3Dpassword>&nbsp; <INPUT=20
      type=3Dcheckbox value=3D1 name=3Dsavename><FONT =
color=3D#ff0000>=BC=C7=D7=A1=C3=DC=C2=EB</FONT><INPUT =
class=3Dbutton_style type=3Dsubmit value=3D=B5=C7=C2=BD =
name=3DSubmit>&nbsp;&nbsp;<A=20
      href=3D"http://www.programfan.com/user/register.asp"=20
      target=3D_blank>=D7=A2=B2=E1=D0=C2=D3=C3=BB=A7</A>&nbsp; <A=20
      href=3D"http://www.programfan.com/user/forgetpass.asp"=20
      =

⌨️ 快捷键说明

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