| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 555 人关注过本帖
标题:为什么我从我们学校内网下载的c++文件在自己电脑里显示出来的是下面的内容
只看楼主 加入收藏
yang1993
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2012-10-18
结帖率:0
收藏
已结贴  问题点数:20 回复次数:2 
为什么我从我们学校内网下载的c++文件在自己电脑里显示出来的是下面的内容


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.
<html xmlns="http://www.
<head id="Head1"><link rel="stylesheet" href="../CSS/Content.css" type="text/css" /><title>
    考试模块
</title></head>

<script type="text/javascript" language="javascript" src="../JScript/ImageChange.js"></script>
<script type="text/javascript" language="javascript" src="../JScript/Regist.js"></script>
<script type="text/javascript" language="javascript" src="../JScript/SetTime.js"></script>
<script language="javascript" type="text/javascript">

//特别注明:北京时间是格林尼治标准时加八小时,因此用的起始时间也是从八点起算的
var secondServer = 1350525677;
var secondClient = parseInt(new Date().getTime()/1000);
var secondSub = secondServer - secondClient; //两端时间秒差

</script>

<body onload="meizzTime(secondSub);FP_preloadImgs(/*url*/'images/checkout_1_42.gif')">
    <form name="AddTeacherForm" method="post" action="Student_ProbDetail.aspx?pid=806&amp;cntid=360&amp;tpyid=1&amp;PIndex=6&amp;cntname=%u5b9e%u9a8c02.2+%u8ba1%u7b97%u5206%u6bb5%u51fd%u6570&amp;cid=52" id="AddTeacherForm" enctype="multipart/form-data">
<div>
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJNTQxNTE5MzQwD2QWAgIBDxYCHgdlbmN0eXBlBRNtdWx0aXBhcnQvZm9ybS1kYXRhFggCBQ8PFgIeBFRleHQFCDMxMjAxNDA0ZGQCBw8PFgIfAQUJ5p2o5pet5LicZGQCDw8PFgIfAQUFMzDnp5JkZAITDw8WAh8BBQY4MTkyS0JkZBgBBR5fX0NvbnRyb2xzUmVxdWlyZVBvc3RCYWNrS2V5X18WAgUJYnRuU3VibWl0BQdidG5CYWNrdaIvf2OO8ksgsS5FuZMMnCOLAW4=" />
</div>

<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['AddTeacherForm'];
if (!theForm) {
    theForm = document.AddTeacherForm;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}
//]]>
</script>


<div>

    <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWBwKU5L3bAQLmz+qCDQKolLXXCwLBxfHWAwKvjMJ8AsKL2t4DAr6u805A2LXnqQ01gI+nVJMoCSi/Si0qfw==" />
