哪个大神帮我看下这个网站什么框架开发的 [问题点数:50分]

Bbs1
本版专家分:0
结帖率 84.62%
Bbs1
本版专家分:0
Bbs2
本版专家分:260
Bbs1
本版专家分:0
Bbs2
本版专家分:152
Bbs1
本版专家分:0
Bbs1
本版专家分:0
Bbs1
本版专家分:0
大神帮我看下这个上传图片的问题
网上找了上传图片的代码,测试了下是可以用的,但是拆分后就不能用了rn本来两个php和form是在一个文件内的,我拆成两个了rn第一个文件logo.php <em>这个</em>里面放php代码rn[code=php]rnalert('上传成功');"; rn rn //显示图片 rn echo ""; rn rn rn?>rn[/code]rn第二个文件up.php 这里放上传按钮的代码rn[code=php]rn rnupload img: rn rn rn[/code]rnrn如上,拆分成两个后 不能用了,放在一个文件就能用,求<em>大神</em>指点,谢谢
大神帮我看下这个插入排序的程序,,,,,
void InsertionSort(int data[],int num)rnrn for(int i=1;itemp)rn rn for(int k=i;k>j;k--)rn rn data[k]=data[k-1];rn rn data[j]=temp;rn rn rn break;rn rn rnrnvoid main()rnrn int a[10]=1,3,5,7,9,2,4,6,8,0;rn InsertionSort(a,10);rn for(int i=0;i,a[i]);rn rnrnrn输出是不对的,,请问<em>什么</em>地方错了啊?
大神帮我看下这个sql语句
[img=https://img-bbs.csdn.net/upload/201408/28/1409205054_381885.png][/img]rn[img=https://img-bbs.csdn.net/upload/201408/28/1409205063_969348.png][/img]rn我想要汇总一张单据的金额,但为<em>什么</em>汇总出来的金额不对,请教下<em>大神</em>sql语句哪里写得不对
各位大神帮我看下这个怎么弄,谢谢
现在的结果rn[img=https://img-bbs.csdn.net/upload/201403/05/1394008330_515902.png][/img]rnrn需要的结果rn[img=https://img-bbs.csdn.net/upload/201403/05/1394008470_880312.png][/img]
帮我看下这个网站用提什么技术
http://www.huigugw.com/index.htmlrn全站都是静态的,这是用<em>什么</em>实现的?我们要帮这家公司用asp.net重做个<em>网站</em>能否达到这种全站静态的效果?我用过伪静态但有些爱过QueryString传参的就不行。
帮我看下这个网站是用什么架构?
[url=http://www.coochong.com/]http://www.coochong.com/[/url]<em>帮我</em><em>看下</em><em>这个</em><em>网站</em>是用<em>什么</em>架构?
大家帮我看下这个网站是用什么开发的?
就是<em>这个</em><em>网站</em>:rnhttp://www.sayatoo.com/rn它是用<em>什么</em>开发的??rn
http://www.coochong.com/帮我看下这个网站是用什么架构
[url=http://www.coochong.com]http://www.coochong.com[/url]/<em>帮我</em><em>看下</em><em>这个</em><em>网站</em>是用<em>什么</em>架构
麻烦帮我看下这个网站用的什么网店程序,谢谢!
麻烦<em>帮我</em><em>看下</em><em>这个</em><em>网站</em>用的<em>什么</em>网店程序,谢谢!rnhttp://ibag101.com
大家帮我看下这个用的什么技术
http://cn.bing.com/videos/search?q=%e8%bf%88%e5%85%8b%e5%b0%94%c2%b7%e6%9d%b0%e5%85%8b%e9%80%8a&FORM=pgbar3#rn这是bing搜索的视频结果,我这儿网速不怎么样,但播放起挺流畅的。rn用的<em>什么</em>技术啊
帮我看下这个URL中的#代表什么
<em>帮我</em><em>看下</em><em>这个</em>URL中的#代表<em>什么</em>?rnrnhttp://xxx.cn#123-1234#baidu.com/test.htm?id=18826194086 <em>这个</em>#好作用是啥?<em>这个</em>URL域名是啥?rnrn解释的越详细越好
帮我看下这个什么错误啊?
Fatal error: Cannot redeclare FastTemplate::clear_parse() in E:\php\website\nervebook2\class.fasttemplate.php3 on line 636rnrn是<em>什么</em>错误啊?
帮我看下这个选择题
[img=http://digu.com/kqlyjht][/img]rnrn最好给解释下哦!谢谢rnrn地址是http://digu.com/kqlyjht的第一张图片
帮我看下这个小错误
有时候报错 有时候没错(大多数吧 大约10有1次报错) 很头疼...用的是mssql2005 数据量比较庞大..rnrnrnrnrn[code=Java]rn2010-2-4 20:30:34 org.apache.catalina.core.ApplicationDispatcher invokern严重: Servlet.service() for servlet Question threw exceptionrnjava.lang.NullPointerExceptionrn at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.buildParamTypeDefinitions(Unknown Source)rn at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.buildPreparedStrings(Unknown Source)rn at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doPrepExec(Unknown Source)rn at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(Unknown Source)rn at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(Unknown Source)rn at com.microsoft.sqlserver.jdbc.TDSCommand.execute(Unknown Source)rn at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(Unknown Source)rn at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(Unknown Source)rn at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(Unknown Source)rn at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeQuery(Unknown Source)rn at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:93)rn at nanfeng.wb.dao.BaseDao.getResultSetBySqlPara(BaseDao.java:73)rn at nanfeng.wb.dao.impl.ReplyInfoImpl.readByQidReplyInfo(ReplyInfoImpl.java:59)rn at nanfeng.wb.biz.ReplyInfoBiz.readByQidReplyInfo(ReplyInfoBiz.java:24)rn at nanfeng.wb.servelt.Question.doPost(Question.java:30)rn at nanfeng.wb.servelt.Question.doGet(Question.java:21)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)rn at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)rn at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)rn at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)rn at org.tuckey.web.filters.urlrewrite.RewrittenUrl.doRewrite(RewrittenUrl.java:176)rn at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:728)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)rn at java.lang.Thread.run(Unknown Source)rn[/code]rnrnrnat nanfeng.wb.dao.BaseDao.getResultSetBySqlPara(BaseDao.java:73) 方法:rn[code=Java]rnpublic ResultSet getResultSetBySqlPara(String sql,String[] paras) throws NamingExceptionrn try rn con=Conn();rn rn ps=con.prepareStatement(sql);rn if(null!=paras && paras.length>0)rn for (int i = 0; i < paras.length; i++) rn ps.setString(i+1, paras[i]);rn rn rn return ps.executeQuery();rn catch (SQLException e) rn // TODO 自动生成 catch 块rn e.printStackTrace();rn closeDataBase();rn System.out.println("getRes错误");rn rn return null;rn rn rn[/code]rnat nanfeng.wb.dao.impl.ReplyInfoImpl.readByQidReplyInfo(ReplyInfoImpl.java:59)方法:rn[code=Java]rnpublic List readByQidReplyInfo(int questionId) rn List lst=new ArrayList();rn String sql="select top 20 * from T_ReplyInfo where questionId="+questionId;rn try rn rs=super.getResultSetBySqlPara(sql, null);rn if(null!=rs)rn while (rs.next()) rn ReplyInfo replyInfo=new ReplyInfo();rn replyInfo.setId(Integer.parseInt(rs.getString("id")));rn replyInfo.setContent(rs.getString("content"));rn replyInfo.setToName(rs.getString("toName"));rn replyInfo.setQuestionId(Integer.parseInt(rs.getString("questionId")));rn replyInfo.setTime(rs.getString("time"));rn lst.add(replyInfo);rn rn elsern lst=null;rn rn rn rn catch (NumberFormatException e) rn // TODO Auto-generated catch blockrn e.printStackTrace();rn catch (SQLException e) rn // TODO Auto-generated catch blockrn e.printStackTrace();rn catch (NamingException e) rn // TODO Auto-generated catch blockrn e.printStackTrace();rn finallyrn super.closeDataBase();rn rn return lst;rn rn[/code]rnat nanfeng.wb.biz.ReplyInfoBiz.readByQidReplyInfo(ReplyInfoBiz.java:24)方法:rn[code=Java]rnpublic List readByQidReplyInfo(int questionId)rn return rbz.readByQidReplyInfo(questionId);rn rn[/code]rnat nanfeng.wb.servelt.Question.doPost(Question.java:30) 类(servelt):rn[code=Java]rnpublic void doPost(HttpServletRequest request, HttpServletResponse response)rn throws ServletException, IOException rn String id=request.getParameter("id");rn if(null!=rbz.readByQidReplyInfo(Integer.parseInt(id)))rn request.setAttribute("replyList",rbz.readByQidReplyInfo(Integer.parseInt(id)) );rn elsern request.setAttribute("replyList",null);rn rn rn if(null!=qbz.readQuestionInfo(Integer.parseInt(id)))rn request.setAttribute("question", qbz.readQuestionInfo(Integer.parseInt(id)));rn elsern request.setAttribute("question",null);rn rn request.setAttribute("qutop10",qbz.readTop10QuestionInfo());rn request.setAttribute("id10",qbz.readId10QuestionInfo(Integer.parseInt(id)));rn request.getRequestDispatcher("nanfeng/question.jsp").forward(request, response);rn rn[/code]
帮我看下这个程序
有个*.txt文件,里面内容是ABC DEF GHJKK HF HYI JJJJ KKKK LLLrn我现在想把空格换成换行符,我写了个程序,结果不对,请大虾指点rnrn[code=C/C++]#include rn#includernrnint main()rnrn unsigned char ch;rn FILE *fp,*fp1;rn fp = fopen("F:\\logo","rt+");rn if(fp==NULL)rn rn printf("\nerror on open c:\\hzk16 file!"); rn //exit(1); rn rnrnch = '-';rnrnrndornrn ch = fgetc(fp);rn rn if(ch == ' ')rn rn ch = '\n';rn fputc(ch,fp);rn rn rnwhile(!feof(fp));rnrnfclose(fp);rnrnfp1 = fopen("F:\\logo","r"); rnrndornrn ch = fgetc(fp1);rn printf("%c",ch);rnwhile(!feof(fp1));rnfclose(fp1);rnrnreturn 0;rn[/code]rn
帮我看下这个乱码问题.
[url=http://www.nakahara-naikai-sh.com/][/url] 本机上是好的.
帮我看下这个问题
有一个A页面,有几个下拉列表框,有个搜索按钮,点搜索按钮查询出数据,在A页面显示.当我选择其中的一行数据,点击另一个按钮跳到B页面,在B页面对此信息进行修改,修改完以后,点保存,页面重新回到A页面,但是要求是回A页以后,不点搜索按钮还要把第一次搜索的数据显示出来,<em>这个</em>动作如何做呢?
谁能帮我看下这个
utility.h 文件里我这么写的,抄书的rn#include // standard iostream operationsrn#include // numeric limitsrn#include // mathematical functionsrn#include // C-string functionsrn#include // C library language supportrn#include // file input and outputrn#include // character classificationrn#include // date and time functionsrnusing namespace std;rnbool user_says_yes( );rnenum Error_code success, fail, range_error, underflow, overflow, fatal,not_present, duplicate_error, entry_inserted, entry_found,internal_error ;rnrnlife.h 里是这些rn#includernusing std::ofstream;rnconst int maxrow = 20, maxcol = 60; // grid dimensionsrnclass Lifernpublic:rn void initialize();rn void instructions();rn void print();//ostream &f)rn void update();rn void edit();rnprivate:rn int grid[maxrow + 2][maxcol + 2]; // Allow two extra rows and columns.rn int neighbor_count(int row, int col);rn bool step_mode;rn;rnrnrnmain.cpp是这样的rnrn#include"utility.h"rn#include"life.h"rn#include"life.cpp"rnusing std::ofstream;rnusing namespace std;rnint main()rnrn Life configuration;rn instructions();rn configuration.initialize();rn configuration.print(cout);rn bool command;rn do rn configuration.update();rn configuration.print(cout);rn cout << "Continue viewing without changes? " << endl;rn if (!(command = user_says_yes())) rn cout << "Do you want to quit? " << flush;rn if (user_says_yes()) command = false;rn else rn cout << "Do you want help? " << flush;rn if (user_says_yes()) instructions();rn cout << "Do you want to make any changes? " << flush;rn if (user_says_yes()) configuration.edit();rn command = true;rn rn rn while (command);rn cout << "Do you want to save the final position to file? " << flush;rn if (user_says_yes()) rn char name[1000];rn cout << "Give the save file name: " << flush;rn cin >> name;rn ofstream f(name);rn configuration.print(f);rn rnrnrn最后是life.cpprn#include"utility.h"rn#include "life.h"rnusing std::ofstream;rnusing namespace std;rnvoid Life::edit()rn/* Post: User has edited configuration, and/or step mode */rnrn cout << "Do you want to switch the step mode? " << flush;rn if (user_says_yes()) step_mode = !step_mode;rn cout << "Do you want to change the configuration? " << flush;rn if (!user_says_yes()) return;rn int row, col;rn cout << "List the coordinates for cells to change." << endl;rn cout << "Terminate the list with the the special pair -1 -1" << endl;rn cin >> row >> col;rn while (row != -1 || col != -1) rn if (row >= 1 && row = 1 && col << "Column " << col << " is out of range." << endl;rn elsern cout << "Row " << row << " is out of range." << endl;rn cin >> row >> col;rn rnrnvoid Life::print();//ostream &frn/*rnPre: The Life object contains a configuration.rnPost: The configuration is written to stream f for the user.rn*/rnrn int row, col;rn cout<< "The current Life configuration is:" << endl;rn for (row = 1; row << '*';rn else rn cout << ' ';rn cout << endl;rn rn cout << endl;rnrnint Life::neighbor_count(int row, int col)rn/*rnPre: The Life object contains a configuration, and the coordinatesrnrow and col define a cell inside its hedge.rnPost: The number of living neighbors of the specified cell is returned.rn*/rnrn int i, j;rn int count = 0;rn for (i = row - 1; i << "Vivify cell " << row << " " << col << endl;rn new_grid[row][col] = 1; // Cell is now alive.rn break;rn default:rn if (step_mode && grid[row][col] == 1)rn cout << "Kill cell " << row << " " << col << endl;rn new_grid[row][col] = 0; // Cell is now dead.rn rn for (row = 1; row << "Do you want to read input from a prepared file? " << flush;rn if (user_says_yes()) rn cout << "Enter input file name: " << flush;rn char name[1000];rn cin >> name;rn f.open(name);rn from_file = true;rn while (cin.get() != '\n');rn rn else rn while (cin.get() != '\n');rn cout << "Enter a picture of the initial configuration." << endl;rn cout << "Please enter nonblanks to signify living cells,\n";rn cout << "and blanks to signify empty cells.\n";rn cout << "Enter a character $ if all input is complete before the "<< "last row." << endl;rn rn for (row = 1; row << row << " : " << flush;rn for (col = 1; col << "Welcome to Conway's game of Life." << endl;rn cout << "This game uses a grid of size "<< maxrow << " by " << maxcol << " in which" << endl;rn cout << "each cell can either be occupied by an organism or not." << endl;rn cout << "The occupied cells change from generation to generation" << endl;rn cout << "according to the number of neighboring cells which are alive."<< endl;rnrnbool user_says_yes()rnrn char act;rn while(cin>>act)rn rn if(tolower(act)=='q')rn rn break;rn rn else if(tolower(act)=='y')rn rn return true;rn continue;rn rn elsern rn cout<;rn continue;rn rn rn rn rn return false;rnrnrn出了好多莫名其妙的错误,谁能<em>帮我</em><em>看下</em>啊!!!rnrnrn
帮我看下这个程序错误?
自己写了一个二进制转十进制的,能运行,但是有的二进制转换出来的不正确,<em>帮我</em><em>看下</em>哪里逻辑错误了,谢谢啊,新手rnrnString number;rn int num;rn int n = 0,count = 0,m;rn number = JOptionPane.showInputDialog("Enter numbers");rn num = Integer.parseInt(number);rn rn while(n,JOptionPane.INFORMATION_MESSAGE);
帮我看下这个错误
大家好!问题是这样的:我们公司<em>网站</em>在本地测试正常,<em>网站</em>的数据库是sql2000的,然后<em>网站</em>包括sql数据库上传到了网上的虚拟主机,访问的时候却报错,我已初步排除了不是web.config的配置问题和sql数据库上传不成功的错误,不知道还是有其他<em>什么</em>原因,请帮忙<em>看下</em>。下面是访问时候报错的具体信息:rnrnAccess to the path 'D:\Webs\aceabi\\Configuration\Config\' is denied. rnDescription: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. rnrnException Details: System.UnauthorizedAccessException: Access to the path 'D:\Webs\aceabi\\Configuration\Config\' is denied. rnrnASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically MACHINE\ASPNET on IIS 5 or Network Service on IIS 6 and IIS 7, and the configured application pool identity on IIS 7.5) that is used if the application is not impersonating. If the application is impersonating via , the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user. rnrnTo grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.rnrnSource Error: rnrnAn unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. rn
谁能帮我看下这个
做的是Oracle对XMLType字段的操作rnrn1、先创建一个名未test.xml的配置文件。rnrnrn rn -----nam0-22-----^^^450-rn rn 抗震救灾rn 奥运会rn rn rn 经济学rn 计算机rn 10001rn 2005-07-09rn rn rn 计算机rn 笔记本rn rn rnrnrnrn2、在Oracle中创建一个存放该XML文件的表:rncreate or replace table xmlexample(rnID varchar2(10),rnname varchar2(20),rndata xmltypern)rninsert into xmlexample(id,name,data)rnvalues(sys_guid(),'my document',rn xmltypern (rn bfilename(filepath,filename),rn nls_charset_id('AL32UTF8')rn )rn)rn其中bfilename(filepath,filename),filename为文件名。这里的filepath filename该改成<em>什么</em>?不改总报错
帮我看下这个正则~
[code=PHP]rn$reg = "/(\d2)\/\\1\/(\d4)/";rn$text = '03/02/2009';rn[/code]rnrn为<em>什么</em>匹配不到呢?把正则改成"/(\d2)\/(\d2)\/(\d4)/"就能匹配到了
帮我看下这个JS代码
是用来做导航菜单的,JS+CSS,效果像flash做出来的一样,rn但现在有个问题就是点了之后,链接不能打开,而且还有个虚线框停在那里,请人<em>帮我</em>看看,谢谢,rnrn把代码打包放在我服务器上了,请下载测试rnhttp://kute.net.cn/flash效果js_css导航.rarrnrn应该是里面的两个JS的问题
帮我看下这个查询语句?
select * from tablename where cl like '%FW-034%' or name like '%FW-034%' order by id desc rnrn<em>这个</em>句子现在怎么试都查不出结果来.但以前好像可以.rn请支招.谢谢.rn rn
帮我看下这个JSON。
[code=JScript] rn[/code]rnrnrn这样我可以弹出数据如下。。rn"itemcats_get_response":"item_cats":"item_cat":["cid":50017905,"is_parent":false,"name":"游戏掌机\/PSP\/NDSL","parent_cid":20,"cid":50017906,"is_parent":false,"name":"家用游戏机\/PS3\/Wii\/XBOX","parent_cid":20,"cid":50012068,"is_parent":false,"name":"游戏手柄","parent_cid":20,"cid":50012834,"is_parent":true,"name":"游戏软件","parent_cid":20,"cid":50012079,"is_parent":false,"name":"方向盘","parent_cid":20,"cid":50012080,"is_parent":false,"name":"摇杆","parent_cid":20,"cid":50012160,"is_parent":true,"name":"PSP专用配件","parent_cid":20,"cid":50012161,"is_parent":true,"name":"WII专用配件\/周边","parent_cid":20,"cid":50012162,"is_parent":true,"name":"PS2\/PS3专用配件(包含PS1)","parent_cid":20,"cid":50012163,"is_parent":true,"name":"NDSI\/NDSL专用配件","parent_cid":20,"cid":50018082,"is_parent":true,"name":"XBOX专用配件","parent_cid":20,"cid":50018224,"is_parent":true,"name":"世嘉 DC\/MD\/SS\/SEGA 专用配件","parent_cid":20,"cid":50018225,"is_parent":true,"name":"任天堂NGC\/FC\/N64\/SFC 专用配件","parent_cid":20,"cid":50018230,"is_parent":true,"name":"任天堂掌机配件","parent_cid":20]rnrnrnrn我现在是要读取这些个数据,循环出业NAME和CIDrnrn
帮我看下这个分页
SELECT top 60 t.rid,t.ProductID,t.ReCompanyIDrnFROMrn(rn SELECT rid=ROW_NUMBER() OVER(PARTITION BY P.ReCompanyID ORDER BY P.ProductDateTime DESC),c.CompanyName,rn P.ProductID,P.ReCompanyID,P.ProductDateTimern FROM Product P, Company crn Where P.ProductType=3 and P.ReCompanyID=c.CompanyIDrn) AS TrnWHERE T.rid<=2 rn order by a.ReCompanyID Desc ,a.ProductDateTime Descrn)rnrnorder by T.ReCompanyID Desc ,T.ProductDateTime Descrn不过速度很慢(45万条数据,查询时间为1秒),哪位肯指点下。谢谢!
帮我看下这个问题。
#include"stdio.h"rn#include"stdlib.h"rn#define max 100rnstruct nodernrnint a[max];rnint n;;rntypedef struct node *plink;rnplink create(void )rnrnplink head=(plink)malloc(sizeof(struct node));rnhead->n=0;rnreturn head;rnrnvoid main()rn int i=0,x;rnplink h;rnh=create();rnscanf("%d",&x);rnwhile(x!=0)rnrn h->a[i]=x;rn i++;rnrnh->n=i;rn for(i=0;in;i++)rn printf("%d",h->a[i]);rn
看下这个网站
rnhttp://www.syyq.cn/rnrn帮人维护的<em>网站</em> 他是在别人域名下买的 我维护首页 rn但那个 网页幻灯 在IE6里好使 在IE7里就不显示了 rn帮<em>看下</em><em>什么</em>问题
哪位大神帮我看下这是哪个版本的文件
http://download.csdn.net/detail/goico/8851449rnrn哪位<em>大神</em><em>帮我</em><em>看下</em>这是<em>哪个</em>版本的文件rn我用的是delphi7,老是出错
大家帮我看下这个网站这个功能是怎么实现的
http://www.prnasia.com/pr/10/03/100255321-2.htmlrn<em>这个</em><em>网站</em>右边有个订阅到哪里,有好多个订阅,这些订阅是怎么实现的啊。
哪个大神帮我来看看~
这是程序的错误rnerror C2664: 'AddString' : cannot convert parameter 1 from 'int' to 'const unsigned short *'rn Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style castrnError executing cl.exe.rn原代码rn[code=c]DWORD WINAPI CVideoCaptureDemoDlg::RecvProc(LPVOID lpParameter)rnrnCVideoCaptureDemoDlg* pDlg = (CVideoCaptureDemoDlg*)(::AfxGetApp()->GetMainWnd());rn SOCKET ClientSocket;rn ClientSocket = pDlg->m_socket;rn HWND hwnd = pDlg->m_hWnd;rn int retrecv;rn char recvbuf[200];rn while(SOCKET_ERROR!=retrecv)rn rn retrecv = recv(ClientSocket,recvbuf,sizeof(recvbuf),0);rn if(SOCKET_ERROR == retrecv)rn rn ::SetDlgItemText(hwnd,IDC_EDIT_STATE,_T(“lianjie duankai”));rn break;rn rn else if(retrecv!=0)rn rn (const unsigned short *)pDlg;rn pDlg->m_ListRecv.AddString(retrecv);rn rn rn pDlg->m_ListRecv.SetHorizontalExtent(10000);rn rn rn[/code]错是错在这里 pDlg->m_ListRecv.AddString(retrecv); 怎么改啊?我有用unicode编译方式
大神帮忙看下这个明文
1D000000000000009D96B63C685DD5DB8A08B93BAF3890DCD6DCC82F74A41B9DEC49108AD14DECA7rnrn有<em>大神</em>知道这段明文是用<em>什么</em>加密来的吗?
大神帮忙看下这个加密
[code=csharp]string pwd = Md5Pwd(Pwd0).ToLower();rn public string Md5Pwd(string strText)rn rn string charset = "utf-8";rn bool Is32Bit = true;rnrn string PwdKey = System.Configuration.ConfigurationManager.AppSettings["NewPayPwdKey"].Trim().ToString();rn tryrn rn strText += PwdKey;rn MD5CryptoServiceProvider MD5 = new MD5CryptoServiceProvider();rn string Md5Val = BitConverter.ToString(MD5.ComputeHash(Encoding.GetEncoding(charset).GetBytes(strText))).Replace("-", "").ToUpper();rn if (!Is32Bit)rn rn Md5Val = Md5Val.Substring(8, 16);rn rnrn if (Is32Bit)rn rn string before = Md5Val.Substring(0, 8);rnrn string middle = Md5Val.Substring(8, 16);rnrn string last = Md5Val.Substring(Md5Val.Length - 8);rnrn Md5Val = last + before + middle;rn rnrn return Md5Val;rn rn catch (Exception ex)rn rn string Errinfo = ex.Message;rn return string.Empty;rn rn rn[/code]rn我想问的是,<em>这个</em>md5加密看起来和常规的md5不一样啊,如果我想把<em>这个</em>程序加密出来的密文,还原成常规md5的密文,不知道行不行,如果可以该怎么做,如果不行,请说明原因。
帮我看看这个网站什么做的
www.aifnegjie.com 是个<em>什么</em>系统
哪个大牛帮我看下这个运行错误该咋解决呢
不知道为啥突然变这样。。。是不是电脑问题啊。。谢谢<em>帮我</em>解答下咯。。rnrnC:\ThreadedHttp1.0\src>java ThreadMainrnException in thread "main" java.lang.NoClassDefFoundError: ThreadMain (wrong namrne: threadMain)rn at java.lang.ClassLoader.defineClass1(Native Method)rn at java.lang.ClassLoader.defineClass(ClassLoader.java:620)rn at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12rn4)rn at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)rn at java.net.URLClassLoader.access$100(URLClassLoader.java:56)rn at java.net.URLClassLoader$1.run(URLClassLoader.java:195)rn at java.security.AccessController.doPrivileged(Native Method)rn at java.net.URLClassLoader.findClass(URLClassLoader.java:188)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:306)rn at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:251)rn at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)rnrnC:\ThreadedHttp1.0\src>
帮我看下这个IP是深圳哪个学校的:61.144.184.177
<em>帮我</em>看一下,<em>这个</em>IP地址是深圳<em>哪个</em>小学的rnrn61.144.184.177rnrnrn谢谢!!
有没有大神帮我看下这个数据库怎么打开啊~~~
[img=https://img-bbs.csdn.net/upload/201701/02/1483365170_111977.png][/img][img=https://img-bbs.csdn.net/upload/201701/02/1483365178_47249.png][/img]rnrnasp白痴,怎么打开啊(趴)
求网上大神帮我看下这个shiro中的BUG!help!!
也是第一次向网上的<em>大神</em>求助,<em>这个</em>bug实在无能为力啊!! <em>这个</em>核心BUG也就是主要问题是: 我点击注册账号,注册完之后,可以正常登入。 但如果通过忘记密码按钮,修改了自己的密码,再重新登入,他就一直报密码错误。问题是我修改完的密码,是和数据库一致,而shiro通过认证里的doGetAuthenticationInfo方法,返回的info里的密码也是跟我数据库里的密码一致,但就是报密码错误提示。很多...
麻烦大神帮我看下这个js的判断如何写好
rnrn rn rn rn rn rn rn rn rn rn rnrnrnrn我想让它自动移动到顶部就停止,怎么写都不对,麻烦<em>大神</em>帮忙修改下
帮我看下这个javaEE5 下的 web.xml
[code=BatchFile]rnrn rn index.jsprn rnrn rn rn *.jsprn falsern rn rnrn[/code]rnrn这样配置为<em>什么</em>在jsp中还不能使用el表达式?请注意 xsi:schemaLocation="http://java.sun.com/xml/ns/javaee rn http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd
亲,帮我看下这个程序
#include rnint main(void)rnrn const float MIN = 0.0f;rn const float MAX = 100.0f;rn float score;rn float total=0.0f;rn int n=0;rn float min=MAX;rn float max=MIN;rn printf("enter the first score(q to quit ):");rn while (scanf("%f",&score)==1)rn if(scoreMAX)rn printf("%0.1f is an invaild .try again:",score);rn continue;rn printf("accepting %0.1f:\n",score);rn min=(scoremax) ? score : max;rn total+=score;rn n++;rn printf("enter next score(q to quit ):");rn if(n>0)rn printf("average of %d score is %0.1f.\n",n,total/n);rn printf("low =%0.1f,high=%0.1f\n",min,max);rn else rn printf("no vaild scores were entered.\n");rn getchar();rn getchar();rn getchar();rn rn请<em>帮我</em><em>看下</em><em>这个</em>程序continue的作用是<em>什么</em>啊,书上说continue可以根据循环体内进行的判断结果来忽略部分循环甚至终止他rn具体是怎么根据,怎么判断,怎么终止,平时你们是怎么理解continue的,因为我总是觉得continue是个鸡肋一样rn
帮我看下这个错误提示
Unable to get the window handle for the 'AxWebBrowser' control. Windowless ActiveX controls are not supported.rnrn大家能根据<em>这个</em>提示,推测一些可能原因和解决的办法吗?(我本机为vista)
麻烦帮我看下这个编译错误
我练习建立一个窗口,用dev-C++做的rn#include rnrnLRESULT CALLBACK WndProc(HWND,UINT,WPARAM,LPARAM);rnrnint WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevinst, LPSTR lpszCmdline, int nCmdShow) rnrn HWND hwnd; // 窗口句柄rn MSG Msg; // 消息结构体变量 rn WNDCLASS wndclass; // 窗口类实例rn char lpszClassName[] = "window"; // 窗口类名rn char lpszTitle[] = "My-Windows"; // 窗口标题名rn rn wndclass.style = 0; // 窗口类型为默认类型rn wndclass.lpfnWndProc = WndProc; // 窗口处理函数为WndProcrn wndclass.cbClsExtra = 0; // 窗口类无扩展rn wndclass.cbWndExtra = 0; // 窗口实例无扩展rn wndclass.hInstance = hInstance; // 当前实例句柄rn wndclass.hIcon = LoadIcon(NULL, IDI_APPLICATION);rn // 窗口最小化的图标为默认图标rn wndclass.hCursor = LoadCursor(NULL, IDC_ARROW);rn // 窗口采用箭头光标rn wndclass.hbrBackground = (HBRUSH)GetStockObject(BLACK_BRUSH);rn // 窗口背景为白色rn wndclass.lpszMenuName = NULL; // 窗口中无菜单rn wndclass.lpszClassName = lpszClassName;rn // 窗口类名rn rn if(!RegisterClass(&wndclass)) //窗口类注册函数,注册成功返回真 rn rn MessageBeep(0); //该函数返回一个布尔值 rn return FALSE;rn rn rn hwnd = CreateWindow(lpszClassName, //LPCTSTR lpszClassName窗口类名rn lpszTitle, //LPCTSTR lpszTitle窗口实例的标题名rn WS_OVERLAPPEDWINDOW, //DWORD dwStyle 窗口风格(标识) rn CW_USEDEFAULT, //int x 窗口左上角横坐标(默认值) rn CW_USEDEFAULT, //int y 窗口左上角纵坐标(默认值) rn CW_USEDEFAULT, //int nWidth窗口宽度(默认值) rn CW_USEDEFAULT, //int nHeight窗口高度(默认值)rn NULL, //HWND hwndParent父窗口句柄(无)rn NULL, //HMENU hMenu窗口主菜单句柄(无主菜单) rn hInstance, //HINSTANCE hInstancern //创建窗口的应用程序当前句柄(无)rn NULL //LPVOID lpParamrn //指向一个传递给窗口的参数值的指针(无) rn );rn ShowWindow(hwnd, nCmdShow); rn UpdateWindow(hwnd); rn while(GetMessage(&Msg, NULL, 0, 0)) rn rn TranslateMessage(&Msg); rn DispatchMessage(&Msg); rn rn return Msg.wParam; rn rn rn rn编译显示的错误就两个连接错误:rn [Linker error] undefined reference to `_Z7WndProcP6HWND__jjl@16' rn [Linker error] undefined reference to `GetStockObject@4' rnrn不知道是<em>什么</em>意思啊,请各位高手看看拉
帮我看下这个存储过程啊
create or replace procedure update_tablern(columnName in varchar2,rn vendorId in varchar2,rn vendorId2 in varchar2rn )rn isrn query_str varchar2(4000);rn vendor_Id varchar2(64);rn vendor_Id2 varchar2(64);rn cursor cl is select table_name from user_tab_columns m where m.COLUMN_NAME=columnName;rn tableName c1%rowtype; rn beginrn vendor_Id:=vendorId;rn vendor_Id2:=vendorId2;rn open cl;rn fetch c1 into tableName;rn if tableName%notfound rn query_str :='update table '||tableName||' set vendor_id ='||vendor_Id||' where vendor_id = '||vendor_Id2;rn execute immediate query_str;rn dbms_output.put_line('update success!');rn end if;rn close c1;rn end;rnrnquery_str := 这一行报错! ????
[求助]帮我看下这个程序!!!!~~~~~~~~~~
RT 我写了个考试系统。。。我用了动态数组,但是当读取多个题目的时候。。会出现乱码。。。。可能是我的动态数组用错了,希望哪位达人<em>帮我</em><em>看下</em>。。应该怎么改!!!谢谢!!!!rnrnrnrn#include rn#include rn#define LEN sizeof(struct question) rn#define NULL 0rnvoid creat();rnvoid read();rnvoid print();rnvoid save();rnvoid menu1();rnvoid choose();rnvoid print1();rnstruct questionrnrn char sub[100];rn char op1[20];rn char op2[20];rn char op3[20];rn char op4[20];rn char ans[20];rn char sec[20];rn float diff;rn struct question *next;rn;rnstruct question *head;rnstruct question *a;rnint n;rnint i=0;rnvoid menu() rn rn int j; rn while(1) rn rn system("cls"); rn printf("\t\t※------------------试卷制作系统----------------------※\n\n"); rn printf("\t\t\t1: 添加题目库\n"); rn printf("\t\t\t2: 保存题目库\n "); rn printf("\t\t\t3: 读取题目库\n"); rn printf("\t\t\t4: 显示所有题目\n");rn printf("\t\t\t5: 试卷选题\n"); rn printf("\t\t\t6: 退出程序\n");rn printf("\n\t\t※------------------ZOUYI制作----------------------------※\n\n"); rn scanf("%d",&j); rn switch(j) rn rn case 1:creat();break;rn case 2:save();break;rn case 3:read();break;rn case 4:print();break;rn case 5:menu1();break;rn case 6:exit(0);break;rn rn rn rnvoid creat() rn rn struct question *p1,*p2;rn system("cls"); rn n=0; rn p1=(struct question*)malloc(LEN);rn printf("请输入第%d个题目的章节==>\n",++n); rn scanf("%s",p1->sec);rn fflush(stdin);rn if(strcmp(p1->sec,"0")==0) rn rn n=n-1;rn menu();rn rn printf("请输入第%d个题目的难度==>\n",n); rn scanf("%f",&p1->diff);rn fflush(stdin);rn printf("请输入第%d个题目的题干==>\n",n); rn scanf("%s",p1->sub);rn fflush(stdin);rn printf("请输入第%d个题目的选项1==>\n",n); rn scanf("%s",p1->op1);rn fflush(stdin);rn printf("请输入第%d个题目的选项2==>\n",n); rn scanf("%s",p1->op2);rn fflush(stdin);rn printf("请输入第%d个题目的选项3==>\n",n); rn scanf("%s",p1->op3);rn fflush(stdin);rn printf("请输入第%d个题目的选项4==>\n",n); rn scanf("%s",p1->op4);rn fflush(stdin);rn printf("请输入第%d个题目的答案==>\n",n); rn scanf("%s",p1->ans);rn fflush(stdin);rn printf("\n"); rn while(1) rn rn if(n==1) head=p1; rn else p2->next=p1; rn p2=p1; rn p1=(struct question*)malloc(LEN);rn printf("请输入第%d个题目的章节==>\n",++n); rn scanf("%s",p1->sec);rn fflush(stdin);rn if(strcmp(p1->sec,"0")==0) rn rn n=n-1;rn break;rn rn printf("请输入第%d个题目的难度==>\n",n); rn scanf("%f",&p1->diff);rn fflush(stdin);rn printf("请输入第%d个题目的题干==>\n",n); rn scanf("%s",p1->sub);rn fflush(stdin);rn printf("请输入第%d个题目的选项1==>\n",n); rn scanf("%s",p1->op1);rn fflush(stdin);rn printf("请输入第%d个题目的选项2==>\n",n); rn scanf("%s",p1->op2);rn fflush(stdin);rn printf("请输入第%d个题目的选项3==>\n",n); rn scanf("%s",p1->op3);rn fflush(stdin);rn printf("请输入第%d个题目的选项4==>\n",n); rn scanf("%s",p1->op4);rn fflush(stdin);rn printf("请输入第%d个题目的答案==>\n",n); rn scanf("%s",p1->ans);rn fflush(stdin);rn printf("\n"); rnrn rn p2->next=NULL;rn menu();rn rnvoid print() rn rn struct question *p;rn char j;rn system("cls");rn if(head==NULL)rn rn while(1)rn rn system("cls");rn printf("没有题目!!!!\n");rn printf("是否要创建? y/n\n");rn scanf("%c",&j);rn switch(j)rn rn case 'n':menu();break;rn case 'y':creat();break;rn case 'Y':creat();break;rn case 'N':menu();break;rn rn rnrn rn system("cls"); rn printf("\t\t 总共有==> %d ");rn scanf("%s",sec);rn printf("请输入要考试的难度==>");rn scanf("%f",&diff);rn printf("请输入题目的数量(0~~~%d)==>",n);rn scanf("%d",&j);rn p=head;rn while(p!=NULL)rn rn if(strcmp(sec,p->sec)==0)rn rn if(diff==p->diff)rn rn a=(struct question*)malloc(LEN);rn strcpy(a[i].sub,p->sub);rn strcpy(a[i].op1,p->op1);rn strcpy(a[i].op2,p->op2);rn strcpy(a[i].op3,p->op3);rn strcpy(a[i].op4,p->op4);rn strcpy(a[i].ans,p->ans);rn strcpy(a[i].sec,p->sec);rn a[i].diff= p->diff;rn i++;rn rn rn p=p->next;rn rn printf("\n\n");rn printf("1.继续选题 2.返回 [ ]\b\b");rn scanf("%d",&c);rn switch(c)rn rn case 1:;break;rn case 2:menu1();break;rn rnrn rn rnvoid print1() rn rn int k=0;rn system("cls");rn rn printf("%s [] \n%s %s %s %s \n\n\n",a[k].sub,a[k].op1,a[k].op2,a[k].op3,a[k].op4);rn printf("%d",i);rn getch();rn menu1();rnrnmain() rn rn menu(); rn
帮我看下这个问题!
import java.io.*;rnrnpublic class TestDatarn public static void main(String[] agrs)rn tryrn ByteArrayOutputStream out = new rn ByteArrayOutputStream();rn DataOutputStream output = rn new DataOutputStream(out);rn output.writeInt(98);rn output.writeUTF("YANGYONGJIE");rn ByteArrayInputStream in = new rn ByteArrayInputStream(out.toByteArray());rn DataInputStream input = rn new DataInputStream(in);rn System.out.println("读出了" + in.available() + "字节");rn int a = input.readInt();rn String tem = input.readUTF();rn rn System.out.print(a + " " + tem);rn rn catch(IOException e)rn rn rnrn代码是对的 你们运行下看看 ! 我的问题是 它为<em>什么</em>显示的是17 个字节 ! "yangyongjie" + int 怎么算也是15个啊 就算char 占2个字节 那也是26啊; 怎么会是17呢 ! 原来以为字符串后面跟有\n 但是把"yangyongjie" 打印出来又没有 ! 谁能我分析下 ?
大家帮我看下这个问题
我想用下面的程序完成一个功能就是传入的参数每2个都不相同。但是不知道为<em>什么</em>,运行了以后的结果是rnproduct is [02]rn111the sumber of product is 0rnthe allproduct 第0位 is [02]rnthe allproduct 第1位 is []rn222the sumber of product is 1rnthe allproduct 第1位 is [03]rnthe allproduct 第2位 is []rn3333the sumber of product is 2rnthe allproduct 第3位 is []rn44444the sumber of product is 3rn666the sumber of product is 3rn777the sumber of product is 7369327rnthe sumber of product is 7369327rnthe allproduct 第0位 is [02]rnSegmentation fault (core dumped)rnrnrn好像sum++后就不对了。rnrnint IsSpace(char *buf)rnrn char *p = buf;rn while(*p)rn rn if(*p != ' ')rn rn return -1;rn rn p++;rn rn return 0;rnrnrnint VerifyIsProEqual(char *product, char *xproduct1 ,char *xproduct2,char *xproduct3)rnrn typedef structrn char string[2+1];rn allproduct;rn allproduct pro[4];rn int sum;rn int i,j;rn sum=0;rnprintf("product is [%s]\n",product); rnprintf("111the sumber of product is %d\n",sum); rn memset(&pro,0,sizeof(pro));rn if(IsSpace(product)==-1)rn rn memcpy(pro[sum].string,product,sizeof(product));rn printf("the allproduct 第%d位 is [%s]\n",sum,pro[sum].string);rn sum++;rn rnprintf("the allproduct 第%d位 is [%s]\n",sum,pro[sum].string);rnprintf("222the sumber of product is %d\n",sum);rn if(IsSpace(xproduct1)==-1)rn rn memcpy(pro[sum].string,xproduct1,sizeof(xproduct1));rn printf("the allproduct 第%d位 is [%s]\n",sum,pro[sum].string);rn sum++;rn rnprintf("the allproduct 第%d位 is [%s]\n",sum,pro[sum].string);rnprintf("3333the sumber of product is %d\n",sum);rn if(IsSpace(xproduct2)==-1)rn rn memcpy(pro[sum].string,xproduct2,sizeof(xproduct2));rn sum++;rn rnprintf("the allproduct 第%d位 is [%s]\n",sum,pro[sum].string);rnprintf("44444the sumber of product is %d\n",sum);rn if(IsSpace(xproduct3)==-1)rn rnprintf("666the sumber of product is %d\n",sum);rn memcpy(pro[sum].string,xproduct3,sizeof(xproduct3));rnprintf("777the sumber of product is %d\n",sum);rn rnprintf("the sumber of product is %d\n",sum);rn for(i=0;i
各位帮我看下这个程序
import javax.swing.*;rnimport java.awt.*;rnimport java.awt.event.*;rnimport java.net.*;rnimport java.io.*;rnimport java.util.Vector;rnrnpublic class Card extends JAppletrnrn public void init()rn rn JPanel panel=new Change();rn getContentPane().add(panel);rn rnrnrnclass Change extends JPanelrnrn Land land;rn Register ris;rn ToyShow toy;rn Buy buy;rn JButton button,button2;rn String buttonFlag;rn static boolean startFlag;rn rn public Change()rn rn if(!startFlag)rn System.out.println("start...");rn land=new Land();rn startFlag=true;rn System.out.println(startFlag);rn add(land);rn rn rn rn rn public void setBool(String Flag)rn rn buttonFlag=Flag;rn if(buttonFlag=="OK")rn //System.out.println("logout");rn remove(land);rn rn ris=new Register();rn //System.out.println("loding");rn add(ris);rn //System.out.println("loged"); rn rn if(buttonFlag=="aaa")rn rn rn rnrnrnrnclass Land extends JAppletrnrn public Land()rn rn JPanel log=new Login();rn getContentPane().add(log);rn rn rn rnrnrnrnclass Register extends JAppletrnrn public Register()rn rn JPanel reg=new Reg();rn getContentPane().add(reg);rn rn System.out.println("Reg");rn rn rnrnrnclass ToyShow extends JAppletrnrn public ToyShow()rn rn JPanel toy=new ToysShow();rn getContentPane().add(toy);rn rn System.out.println("toysShow"); rn rnrnrnclass Buy extends JAppletrnrn public Buy()rn rn JPanel panel=new Orders();rn getContentPane().add(panel);rn rn rnrnrnrn下面为加载的第一个页面:当点击"登陆"按钮是,调用Change对象的setBool()方法,该方法移除该页面,加载另一个页面;rnrnimport javax.swing.*;rnimport java.awt.*;rnimport java.awt.event.*;rnimport java.net.*;rnimport java.io.*;rnrnclass Shopper implements Serializablernrn String shopperID;rn String password; rnrnrnpublic class Login extends JPanelrn rn rn public Login()rn rn LoginPanel panel=new LoginPanel();rn add(panel,BorderLayout.NORTH); rn rn rn rnrnclass LoginPanel extends JPanel implements ActionListenerrnrn Socket clientSocket;rn ObjectInputStream objIn;rn ObjectOutputStream objOut;rn PrintStream out;rn BufferedReader in; rnrn String a;rn String b;rn rn JLabel jlUseName;rn JLabel jlPassword;rn JTextField jtfUseName;rn JPasswordField jpwPassword;rn JButton jbSubmit;rnrn public LoginPanel()rn rn tryrn clientSocket= new Socket("127.0.0.1",1001);rn objOut=new ObjectOutputStream(clientSocket.getOutputStream());rn objIn= new ObjectInputStream(clientSocket.getInputStream());rn out=new PrintStream(clientSocket.getOutputStream());rn in=new BufferedReader(new InputStreamReader(clientSocket.getInputStream()));rn rn catch(Exception e)rn rn System.out.println("Could not cennect server"+e);rn rn rnrn rn setLayout(new GridLayout(3,1));rn JPanel panel=new JPanel();rn add(panel);rnrn JPanel panel2=new JPanel();rn add(panel2);rnrn JPanel panel3=new JPanel();rn add(panel3);rn panel3.setLayout(new BorderLayout());rnrn jlUseName=new JLabel("用户ID号:");rn jlPassword=new JLabel("密 码:");rn jtfUseName=new JTextField(20);rn jpwPassword=new JPasswordField(20);rn jbSubmit=new JButton("登陆");rn rn panel.add(jlUseName);rn panel.add(jtfUseName);rnrn panel2.add(jlPassword);rn panel2.add(jpwPassword);rn rn JPanel jpSubmit=new JPanel();rn panel3.add(jpSubmit,BorderLayout.CENTER);rn jpSubmit.add(jbSubmit);rnrn jbSubmit.addActionListener(this);rnrn rnrn public void actionPerformed(ActionEvent e)rn rn if((JButton)e.getSource()==jbSubmit)rn rn Shopper shopperData=new Shopper();rn a=jtfUseName.getText();rn b=jpwPassword.getText();rnrn tryrn rn rn out.println("登陆");rn out.println(a);rn out.println(b);rnrn String flag=in.readLine();rn rn if(flag.equals("true"))rn rn //JOptionPane.showMessageDialog(null,"通过验证");rn Change cha=new Change();rn cha.setBool("OK");rn rn rn elsern JOptionPane.showMessageDialog(null,"验证错误,请重新输入");rn rn rn catch(IOException e1)rn rn System.out.println("notFount server...");rn rn rn rn rnrnrn运行后点击"登陆"按钮,出现以下错误:rnrnD:\Temp>appletviewer card.htmrnstart...rntruernjava.lang.NullPointerExceptionrn at java.awt.Container.remove(Container.java:577)rn at Change.setBool(Card.java:60)rn at LoginPanel.actionPerformed(Login.java:117)rn at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:17rn67)rn at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstrarnctButton.java:1820)rn at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModelrn.java:419)rn at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257rn)rn at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonLrnistener.java:258)rn at java.awt.Component.processMouseEvent(Component.java:5021)rn at java.awt.Component.processEvent(Component.java:4818)rn at java.awt.Container.processEvent(Container.java:1380)rn at java.awt.Component.dispatchEventImpl(Component.java:3526)rn at java.awt.Container.dispatchEventImpl(Container.java:1437)rn at java.awt.Component.dispatchEvent(Component.java:3367)rn at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214rn)rn at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2929)rnrn at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)rn at java.awt.Container.dispatchEventImpl(Container.java:1423)rn at java.awt.Component.dispatchEvent(Component.java:3367)rn at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)rn at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThrnread.java:190)rn at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThrernad.java:144)rn at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)rnrn at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)rnrn at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)rnrn请各位帮<em>帮我</em>.(注:每个页面都独立运行通过);rn
大家帮我看下这个验证的
只能填数字rn如是直接复制过来字母,特殊字符<em>什么</em>也能也复制过来。怎么样防下复制呢。只输入
大家帮我看下这个代码
用红色画个矩形rn代码如下:rnNAME XITI7_1rnC_SEG SEGMENT PARArn ASSUME CS:C_SEGrnSTART: MOV AH,00Hrn MOV AL,10Hrn INT 10Hrn MOV AH,0CHrn MOV DX,50rn MOV CX,100rn MOV AL,04HrnAGAIN1: INT 10Hrn INC DXrn CMP DX,200rn JBE AGAIN1rn DEC DXrnAGAIN2: INT 10Hrn INC CXrn CMP CX,400rn JBE AGAIN2rn DEC CXrnAGAIN3: INT 10Hrn DEC CXrn CMP CX,100rn JAE AGAIN3rn INC CXrnAGAIN4: INT 10Hrn DEC DXrn CMP DX,50rn JAE AGAIN4rn MOV AH,4CHrn INT 21HrnC_SEG ENDSrn END STARTrn运行结果却是花屏,为<em>什么</em>呢。。
帮我看下这个JS语句
各位大哥你们好!rn小弟我想在一个按扭里的WEB方式下rn写如下语句:rnif(document.biaodan4.yincang1==A)rn rnrn window.open("http://myserver/test1.nsf/biaodan1?OpenForm");rnrn 其中 biaodan4是表单名称,yincang1是个域rn可是为<em>什么</em>浏览一下取不执行打开那个窗口命令呢?rn希望有经验丰富的大哥们<em>帮我</em>看一下,小弟万分感谢!
DeadLine快到 了,请大神耐心帮我看下这个蹊跷的问题!
为方便理解,我用PPT描述了问题:rn[img=https://img-bbs.csdn.net/upload/201406/04/1401895512_958518.jpg][/img]rn在CWinApp有2个模态对话框成员A和B,rn在CWinApp::InitInstance()中创建模态对话框C,并调用C.DoModal(),rn在C的OnBnClickedOk()中调用theApp.A.DoModal();rn此时在另一个线程P中收到关闭A的消息,执行rn::PostMessage(theApp.A.GetSafeHwnd(), WM_CLOSE, 0, 0);rn然后,A就结束了,主线程在C中继续执行,调用theApp.B.DoModal();rn这时又在另一个线程P中收到关闭B的消息,我希望执行:rn::PostMessage(theApp.B.GetSafeHwnd(), WM_CLOSE, 0, 0);rn关闭B,然后在C中调用CDialog::OnOK();关闭C,就回到了CWinApp::InitInstance()中,然后继续下去就会顺利执行CWinView类,可是……,事实是这样的:rn在执行::PostMessage(theApp.B.GetSafeHwnd(), WM_CLOSE, 0, 0);后,B确实关闭了,但是,程序没有继续执行下去,CWinView没有显示,我查看任务管理器,没有看到我的程序……rn介个是为<em>什么</em>呢…… <em>大神</em>快帮帮吧,同学没人学MFC,只能到这里求助了……[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/onion/3.gif][/img]
哪位大神有时间,帮我看下这个windows下的录音程序。
检查了半天也没找出bug在哪,始终是录音没录下来,求高手解答。rn[code=C/C++]rn//WaveIn.hrn#pragma oncern#include rn#include rn#include rnrn#define SAMPLE_DEFAULT 16000rn#define CHANNEL_DEFAULT 1rn#define BIT_DEFAULT 16rn#define NUM_BUF 10rn#define AUDIO_BUFFER 960rnrn#pragma comment(lib, "Winmm.lib")rnrnclass WaveInrnrnpublic:rn WaveIn(void);rnpublic:rn virtual ~WaveIn(void);rn static DWORD WINAPI WaveInProc(LPVOID lpParam);rn void SetRecPara(WORD channel, DWORD sample, WORD bit);rn void GetData(char *pBuffer, int len);rn BOOL OpenFile(char *fileName);rn BOOL StartRecord();rn BOOL StopRecord();rnprotected:rn BOOL OpenDev();rn BOOL CloseDev();rn BOOL StartThread();rn BOOL StopThread();rn BOOL PrepareBuffer();rn BOOL FreeBuffer();rnrn BOOL OpenRecord();rn BOOL CloseRecord();rnrnprotected:rn WORD m_Channel;/*声道*/rn DWORD m_Sample;/*采样频率*/rn WORD m_Bit;/*量化位数*/rnrn BOOL m_IsDevOpen;rn BOOL m_IsThreadStart;rn BOOL m_IsRecordStart;rn BOOL m_IsBufferAlloc;rn BOOL m_IsRecordOpen;rnprotected:rn HWAVEIN m_hwn;rn WAVEHDR *m_pHdr;rn DWORD m_AudioInId;rn //HWND m_hAudioIn;rn HANDLE m_hAudioIn;rnprivate:rn FILE *m_WaveFile;rnrnrn;rnrn[/code]rn[code=C/C++]rn//WaveIn.cpprn//#include "StdAfx.h"rn#include "WaveIn.h"rnrnrnrnWaveIn::WaveIn():m_Channel(CHANNEL_DEFAULT),m_Sample(SAMPLE_DEFAULT),m_Bit(BIT_DEFAULT)rnrn m_IsDevOpen = FALSE;rn m_IsThreadStart = FALSE;rn m_IsRecordStart = FALSE;rn m_IsBufferAlloc = FALSE;rn m_IsRecordOpen = FALSE;rnrnrnWaveIn::~WaveIn(void)rnrnrnrnrnvoid WaveIn::SetRecPara(WORD channel, DWORD sample, WORD bit)rnrn m_Channel = channel;rn m_Sample = sample;rn m_Bit = bit;rnrnBOOL WaveIn::OpenDev()rnrn if(m_IsDevOpen)rn rn return FALSE;rn rnrn /*设置录音输出格式*/rn WAVEFORMATEX wfx;rn wfx.wFormatTag = WAVE_FORMAT_PCM;rn wfx.nChannels = m_Channel;rn wfx.nSamplesPerSec = m_Sample;rn wfx.nAvgBytesPerSec = m_Sample * m_Channel * m_Bit / 8;rn wfx.nBlockAlign = m_Channel * m_Bit / 8;rn wfx.wBitsPerSample = m_Bit;rn wfx.cbSize = 0;rn int ret = waveInOpen(0, WAVE_MAPPER, &wfx, 0, 0, WAVE_FORMAT_QUERY);rn if( ret)rn rn printf("waveInOpen error %d\n", ret);rn return FALSE;rn rnrn if( waveInOpen(&m_hwn, WAVE_MAPPER, &wfx, m_AudioInId, 0, CALLBACK_THREAD))rn rn return FALSE;rn rnrn m_IsDevOpen = TRUE;rn return TRUE;rnrnrnBOOL WaveIn::CloseDev()rnrn if(!m_IsDevOpen)rn rn return FALSE;rn rn if(!m_hwn)rn rn return FALSE;rn rn if(waveInClose(m_hwn))rn rn m_hwn = 0;rn m_IsDevOpen = FALSE;rn return FALSE;rn rnrn m_hwn = 0;rn m_IsDevOpen = FALSE;rn return TRUE;rnrnrnBOOL WaveIn::PrepareBuffer()rnrn if(m_IsBufferAlloc)rn rn return FALSE;rn rn if( waveInReset(m_hwn))rn rn return FALSE;rn rnrn m_pHdr = new WAVEHDR[ NUM_BUF ];rnrn for(UINT i=0; idwBytesRecorded != AUDIO_BUFFER)rn rn break;rn rn /*复制录音数据*/rn memcpy(buffer, pwh->lpData, pwh->dwBytesRecorded);rn pWaveIn->GetData( buffer, pwh->dwBytesRecorded);rn break;rnrn rn rnrn return msg.wParam;rnrnrnvoid WaveIn::GetData(char *pBuffer, int len)rnrn if(m_WaveFile)rn rn fwrite(pBuffer, 1, len, m_WaveFile);rn rnrnrnBOOL WaveIn::OpenFile(char *fileName)rnrn if((m_WaveFile = fopen(fileName, "wb")) == NULL)rn rn return FALSE;rn rn return TRUE;rnrnrnrn[/code]rnrn[code=C/C++]rn//main.cpprn#include "WaveIn.h"rnrnint main()rnrn WaveIn myWaveIn;rn if(NULL == myWaveIn.OpenFile("record.pcm"))rn rn printf("open File Error\n");rn return EXIT_FAILURE;rn rn if(myWaveIn.StartRecord())rn printf("recording ...");rn Sleep(5*1000);rn myWaveIn.StopRecord();rnrnrnrn return 0;rnrn[/code]
哪位大神帮我看下这个简单的小程序
头文件包括:rn#include rn#include rn#include rnusing namespace std;rn代码:rnCString str;rnstr.Format(" % .5E",1);rnofs<
大神 帮我看下这个存储过程哪里错了
DROP PROCEDURE IF EXISTS `Query_Role_PhoneRecord`;nDELIMITER ;;nCREATE DEFINER=`root`@`%` PROCEDURE `Query_Role_PhoneRecord`(n n in userId binary(16),n in pagNo int,n in pagSize intn)nBEGINndeclare bSize int;nnset bSize=(pagNo-1)*pagSize;nif(bSize at line 26
帮我看下这个PHP的问题
我是在那个PHP100上面刚刚学的 rn我按他的那个例子来写验证用户名有没有被注册的页面rn rn 用户名rn rnrn这样没有问题rn如果我把那个 嵌套到第一个DIV上面就不行rn rn 用户名rn rn rnrn提示JS脚本有问题rnfunction byphp() rnrn if(xmlHttp.readyState == 1) rn document.getElementById('php100').innerHTML = "正在查询";rn rnrn if(xmlHttp.readyState == 4 )rn if(xmlHttp.status == 200) rn var byphp100 = xmlHttp.responseText;rn document.getElementById('php100').innerHTML = byphp100;rn rn rn怎样才能嵌套进去呢 我想直接在输入用户的那个文本框后面就提示信息,rn
帮我看下这个代码什么意思!
int idx = ipSection.indexOf('-'); rn String[] sips = ipSection.substring(0, idx).split("\\."); rn String[] sipe = ipSection.substring(idx + 1).split("\\."); rn String[] sipt = ip.split("\\."); rn long ips = 0L, ipe = 0L, ipt = 0L; rn for (int i = 0; i < 4; ++i) rn ips = ips << 8 | Integer.parseInt(sips[i]); rn ipe = ipe << 8 | Integer.parseInt(sipe[i]); rn ipt = ipt << 8 | Integer.parseInt(sipt[i]); rn rn if (ips > ipe) rn long t = ips; rn ips = ipe; rn ipe = t; rn rn return ips < 4; ++i) rn ips = ips << 8 | Integer.parseInt(sips[i]); rn ipe = ipe << 8 | Integer.parseInt(sipe[i]); rn ipt = ipt << 8 | Integer.parseInt(sipt[i]); rn rnrn我不明白<em>这个</em>for循环里面 << 和 | 的意思rnrn
帮我看下这个菜单javascript
[code=JScript][/code]
急。帮我看下这个问题
给串口发送数据rnrn比如 rn s := #$08+#$f7+#$01+#$03+#$03+#$07;rnrn如果我要发送变量,即上面的命令中某个16进制字符是通过变量转变的出来的rnrnvarrn i:integer;rn rn i应该怎么写,才能有#$08这样的效果。rnrn 急
麻烦帮我看下这个问题
rn[img=http://img.my.csdn.net/uploads/201303/29/1364522202_1960.png][/img]rnrn点击支持的时候,第二次下面那个提示层的位置才正确显示出来rnrn代码需要改哪里? 要兼容浏览器哦。。。rn[img=http://img.my.csdn.net/uploads/201303/29/1364522368_5600.png][/img]
帮我看下这个问题好吗?
string houtian=ttt.Year.ToString()+"-"+ttt.Month.ToString()+"-"+ttt.Day.ToString(); //后天rnrnif(dr["status"].ToString()=="0" && DateTime.Parse(dr["indate"].ToString()).ToShortDateString()>='houtian')rnrn編譯器錯誤訊息: CS1012: 字元常值中有太多字元 rnrnindate(datetime 8)
麻烦帮我看下这个语句~
原结构: 字段1 字段2rn A 0.1rn B 0.2rn C 0.3rn A 0.4rn B 0.5rn C 0.6rn目标结构:rn A B Crn 0.1 0.2 0.3rn 0.4 0.5 0.6 rnrn如何实现呢
帮我看下这个错?
2008-05-10 11:14:26,812 [org.springframework.web.struts.ContextLoaderPlugIn]-[ERROR] Context initialization failedrnorg.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [WEB-INF/beans.xml]; nested exception is java.io.FileNotFoundException: class path resource [WEB-INF/beans.xml] cannot be opened because it does not existrnCaused by: rnjava.io.FileNotFoundException: class path resource [WEB-INF/beans.xml] cannot be opened because it does not existrn at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:135)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:297)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:280)rn at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131)rn at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:147)rn at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)rn at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)rn at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101)rn at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:389)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:324)rn at org.springframework.web.struts.ContextLoaderPlugIn.createWebApplicationContext(ContextLoaderPlugIn.java:354)rn at org.springframework.web.struts.ContextLoaderPlugIn.initWebApplicationContext(ContextLoaderPlugIn.java:295)rn at org.springframework.web.struts.ContextLoaderPlugIn.init(ContextLoaderPlugIn.java:225)rn at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)rn at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)rn at javax.servlet.GenericServlet.init(GenericServlet.java:212)rn at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)rn at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)rn at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4042)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4348)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:566)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2008-5-10 11:14:26 org.apache.catalina.core.ApplicationContext logrn严重: action: nullrnorg.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [WEB-INF/beans.xml]; nested exception is java.io.FileNotFoundException: class path resource [WEB-INF/beans.xml] cannot be opened because it does not existrnCaused by: java.io.FileNotFoundException: class path resource [WEB-INF/beans.xml] cannot be opened because it does not existrn at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:135)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:297)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:280)rn at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131)rn at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions
大家帮我看下这个IF语句
[code=JScript]rnif (isNaN(form1.hj2.value))rn rn alert('会员价格输入框一定是要数字,谢谢');rn form1.hj1.value="";rn return false;rn rn else rn if (form1.hj2.value;rn rn return false;rn rn else rn if (form1.hj2.value
帮我看下这个程序的子类
[code=Java]rnpackage P78.EX16;rnrnclass MyRectangle rnrn private int Length,Width;rn void setLength(int Length)rn rn this.Length=Length;rn rn void setWidth(int Width)rn rn this.Width=Width;rn rn rn int getWidth()rn rn return Width;rn rn int getLength()rn rn return Length;rn rn int getArea()rn rn return Length*Width;rn rn String tostring()rn rn rn rn //String s=String.format("%d,%d",Length,Width);rn //return s;这两种都可以实现 格式。rn String s=Width+","+Length;rn return s;rn rn rnrnrnpackage P78.EX16;rnrnclass MySquare extends MyRectanglernrn private int Length;rn rn int getArea()rn rn return Length*Length;rn rn String tostring()rn rn String s=String.format("%d", Length);rn return s;rn rnrnrnpackage P78.EX16;rnrnpublic class Mainclass rnrn public static void main(String args[])rn rn MyRectangle a=new MyRectangle();rn a.setLength(3);rn a.setWidth(2);rn System.out.println(a.tostring());rn System.out.println(a.getArea());rn MyRectangle b=new MySquare();rn b.setLength(8);rn System.out.println(b.tostring());rn System.out.println(b.getArea());rn rnrnrnrn[/code]rn为<em>什么</em> 调用不了子类啊??? 程序运行后 子类那得东西都是0.
帮我看下这个SQL语句
SELECT Count(*) AS 数量rnFROM JFJLBrnWHERE exists(SELECT DISTINCT * FROM JFJLB);rn rn我想返回jfjlb表中记录的数量(重复记录只算做一条),上面的语句好想没啥效果,有<em>什么</em>不对的地方吗? 能不能帮些一条?
大家帮我看下这个错误
org.apache.jasper.JasperException: Exception in JSP: /register.jsp:13rnrn10: registerrn11: rn12: rn13: rn14: 用户名: rn15: 密码1: rn16: 密码2: rnrnrnStacktrace:rn org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rnrn
大神帮我看下这个是个什么情况
[img=https://img-bbs.csdn.net/upload/201706/12/1497250866_453233.jpg][/img]rn我在<em>网站</em>搬迁之后出现<em>这个</em>
大家帮我看下这个存储过程
REATE PROCEDURE YX_GetTLiuYanFaTiebyPage rn@columnId bigint, rn@pageSize int,rn@pageIndex int,rn@strWhere nvarchar(1000)rnAsrnif(@columnId = 0)rnbeginrnselect contentId,Title, case IsAnswered when 0 then '待解决' else '已解决' end as IsAnswered,rnb.realName as author,rnc.realName as lasteditor,rnLastTime rninto #TmpFaTieArnfrom TLiuYanFaTie a,TUser b,TUser crnwhere a.author =b.userIdrnand a.lastEditor = c.userId rnand @strWhere [color=#FF0000]-----问题老是出现在这,删了这句就没事,这能这么写吗?[/color]rnorder by LastTime descrnrnexec YX_GetRecordByPage '#TmpFaTieA','lastTime',@pageSize,@pageIndex,0,1,'1=1'
帮我看下这个是怎么做的/
http://www.7887.com/list.html?tid=5&a=&b=&c=&d=&rnrn<em>这个</em>地址下面歌曲的 1 2 3 4 5 6 类似与<em>这个</em>是用<em>什么</em>做的,给点指点,是用Literal吗,谢谢了
谁能帮我看下这个程序段
void CDejobDlg::OnOK() rn UpdateData(TRUE);rnrn int buf2[512],tcd,tcd1,*p1,i;rn rn CFile cfile1;rn rn char*pfilename=new char[512];rn rn strcpy(pfilename, (LPCSTR)m_chrFile);rn rn cfile1.Open(pfilename,CFile::modeReadWrite);rn rn cfile1.Read(buf2,32);rn rn p1=(int*)buf2;rn rn p1=p1+1;rn rn tcd=*p1;rn rn tcd1=(tcd-1)/2;rn rn cfile1.SeekToBegin();rn rn cfile1.Read(buf2,tcd);rn rn buf2[0]=buf2[0]+0x0017;rn rn for(i=16;i=3) DeleteFile(m_chrFile);rn AfxMessageBox("文件被销毁");rn return;rn exit(1);rn else CDejobDlg::OnYes();rn // TODO: Add your control notification handler code herern rnrn这是一个加密控件和一个解密控件的代码 我在加密是程序报错~rn谁能<em>帮我</em><em>看下</em>是<em>什么</em>问题~rn我是个菜鸟请各位大侠以后多帮忙rnrn
帮我看下这个怎么解密
明文 密文rn800051333 GGaZN6vdPTpQgt30jzcvvw rn2337111 Nbuzhw8qSTtufLYqrn3718588 mkGdsdD63xPL%2BfhHrn6659912 Cm4lCSEtnA4D2FRKrnrnrn这是<em>什么</em>算法加密求逆算法。rnrn如果例子不多问可以再提供
急呀!!帮我看下这个问题
//---------------------------------------------------------------------------rn我在Unit9.h公有部分定义拉bool TMain::CreateForm(TMain *CForm)rn#include rn#pragma hdrstoprn#include "Unit9.h"rn#include "Unit1.h"rn#include "Unit10.h"rn#include "Unit11.h"rn#include "Unit13.h"rn#include "Unit14.h"rn#include "Unit2.h"rn#include "Unit3.h"rn#include "Unit4.h"rn#include "Unit5.h"rn#include "Unit6.h"rn#include "Unit7.h"rn#include "Unit8.h"rn#include "sou.h"rn//---------------------------------------------------------------------------rn#pragma package(smart_init)rn#pragma resource "*.dfm"rnTMain *Main;rnrnrnrn//---------------------------------------------------------------------------rn__fastcall TMain::TMain(TComponent* Owner)rn : TForm(Owner)rnrnrn//---------------------------------------------------------------------------rnbool TMain::CreateForm(TMain *CForm)rnrn int No;rn bool FormExist=false;rn if (CForm==NULL)rn return false;rn for (No=0;NoFormCount;No++)rn rn if (Screen->Forms[No]->ClassType()==CForm->ClassType())rn rn FormExist=true;rn break;rn rn rn if(FormExist==false)rn return false;rn if (CForm->WindowState==wsMinimized)rn ShowWindow(CForm->Handle,SW_SHOWNORMAL);rn elsern ShowWindow (CForm->Handle,SW_SHOWNA);rn if (!CForm->Visible)rn CForm->Visible=true;rn CForm->BringToFront();rn CForm->SetFocus();rn return true;rnrnrnrnrnvoid __fastcall TMain::N2Click(TObject *Sender)rnif(CreateForm(tjzl) == false)rntjzl = new Ttjzl(Application);rn tjzl->Show();rn rnrnrnrn//---------------------------------------------------------------------------rnrnvoid __fastcall TMain::N3Click(TObject *Sender)rnForm1 = new TForm1(Application);rn Form1->Show();rnrnrn//---------------------------------------------------------------------------rnrnvoid __fastcall TMain::N4Click(TObject *Sender)rn jsrw1 = new Tjsrw1(Application);rn jsrw1->Show();rnrnrn//---------------------------------------------------------------------------rnrnvoid __fastcall TMain::N9Click(TObject *Sender)rn zlck = new Tzlck(Application);rnzlck->Show();rnrnrn//---------------------------------------------------------------------------rnrnvoid __fastcall TMain::N10Click(TObject *Sender)rn jsrw = new Tjsrw(Application);rnjsrw->Show();rnrnrn//---------------------------------------------------------------------------rnrnvoid __fastcall TMain::N11Click(TObject *Sender)rn jsbd = new Tjsbd(Application);rnjsbd->Show();rnrnrn//---------------------------------------------------------------------------rnrnvoid __fastcall TMain::N12Click(TObject *Sender)rnkycg= new Tkycg(Application);rnkycg->Show();rnrnrn//---------------------------------------------------------------------------rnrnvoid __fastcall TMain::N6Click(TObject *Sender)rn kycg1 = new Tkycg1(Application);rn kycg1->Show();rnrnrn//---------------------------------------------------------------------------rnrnvoid __fastcall TMain::N7Click(TObject *Sender)rnjsbd1 = new Tjsbd1(Application);rn jsbd1->Show();rnrnrn//---------------------------------------------------------------------------rnrnrnrnvoid __fastcall TMain::N23Click(TObject *Sender)rnrnForm12->ShowModal();rnrn//---------------------------------------------------------------------------rnrn错误信息:[C++ Error] Unit9.cpp(62): E2034 Cannot convert 'Ttjzl *' to 'TMain *'rn[C++ Error] Unit9.cpp(62): E2342 Type mismatch in parameter 'CForm' (wanted 'TMain *', got 'Ttjzl *')rn为<em>什么</em>会有<em>这个</em>错误呀?rn
谁能帮我看下这个JS
在网上下的JS,这样的效果,浮动的QQ,可以隐藏,展开rnrn[img=http://img.my.csdn.net/uploads/201211/27/1354002619_7758.jpg][/img]rnrn但是现在有个问题,展开时,无论点哪里都隐藏,而且上面加的QQ或链接都点不开就又隐藏了rn谁能帮忙改下,只有点这里(在线客服)rn[img=http://img.my.csdn.net/uploads/201211/27/1354002853_7211.jpg][/img]rn时才隐藏,并且点这里rn[img=http://img.my.csdn.net/uploads/201211/27/1354002955_4217.jpg][/img]rn是好使的rnrn求高手啊rnrn代码rn[code=csharp]rnrnrn rnrn rn rnrnrn rnrn rn rn 收缩 rn 展开rn rn rn rn QQ在线客服rn rn 在线咨询rn 545rn rn rn rn rn QQ在线客服rn rn 4008-517-517rn rn rn rn rnrnrnrn[/code]rnrnimages文件夹下图片rnrn[img=http://img.my.csdn.net/uploads/201211/27/1354003184_1906.gif][/img]rn[img=http://img.my.csdn.net/uploads/201211/27/1354003208_4028.gif][/img]rn[img=http://img.my.csdn.net/uploads/201211/27/1354003229_9424.gif][/img]rn[img=http://img.my.csdn.net/uploads/201211/27/1354003249_3303.png][/img]rn[img=http://img.my.csdn.net/uploads/201211/27/1354003271_4679.jpg][/img]
这个传值帮我看下 好吗?
rn现在<em>这个</em>传值"零售"选不掉,我想让它能选掉,都能同时选中,怎么改?rnrn rnrnrn是否零售:rn [!--shoujia1--]* rn rn rn 零售 rnrn 不零售rn
大家帮我看下这个代码!
代码如下:rn01 function isint($str) rn02 $str = (string)$str; rn03rn04 $pos = 0; rn05 $len = strlen($str); rn06 for($i=0;$i) $pos++; rn08 else break; rn09 rn10 $str = substr($str,$pos); rn11rn12 $int = (int)$str; rn13 if($str==(string)$int) return true; rn14 else return false; rn15 rn rn问题:rn请问这是一个判断是否为整数的程序吗?rn第7行为<em>什么</em>要判断是否为0,第10行为<em>什么</em>又要使用substr函数?rn有<em>什么</em>用意?
帮我看下这个程序!!很简单的
rnrnrn文章标题 rn rnrnrnrnrn rn当我点击下一页时,出现rn错误类型:rnProvider (0x80020005)rn类型不匹配。rn/mk/list.asp, 第 30 行rn
帮我看下,这是什么错误!
Error instantiating servlet class org.apache.struts.action.ActionServletrnjavax.servlet.ServletException: org/apache/commons/logging/LogFactoryrnrn<em>这个</em>错误的主要原因是<em>什么</em>?
哪位大神帮我看下这是什么错误啊!!
[img=https://img-bbs.csdn.net/upload/201507/19/1437297501_646009.jpg][/img][img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/monkey/11.gif][/img]
大家帮我看下这个SQL
sqllb="select * from xkfb where kfglid=41 and xkfzb=186 and xkfsj<>"" " rn我想显示xkfsj<em>这个</em>字段不为空的所有记录rn并且<em>这个</em>字段的长度要=11第一个数字必须是1rn因为全是手机号
帮我看下这个函数GetWindowLong
可以<em>帮我</em>解释一下<em>这个</em>函数嘛rnGetWindowLong(this->GetSafeHwnd(),GWL_EXSTYLE)^0x80000rn主要是^0x80000<em>这个</em>不明白rn
谁能帮我看下这个触发器
CREATE TRIGGER t_ReGoods ON dbo.tb_ReGoods rnFOR INSERT,UPDATErnAS rnIF((SELECT INSERTED.ReGoodsSort FROM INSERTED) = 1 )rnUPDATE tb_Stock SET StockNum = (SELECT tb_Stock.StockNum+INSERTED.ReGoodsNum) rn,NeedPay=(SELECT tb_Stock.NeedPay+(INSERTED.ReGoodsNum*tb_Stock.GoodsPrice))rn,HasPay=(SELECT tb_Stock.HasPay+(INSERTED.ReGoodsNum*tb_Stock.GoodsPrice))rnFROM INSERTEDrnWHERE tb_Stock.GoodsID in (SELECT INSERTED.GoodsID FROM INSERTED)rnrnUPDATE tb_Sell SET GoodsNum=(SELECT tb_sell.GoodsNum-INSERTED.ReGoodsNum) rn,HasPay=(SELECT tb_Sell.HasPay-INSERTED.ReGoodsNum*INSERTED.ReGoodsPrice)rn,NeedPay =(SELECT tb_Sell.NeedPay-INSERTED.ReGoodsNum*INSERTED.ReGoodsPrice)rnFROM INSERTEDrnWHERE tb_Sell.GoodsID in (SELECT INSERTED.GoodsID FROM INSERTED) rn就是插入一个值,要同时更改两个表的内容,c#提示:值不唯一,插入失败,可是我数据库表里的值是唯一的,不过where条件不是主键,rn问题是:这两个UPDATE中间该怎么写?才能正确执行?
帮我看下这个程序的错误
//编写程序,将字符串s1中所有出现在字符串s2中的字符删去rn//麻烦高手<em>帮我</em>看哈<em>这个</em>程序的逻辑错误,按照我下边的提示输入字符串s1和s2,<em>帮我</em>找出逻辑错误并改正哈rn#includern#includernvoid main()rnrn char s1[10],s2[10];rn int i,j,k,lengths1,lengths2;rn printf("请输入s1,s2\n");rn gets(s1);// 请输入arn gets(s2);//请输入aaaaarn// printf("%d\t%d\n",strlen(s1),strlen(s2));rn//rnrn lengths1=strlen(s1);rn lengths2=strlen(s2);rn for(i=0;i
帮我看下这个applet程序
[code=Java][/code]import java.applet.Applet;rnimport java.awt.*;rnimport javax.media.j3d.*;rnimport javax.vecmath.*;rnimport com.sun.j3d.utils.applet.MainFrame;rnimport com.sun.j3d.utils.universe.*;rnimport com.sun.j3d.utils.behaviors.mouse.*;rnimport com.sun.j3d.utils.geometry.*;rnrnpublic class shpere extends Applet rn public void init()rn rnrn BranchGroup createSceneGraph()rn BranchGroup objRoot = new BranchGroup();rn BoundingSphere bounds = new BoundingSphere();rn //环境光rn AmbientLight lightA = new AmbientLight();rn lightA.setInfluencingBounds(bounds);rn objRoot.addChild(lightA);rn //定向光rn Color3f color1 = new Color3f(1f,1f,1f);rn Vector3f vector = new Vector3f(-.5f,0f,-2f);rn DirectionalLight lightB = new DirectionalLight(color1,vector);rn lightB.setInfluencingBounds(new BoundingSphere());rn objRoot.addChild(lightB);rn //定义坐标系rn Transform3D transform = new Transform3D();rn TransformGroup trans = new TransformGroup(transform);rn trans.setCapability(trans.ALLOW_TRANSFORM_WRITE);rn trans.setCapability(trans.ALLOW_TRANSFORM_READ);rn objRoot.addChild(trans);rn //定义球体外观rn Appearance app = new Appearance();rn //定义球体材质rn Material mat = new Material();rn mat.setDiffuseColor(new Color3f(0f,0f,1f));rn mat.setSpecularColor(new Color3f(1f,1f,1f));rn mat.setShininess(512f);rn app.setMaterial(mat);rn //生成球体rn Sphere s = new Sphere(.3f,app);rn trans.addChild(s);rn objRoot.compile();rn //定义背景rn Background bg = new Background();rn bg.setColor(new Color3f(1f,1f,1f));rn bg.setApplicationBounds(new BoundingSphere());rn objRoot.addChild(bg);rn return objRoot;rn rn public shpere() throws Exceptionrn rn setLayout(new BorderLayout());rn GraphicsConfiguration config=SimpleUniverse.getPreferredConfiguration();rn Canvas3D c=new Canvas3D(config);rn add("Center",c);rn BranchGroup scene=createSceneGraph();rn SimpleUniverse u=new SimpleUniverse(c);rn u.getViewingPlatform().setNominalViewingTransform();rn u.addBranchGraph(scene);rn rn public static void main(String[] args)rn rn rn tryrn new MainFrame(new shpere(),200,200);rn catch(Exception e)rn e.printStackTrace();rn rn rn
谁来帮我看下这个JS代码
一个三级分类的代码rn[img=http://img.my.csdn.net/uploads/201212/07/1354851785_2949.jpg][/img]rnrn[code=html]rn rnrn rnrn rn rn rn 配饰 rn rn 服饰配件rn rn rn 围巾丝巾rn 围巾、丝巾、披肩rn rn rn rn rn 潮流饰品rn rn rn 耳饰 rn 假发rn rn rn rn 服装 rn rn 时尚男装rn rn rn 男时尚衬衫rn rn rn rn rn 潮流女装rn rn rn 职业裤装rn rn rn rnrnrn[/code]rnrncss/erjiye.cssrn[code=css]rn/*左侧菜单样式*/rnrn*margin:0;padding:0;list-style-type:none; rna,imgborder:0; rnacolor:#5e5e5e;font-size:14px;text-decoration:none; rna:hovercolor:#3366cc;text-decoration:underline; rn.nav_menuwidth:180px;margin:0px auto;rn.nav_menu dlbackground:url(../images/verline.gif) no-repeat 0px 0; margin-left:12px; rn.nav_menu dl dt aheight:26px;line-height:26px;overflow:hidden;color:#5e5e5e;font-weight:800; rn.nav_menu dl dt a spandisplay:inline-block;width:13px;height:20px;overflow:hidden;float:left;margin:0 5px 0 0; rn.nav_menu dl dt a.minus spanbackground:url(../images/showbtn.gif) no-repeat left center; rn.nav_menu dl dt a.plus spanbackground:url(../images/hidebtn.gif) no-repeat left center; rn.nav_menu dl dd liheight:26px;line-height:26px;padding:0 0 0 18px rn.yjcd width:100%; margin:0 auto; background:url(../images/hidebtn1.gif) no-repeat left center; color:#333;padding-left:20px; font-weight:bold; font-size:14px;rnrn.zxr width:100%; margin:0 auto; font-size:12px; line-height:30px; border-top:1px dashed #CCC; text-align:right; margin-top:12px;rnrn.cp position:relative;width:985px; margin:0 auto; border:1px solid #eeeeee; margin-top:10px; padding:5px;rn.cp span position:absolute; width:100px; right:10px; vertical-align:middle; text-align:right;rn.zhifb background:#fffbe1; border-bottom:1px dashed #febf90; width:100%; min-height:64px; padding:20px 10px 0px; vertical-align:middle;rn.wangyin width:100%; margin:0 auto;rn.wangyin ul list-style:none;margin:0 auto;rn.wangyin ul liwidth:230px; float:left; margin-left:15px; margin-bottom:15px;rn.bordercs border-bottom:1px dashed #fdbf90; width:100%;rn[/code]rnrnimages文件夹下图片rnhidebtn.gifrn[img=http://img.my.csdn.net/uploads/201212/07/1354851936_9418.gif][/img]rnshowbtn.gifrn[img=http://img.my.csdn.net/uploads/201212/07/1354851947_9264.gif][/img]rnhidebtn1.gifrn[img=http://img.my.csdn.net/uploads/201212/07/1354851953_5762.gif][/img]rnrnclass="plus"是闭合2级分类 class="minus" 打开2级分类rnrn一级分类是死的,默认打开的,我想让一级分类也像2级一样,JS设置一个属性来控制一级分类的打开和闭合rn求高手啊,在线等[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/onion/3.gif][/img]rn
帮我看下这个if-else语句
[code=Java] public String getVersion() rn int result = ActionConstants.JSON_RESULT_FAIL;rn Map map = ActionContext.getContext().getParameters();rn iPXianZhi();rn System.out.println("hello");rn JSONObject requestJson = new RequestUtil(map).getParameters();rn JSONObject responseJson = new JSONObject();rn logger.info("getVersion getParameters : " + map.toString());rn rn try rn if (validateVersionID(map, requestJson)) rn int clientType = requestJson.getInt("clientType");rn if (clientType == CommonConstants.CLIENT_TYPE_ANDROID || clientType == CommonConstants.CLIENT_TYPE_IPHONE) rn Version version = versionService.getVersionByClientType(clientType);rn if (version != null) rn responseJson.put(ActionConstants.REQUEST_PARAMETER_VERSIONID, checkNull(version.getCode()));rn responseJson.put("remark", checkNull(version.getRemark()));rn responseJson.put("path", checkNull(version.getPath()));rn rn result = ActionConstants.JSON_RESULT_SUCCESS;rn rn rn logger.info("getVersion success ");rn catch (Exception e) rn e.printStackTrace();rn this.getLogger().error("ERROR getVersion : " + e.getMessage());rn rn responseJson.put(ActionConstants.JSON_RESULT, result);rn json = responseJson;rn return JSON;rn rnrn private void iPXianZhi() rn HttpServletRequest request = ServletActionContext.getRequest();rn Map mymap = new HashMap();rn String ip = request.getRemoteAddr();rn long shijian = System.currentTimeMillis();rn System.out.println("ip:"+ip);rn System.out.println("shijian:"+shijian);rn System.out.println("size:"+list.size());rn DecimalFormat decimalFormat = new DecimalFormat("0.00");rn if (list.size()>0) rn for (int i = 0; i < list.size(); i++) rn if (list.get(i).get("ip").equals(ip)) rn long time = (Long) list.get(i).get("time"); rn System.out.println("time:"+time);rn if ((shijian-time)/600002) rn System.out.println("您一分钟内访问超过了2次");rn else rn list.remove(i);rn mymap.put("ip", ip);rn mymap.put("time", time);rn mymap.put("times", ((Integer)(list.get(i).get("times")))+1);rn list.add(mymap);rn System.out.println("您一分钟内访问没有超过2次");rn rn System.out.println("访问次数");rn else rn list.remove(i);rn mymap.put("ip", ip);rn mymap.put("time", shijian);rn mymap.put("times", 1);rn list.add(mymap);rn rn System.out.println("时间间隔");rn else rn mymap.put("ip", ip);rn mymap.put("time", shijian);rn mymap.put("times", 1);rn list.add(mymap);rn rn rn System.out.println("大小");rn else rn mymap.put("ip", ip);rn mymap.put("time", shijian);rn mymap.put("times", 1);rn list.add(mymap);rn rn rn[/code]rnrn为<em>什么</em>执行到方法iPXianZhi()的时候,如果list.size()0则执行到最里层那个if-else的时候就完了呢,不执行iPXianZhi()后面的语句了,不打印hello,这可能是java的语法知识我还没理解,谁帮忙解释一下。谢谢!
智能家居防盗系统 单片机控制下载
本系统以单片机AT89S52为控制核心,采用采用音频解码芯片HT9200A和高保真语音录放集成芯片ISD4004,利用个人通信终端(电话、手机等)实现对电器设备的远程控制。配合多路红外遥控技术,实现对电器设备的近距离遥控,并辅助使用单总线数字温度传感器DS18B20及高精度时钟日历芯片PCF8563显示时钟日历及温度。该系统由单片机构成主控部分,进行主要的信息处理,接收外部操作指令形成各种控制信号。 相关下载链接:[url=//download.csdn.net/download/imbadagen/2349824?utm_source=bbsseo]//download.csdn.net/download/imbadagen/2349824?utm_source=bbsseo[/url]
自己制作的MP3播放器 Java swing下载
自己制作的MP3播放器 支持播放列表 音量调节等 使用JMF 相关下载链接:[url=//download.csdn.net/download/PriestSakura/2942207?utm_source=bbsseo]//download.csdn.net/download/PriestSakura/2942207?utm_source=bbsseo[/url]
Turbo C图形编程下载
Trubo C图形的一些绘图函数等等。希望能帮到您,,, 相关下载链接:[url=//download.csdn.net/download/cdw0223/3949809?utm_source=bbsseo]//download.csdn.net/download/cdw0223/3949809?utm_source=bbsseo[/url]
相关热词 c# gdi 占用内存 c#中遍历字典 c#控制台模拟dos c# 斜率 最小二乘法 c#进程延迟 c# mysql完整项目 c# grid 总行数 c# web浏览器插件 c# xml 生成xsd c# 操作sql视图
我们是很有底线的