</div>
    <div>
        <table border="0" cellspacing="0" cellpadding="0" width="100%" style="vertical-align: top">
            <tr style="background-image: url(../images/header_bei.gif); height: 50px">
                <td style="width: 10px">
                </td>
                <td style="width: 50px">
                    <img src="../images/header01.gif" alt="" />
                </td>
                <td align="left" valign="middle">
                    <span id="Label7" style="font-size:X-Large;font-weight:bold;">C语言在线考试系统</span>
                </td>
            </tr>
        </table>
        <table border="0" cellspacing="0" cellpadding="0" width="100%">
            <tr>
                <td bgcolor="#FFFFFF">
                    <table border="0" width="100%" cellspacing="0" cellpadding="0">
                        <tr>
                            <td style="width: 15%" align="left">
                                <span id="Label3" style="font-size:X-Large;font-weight:bold;">题目详细信息</span>
                            </td>
                            <td style="width: 30%" align="right">
                                <span id="StudentID" style="font-size:Medium;font-weight:bold;">31201404</span>
                                &nbsp;&nbsp;&nbsp;
                                <span id="StudentName" style="font-size:Medium;font-weight:bold;">杨旭东</span>
                            </td>
                            <td align="center" style=" width:35%">
              <input id="timebar"  readonly="readonly" value="" style=" text-align:center; width:100%; border:0; background-color:inherit; font-size:medium"/>
            </td>
                            <td style="width: 20%" align="right">
                                <a id="help" href="javascript:__doPostBack('help','')" style="color:OrangeRed;font-size:Medium;font-weight:bold;">帮助</a>
                                &nbsp; &nbsp;&nbsp;
                                <a id="Exit" href="javascript:__doPostBack('Exit','')" style="color:OrangeRed;font-size:Medium;font-weight:bold;">安全退出</a>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <font size="2">
                        <img src="images/batteryprovider_06.gif" width="100%" height="8" alt=""></font>
                </td>
            </tr>
            <tr>
                <td bgcolor="#FFFFFF" colspan="2" style="height: 20px">
                    &nbsp; &nbsp;&nbsp; &nbsp;
                </td>
            </tr>
            <tr>
                <td bgcolor="#FFFFFF" colspan="2" align="center">
                    <table border="0" width="100%">
                        <tr>
                            <td width="10%">
                            </td>
                            <td width="90%" align="center">
                                <span id="Label2" style="font-size:Medium;">运行时间限制:</span>
                                <span id="RunTime" style="color:OrangeRed;font-size:Medium;">30秒</span>
                                &nbsp;&nbsp;&nbsp;&nbsp;
                                <span id="Label6" style="font-size:Medium;">运行内存限制:</span>
                                <span id="RunMemory" style="color:OrangeRed;font-size:Medium;">8192KB</span>
                            </td>
                        </tr>
                        <tr>
                            <td width="10%" align="left">
                                <span id="Label4" style="font-size:Medium;">下载链接</span>
                            </td>
                            <td width="90%" align="left">
                                <a id="LinkButtonDownLoad" href="javascript:__doPostBack('LinkButtonDownLoad','')" style="color:OrangeRed;font-size:Medium;">点此下载填空程序源代码</a>
                            </td>
                        </tr>
                        <tr>
                            <td width="10%" align="left" valign="top">
                                <span id="Label1" style="font-size:Medium;">题目内容</span>
                            </td>
                            <td width="90%" align="left">
                                <textarea name="TextBoxProbTitle" rows="2" cols="20" id="TextBoxProbTitle" style="width: 90%; height: 350px; font-size: small">程序填空,不要改变与输入输出有关的语句。
输入2个整数 num1 和 num2,计算并输出它们的和、差、积、商与余数。
输出两个整数的余数可以用 printf(&quot;%d %% %d = %d\n&quot;, num1, num2, num1%num2);
输入输出示例:括号内是说明
输入
5 3       (num1=5,num2=3)
输出
5 + 3 = 8
5 - 3 = 2
5 * 3 = 15
5 / 3 = 1
5 % 3 = 2
</textarea>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td width="10%" align="left">
                                <span id="Label5" style="font-size:Medium;">上传源文件</span>
                                &nbsp;<span class="content_red">*</span>
                            </td>
                            <td width="90%" align="left">
                                <input type="file" name="FileUploadSource" id="FileUploadSource" style="border-style:Double;font-size:Medium;width:450px;" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td bgcolor="#FFFFFF" colspan="2" align="center">
                    <br />
                    &nbsp;
                </td>
            </tr>
            <tr bgcolor="#FFFFFF">
                <td align="center" colspan="2">
                    <input type="image" name="btnSubmit" id="btnSubmit" src="../images/commitcode.png" style="border-width:0px;" />
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <input type="image" name="btnBack" id="btnBack" src="../images/return.png" style="border-width:0px;" />
                    <br />
                </td>
            </tr>
            <tr>
                <td bgcolor="#FFFFFF" colspan="2">
                    &nbsp;
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
搜索更多相关主题的帖子: javascript title PUBLIC 
2012-10-18 11:21
白云苍狗
Rank: 2
来 自:中国
等 级:论坛游民
帖 子:2
专家分:10
注 册:2012-10-18
收藏
得分:10 
亲,你这是网页编程啊,是HTML文件。你把它复制到记事本上,保存格式改为html格式,然后你打开看一下。
你才注册的吧,我也是。
2012-10-18 17:45
lyswwr
Rank: 3Rank: 3
等 级:论坛游侠
帖 子:53
专家分:124
注 册:2011-7-3
收藏
得分:10 
是呀,这哪里是c++的呀,这是网页编程
2012-10-18 21:11
快速回复:为什么我从我们学校内网下载的c++文件在自己电脑里显示出来的是下面的 ...
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.041084 second(s), 9 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved