求各位大佬帮忙改一下内容,实在没语言了。 [问题点数:20分]

Bbs1
本版专家分:0
结帖率 0%
Bbs1
本版专家分:0
帮忙一下
如下图所示,分别找出和为最大及和为最小的4个相邻的数。rn[img=https://img-bbs.csdn.net/upload/201512/24/1450950584_734128.jpg][/img]rn[code=c]#include rnusing namespace std;rnvoid maxandmin(int c[],int len)rnrn int i,max,min,low=0,hig=0;rn max=min=c[0];rn for (i=0;ic[i])rn rn low=i;rn min=c[i];rn rn rn cout<>n;rn cout<<>a[i];rn rn for (i=0;i
大神帮忙看一下,实在不出来。
[code=c]#include rn#include rn#include rnrnint num;rnrnstruct sturnrn int id;rn char name;rn struct stu *next;rn;rn//初始化学生链rnstruct stu* init_link()rnrn struct stu* head=(struct stu*)malloc(sizeof(struct stu));rn head->id=-1;rn head->next=NULL;rn return head;rnrn//创建一个新学生rnstruct stu* new_stu()rnrn return (struct stu*)malloc(sizeof(struct stu));rn rn//获取链表的尾部元素rnstruct stu* get_tail(struct stu* head)rnrn struct stu* cur=head;rn while(!(cur->next==NULL))rn rn cur=cur->next;rn rn return cur;rnrnrn//2、删除学生指定学生rnstruct stu* del_stu_byid(struct stu* head,int id) rnrn struct stu *cur,*tar;rn cur=head;rn if(head==NULL)rn printf("NULL!");rn while((id!=cur->id)&&(cur->next!=NULL))rn rn tar=cur;rn cur=cur->next;rn rn rn if(id==cur->id)rn rn if(cur==head)rn head=cur->next;rn elsern tar->next=cur->next;rn printf("Has been deleted!\n");rn free(cur);rn num--;rn rn elsern printf("Without this id!");rn rn return head; rnrnrn//3、修<em>改</em>学生信息rnstruct stu* upd_stu_byid(struct stu* head, int id)rnrn struct stu *cur,*tar;rn char name[10],*t;rn rn cur = head;rn tar = head->next;rnrn while(tar!=NULL)rn rn if( tar->id==id)rn rn printf("Please enter a modified name:");rn scanf("%s",&name);rn getchar();rn t = name;rn strcpy(tar->name,cur);rn printf("Uapdate success!"); rn free(cur);rn num--;rn rn rn elsern printf("Without this id!!\n\n"); rn rn rn return head;rnrnrn//5、根据id查询所有学生,把目标学生返回rnstruct stu* que_stu_byid(struct stu* head, int id)rnrn struct stu* cur;rn cur=head;rn int num=0;rn rn while(cur->next&&numnext;rn num++;rn rn rn if(id==num) rn return cur;rn rn elsern printf("Without this id!");rnrnrnint main()rnrn //1.添加学生rn //2.删除学生rn //3.修<em>改</em>学生rn //4.查询所有学生rn //5.根据id查询指定学生rn //6.退出rn int choice=0, id;rn char name;rn struct stu* head=init_link();rn struct stu* ns=NULL;rn struct stu* tail=NULL;rn struct stu* cur=NULL;rn struct stu* tar=NULL;rn printf("*****welcome to stu_manage_system*****\n");rn rn while(1)rn rn printf("1.insert stu info\n");rn printf("2.delete stu info\n");rn printf("3.update stu info\n");rn printf("4.query all stu info\n");rn printf("5.query stu info by id\n");rn printf("6.exit\n");rn printf("make your choice:");rn scanf("%d",&choice);rn if(choice==1)rn rn printf("input stu_id, plz:");rn scanf("%d", &id);rn printf("input stu_name, plz:");rn scanf("%d", &name);rn ns=new_stu();rn ns->id=id;rn ns->name=name;rn ns->next=NULL;rn tail=get_tail(head);rn tail->next=ns;rn rn if(choice==2)rn rn printf("Please enter the number you want to delete:");rn scanf("%d",&id);rn head=del_stu_byid(head,id); rn rn if(choice==3)rn rn printf("Please enter the number you want to update:\n");rn scanf("%d",&id);rn getchar();rn upd_stu_byid(head,id);rn rn if(choice==4)rn rn cur=head;rn while(!(cur->next==NULL))rn rn cur=cur->next;rn printf("stu_id=%d\n",cur->id);rn printf("stu_name=%d\n",cur->name);rn printf("++++++\n");rn rn rn if(choice==5)rn rn printf("Please enter the number you want to query:");rn scanf("%d",&id);rn getchar();rn cur=que_stu_byid(head,id); rn printf("%d,%s",cur->id,cur->name);rn rn if(choice==6)rn rn system("pause");rn rnrn rn return 0; rn[/code]
高手帮忙一下!!!
import java.util.*;rnimport java.applet.*;rnimport java.awt.*;rnimport java.awt.event.*; rnrnpublic class Example86 extends Applet implements TextListenerrn TextArea text1,text2;rn public void init()rn text1=new TextArea(6,15);text2=new TextArea(6,15);rn add(text1);add(text2); text2.setEditable(false);rn text1.addTextListener(this) ;rn rnpublic void textValueChanged(TextEvent e)rn if(e.getSource()==text1)rn String s=text1.getText(); rnStringTokenizer fenxi=new StringTokenizer(s," ,'\n'");//空格、回车和逗号做分隔符。rn int n=fenxi.countTokens();rn String a[]=new String[n];rn for(int i=0;i<0)rn String t=a[j];a[j]=a[i];a[i]=t;rnrn rn rn text2.setText(null); //刷新显示。rn for(int i=0;i
实在则了,各位大哥帮忙啊!!!!
暑假回家,准备把两台电脑共享上网,于是买了个集线器,一切设置好后,做主机的是台式机,还有一台是本本,将主机一个网卡连MODEN一个网卡连集线器,然后在主机上用ping可以ping到笔记本(192.168.0.10),在笔记本上用ping可以ping到主机(192.168.0.1),但是只有连MODEN的主机可以上网,而笔记本怎么都打不开网页总是出现一个警告的窗口,我在学校时都可以通过局域网连上的.不知道哪<em>没</em>设置对啊,还有就是用主机可以打开笔记本共享的文件夹,但反过来却不行.请帮我解答解答啊,小弟感激不尽啊!!
请教一下各位大佬
2-2^-23是什么意思,不是说取1.0到2.0之间吗[img=https://img-bbs.csdn.net/upload/201904/29/1556512968_868956.jpg][/img][img=https://img-bbs.csdn.net/upload/201904/29/1556512985_396074.jpg][/img][img=https://img-bbs.csdn.net/upload/201904/29/1556512992_740484.jpg][/img]
大佬帮忙解决一下问题
ajax请<em>求</em>的时候报这个get错误
各位大佬帮忙看看
[img=https://img-bbs.csdn.net/upload/201804/11/1523447552_779822.jpg][/img] 这是什么意思 而且不定时的会弹出来 只要app在后台运行就会弹出 有时候看新闻 打游戏都会弹出 <em>求</em><em>大佬</em><em>帮忙</em>看看
各位大佬帮忙!
有一个全局变量, xxxrn xxx = MDIChildren[i].name;rn 怎样把mdi子窗口xxx 动态创建出来。
大佬帮助一下
我写了一个小游戏把它放入框架后无法判断正确值了,能帮我看看问题出在哪了吗? package two; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JL...
大佬给看一下
代码如下nPrivate Sub Command1_Click()rnIf Combo1.Text = "病斑大而少,呈梭形条斑,灰褐至桔黄色,无轮纹" And Combo2.Text = "无现象" And Combo3.Text = "无现象" ThenrnCombo4.Text = "大斑病"rnEnd IfrnEnd Subn前三个条件都是通过下拉列表框选的
排序问题各位大佬帮忙
数组中数字出现次数为主以从小到大为辅进行排序rn排序大小是按照0-9排列rnrn比如数组中有1,2,2,3,8,0,1rn1,2出现两次 ,0,3,8出现一次则为12038rn剩余未出现的数在之后进行从小到大排列rn实则排列后为1203845679
各位大佬帮忙,谢谢了
登录系统的时候报这个错误,网上找了好多办法,说是服务未打开,打开试了还是不可以,<em>求</em>解rn[img=https://img-bbs.csdn.net/upload/201903/21/1553130943_551619.png][/img]rnrn[color=#FF0000]“由于目标计算机积极拒绝,无法连接”[/color]rnrnrn<em>求</em>解呀
c语言 运行出错 大佬帮忙
#include n#includen#includen#includenn//定义全局变量nint isEmpty=0;//标志,判断链表是否为空 nn//!!!定义单链表结构体!!! ntypedef struct Noden int NUM;//类型总数 n char NAME[100];//各类型名称 n int num; //各类型下的货物总数n struct Node*next;nNode;nn//函数声明 nNode*create(int n,Node*L);nNode*input(Node*L);nNode*output(Node*L);nNode*outnum(Node*L);nNode*outname(Node*L);nNode*current(Node*L);nvoid search(Node*L);nvoid print(Node*L);nvoid searchnum(Node*L);nvoid searchname(Node*L);nvoid display(Node*L);n//========新增加的函数========nNode*append(Node*L); nn//主函数nvoid main()nn int x;n int n;//初次输入的大小 n Node *L;n if(!(L=(Node *)malloc(sizeof(Node)))) //分配空间n n printf("\n");n exit(1);n n n printf("欢迎使用我的仓库管理系统!\n"); n while(1);n n //主菜单开始 n printf("==========================\n");n printf("1.显示货物类型列表\n");n printf("2.增加货物类型\n");n printf("3.删除货物类型\n");n printf("4.货物入库\n");n printf("5.货物出库\n");n printf("6.库存显示\n");n printf("7.退出\n");n printf("==========================\n");n //主菜单结束n printf("选择1-7:");n scanf("%d",&x); n switch(x)n n case 1:;break;n case 2:create(n,L);break;n case 3:;break;n case 4:;break;n case 5:;break;n case 6:;break;n case 7:;break;n default:printf("input error!\nplaese input1-7");n n n nnnnnn//函数n//1.创建链表节点nNode*create(int n,Node*L)nn Node*pTail=L; n L->next=NULL;n Node*p;n p=(Node*)malloc(sizeof(Node));n if(p==NULL)n n printf("申请内存空间失败!\n");n n //利用尾插建立单链表 n int i;n for(i=1;iNUM);n printf("请输入第%d种类型名称:\n",i);n scanf("%s",&p->NAME);n printf("请输入第%d种类型库存:\n",i);n scanf("%d",&p->num);n pTail->next=p;n pTail=p;n n p->next=NULL;n return L; n n![图片说明](https://img-ask.csdn.net/upload/201805/28/1527489393_274380.png)n欢迎下面就运行不了了
兄弟们帮忙(实在分了)
如何判断输入的是否为正确的邮件格式,如何判断输入的是否是汉字??最好是写出程序!<em>帮忙</em>了~
各位大佬帮助
我的win10系统进去以后,在桌面随便打开一个程序运行几分钟  退回桌面就会好像桌面<em>没</em>刷出来一样  点不了桌面上程序  但键盘可以用   可以通过打开一次任务管理器恢复正常   <em>求</em>教<em>大佬</em>们怎么解决呀[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/001/face/5.gif][/img][img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/001/face/5.gif][/img]
各位大佬指点迷津!
dspC601在往sdram中写数据时出现只往一个地址中写数据时,结果多个地址被写入此数据的问题,例如往0x02000000中写入一个32bit的数据5,结果在0x02200000、0x02400000、0x02600000、0x02800000等地址都被写入5这个数。rn<em>求</em>指点会是什么导致的!
大佬帮忙
匿名上位机写了校验码程序,但为什么每次写入飞控时显示校验码超时
大佬帮忙
<em>求</em><em>帮忙</em> ![在这里插入图片描述](https://img-blog.csdnimg.cn/2018112615060233.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MzgwNDcyMQ==,size_16,col...
大佬帮忙看一下
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException: Error updating database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionExcep...
大佬帮忙!!!
void modify(char* stuid,char*name,int num)rn rn rn if( !checkAdd(stuid))rn printf("请选择修<em>改</em>项目:1—学号;2—姓名;3—成绩");rn scanf("%d",&p);rn switch(p)rn rn case 2:rn printf("请输入新名字");rn scanf("%s",Newname);rn strcpy(name,Newname);rn printf("成功");rn break;rn rn rnrnrn elseprintf("无信息");rnrnrnrnrnrn这是程序的一部分 rn编译<em>没</em>问题rnstrcpy(name,Newname);rn但是这个<em>改</em>变名字的话不对 不能修<em>改</em>名字 <em>求</em>指教rn
大佬帮忙~
需<em>求</em>如下:rn表1 rnname ..... rn张三 rn李四rn...rnrn表2rnname 课程rn张三 语文rn张三 数学rn李四 语文rn李四 数学rn李四 英语rnrn想要的效果rn张三 语文,数学rn李四 语文,数学,英语rn...rnrn<em>求</em>各位<em>大佬</em><em>帮忙</em>~ 感激不尽!
大佬帮忙
[img=https://img-bbs.csdn.net/upload/201806/07/1528383371_744806.png][/img]rn小白<em>求</em>助这几个BUG怎么修复,顺便附上源代码。rnstring grammar = "FA[*+X][-/&X][/%X]B";//文法 rnvoid Grammar::Iteration() rn string temprule = grammar;rn for (int i = 1; i < curlen)rn rn if (temprule[j] == 'X')//迭代,替换成文法模型rn rn rule += grammar;rn j++;rn rn else //保留转角rn rn rule += temprule[j];rn j++;rn rn rn temprule = rule;rn rule.clear();rn rn rule = temprule;//迭代好之后的文法规则rnrnvector trunks; // 所有分支rnvector leaves;//所有叶子结点rnvoid LSystem::generateFractal() // 利用加载过的文法,创建分形树rnrn trunks.clear();rn leaves.clear();rn curState.pos = Node(0, 0, 0);rn curState.dir = Node(0, 1, 0);rnrn State stack[3000]; // 状态栈rn for (int i = 0; i <3000; i++)rn rn stack[i].pos.x = 0.0;rn stack[i].pos.y = 0.0;rn stack[i].pos.z = 0.0;rn stack[i].dir.x = 0.0;rn stack[i].dir.y = 0.0;rn stack[i].dir.z = 0.0;rn rn size_t i = 0;rn while (i
大佬们,帮忙
[img=https://img-bbs.csdn.net/upload/201808/30/1535617908_474864.jpg][/img] 这个情况怎么解决啊,<em>求</em>大神们指导,
大佬帮忙
#includern#includern#includernusing namespace std;rntypedef structrn float data;rn int index;rnElement;rnclass Polynomialrn public:rn void create();rn void print();rn void add(Polynomial &a,Polynomial &b); rn //private:rn vectorPolynomial_vector;rn;rnvoid Polynomial::create()rn int m,i;rn Element p;rn cout<>m;rn for(i=0;i>p.data>>p.index;rn Polynomial_vector.push_back(p);rn rnrnvoid Polynomial::print()rn vector::iterator iter;rn for(iter=Polynomial_vector.begin();iter!=Polynomial_vector.end();iter++)rn if((*iter).data!=0)rn if((*iter).index==0)rn cout<<::iterator iter1=a.Polynomial_vector.begin();rn vector::iterator iter2=Polynomial_vector.begin(); rn vector::iterator iter3;rn Element t;rn int temp;rn nomial_vector.end()))rn temp=(*iter1).index;rn iter3=find(Polynomial_vector.begin(),Polynomial_vector.end(),temp);rn if(iter3!=Polynomial_vector.end())rn if((*iter1).data+(*iter2).data!=0)rn t.index=(*iter1).index;rn t.data=(*iter1).data+(*iter2).data;rn b.Polynomial_vector.push_back(t) ;rn iter1++;rn iter2++;rn rn elsern iter1++;rn iter2++;rn rn rn elsern b.Polynomial_vector.push_back((*iter1));rn iter1++;rn rn rn if(iter1!=a.Polynomial_vector.end())rn b.Polynomial_vector.push_back(*iter1++);rn rn if(iter2!=Polynomial_vector.end())rn b.Polynomial_vector.push_back(*iter2++);rn rn rnrnrnbool com(Element e1,Element e2)rn return e1.index
助!大佬帮忙
[img=https://img-bbs.csdn.net/upload/201905/27/1558886821_837807.png][/img]rn请问这个错误要怎么修<em>改</em>?
大佬帮忙看看
错误信息:rnClientAbortException: java.net.SocketException: Software caused connection abort: socket write errorrn at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:358)rn at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)rn at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:349)rn at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:381)rn at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:370)rn at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:89)rn at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)rn at sun.nio.cs.StreamEncoder.implWrite(StreamEncoder.java:282)rn at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:125)rn at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:135)rn at java.io.OutputStreamWriter.write(OutputStreamWriter.java:220)rn at java.io.Writer.write(Writer.java:157)rn at org.springframework.util.StreamUtils.copy(StreamUtils.java:118)rn at org.springframework.http.converter.StringHttpMessageConverter.writeInternal(StringHttpMessageConverter.java:106)rn at org.springframework.http.converter.StringHttpMessageConverter.writeInternal(StringHttpMessageConverter.java:41)rn at org.springframework.http.converter.AbstractHttpMessageConverter.write(AbstractHttpMessageConverter.java:227)rn at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.writeWithMessageConverters(AbstractMessageConverterMethodProcessor.java:247)rn at org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor.handleReturnValue(RequestResponseBodyMethodProcessor.java:174)rn at org.springframework.web.method.support.HandlerMethodReturnValueHandlerComposite.handleReturnValue(HandlerMethodReturnValueHandlerComposite.java:81)rn at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:113)rn at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)rn at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)rn at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)rn at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)rn at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)rn at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)rn at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)rn at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)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.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)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:230)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)rn at java.lang.Thread.run(Thread.java:745)rnCaused by: java.net.SocketException: Software caused connection abort: socket write errorrn at java.net.SocketOutputStream.socketWrite0(Native Method)rn at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)rn at java.net.SocketOutputStream.write(SocketOutputStream.java:155)rn at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:764)rn at org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(IdentityOutputFilter.java:118)rn at org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:570)rn at org.apache.coyote.Response.doWrite(Response.java:560)rn at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:353)rn ... 45 morern十一月 16, 2017 4:29:10 下午 org.apache.catalina.core.StandardWrapperValve invokern严重: Servlet.service() for servlet MVC DispatcherServlet threw exceptionrnjava.lang.NullPointerExceptionrn at com.zhwy.exception.MyExceptionHandler.resolveException(MyExceptionHandler.java:54)rn at org.springframework.web.servlet.DispatcherServlet.processHandlerException(DispatcherServlet.java:1222)rn at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1034)rn at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:984)rn at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)rn at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)rn at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)rn at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)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.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)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:230)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)rn at java.lang.Thread.run(Thread.java:745)rn
麻烦各位帮忙一下这段js
以下这段js是在指定的域名前加上字串,想<em>改</em>为在所有的外链签名都加上。比如我的域名是abcd.com。rnrn[code=javascript]var taobaoke = rn host: "t.pianyi.taobao.com/index.php?m=jump",rn userhash: "",rn hash: null,rn py: null,rn inframe: 0,rn member: "",rn memberUid: 0,rn mac: "",rn linkInfo: "",rn ignore_class: "_J_py_ignore",rn whiteList: [/^(onsale\.manyi\.taobao)\.com/i, /^(manyi\.taobao)\.com/i, /^(pianyi\.taobao)\.com/i, /^(remai\.manyi\.taobao)\.com/i, /^(t\.pianyi\.taobao)\.com/i, /^(taomanyi\.taobao)\.com/i, /^(www\.gzmama)\.com/i],rn $: function(d) rn return document.getElementById(d)rn ,rn isGecko: function() rn return navigator.userAgent.indexOf("Gecko") == -1 ? false: truern ,rn isOpera: function() rn return navigator.userAgent.indexOf("Opera") == -1 ? false: truern ,rn isIE: function() rn return document.all ? true: falsern ,rn isNull: function(d) rn return "" == d || null == d || undefined == d ? true: falsern ,rn isPhpWind: function() rn if (window.winduid != undefined) return true;rn return falsern ,rn findObj: function(d) rn for (var i = 0; i < 10; i++) if ("object" == typeof d && typeof d.tagName != "undefined") rn var j = d.tagName.toLowerCase();rn if ("a" == j || "area" == j) rn if (this.isIgnoreConvert(d)) break;rn return drn rn if ("body" == j) break;rn d = d.parentNodern else break;rn return nullrn ,rn analyseUrl: function(d) rn d = d.replace(/(^\s*)|(\s*$)/g, "").replace(/^http:\/\//g, "");rn return this.urlFilter(d) ? "": /^([\w|\.|-]+\.qq|p\.tenxun|[\w|\.|-]+\.paipai)\.com/i.exec(d) ? "http://" + d: ""rn ,rn urlFilter: function(d) rn var i;rn for (i = this.whiteList.length; --i >= 0;) if (this.whiteList[i].exec(d)) return true;rn return falsern ,rn secondURI: function(d) rn d = d.replace(/(^\s*)|(\s*$)/g, "").replace(/^http:\/\//g, "");rn if (this.urlFilter(d)) return "";rn if (/(^|\?|&)[^&]*=([^&]+.paipai.com[^&]*)(\s|&|$)/i.test(d)) return unescape(RegExp.$2.replace(/\+/g, rn " "));rn return ""rn ,rn foundAdd: function() rn var d = "&sitehash=" + this.userhash + "&winduid=" + this.member + "&windid=" + this.memberUid;rn if (0 == this.inframe) d += "&from=" + encodeURIComponent(window.location.href);rn else rn var i = this.referer();rn this.isNull(i) || (d += "&from=" + encodeURIComponent(i))rn rn if (this.isNull(this.getck("mac"))) rn this.setck("mac", this.hash);rn this.mac = this.hashrn else this.mac = this.getck("mac");rn d += "&mac=" + this.mac + "&py=" + this.py;rn this.linkInfo = drn ,rn referer: function() rn var d = document.referrer;rn if (!d) try rn if (window.opener) d = rn window.opener.location.hrefrn catch(i) rn return drn ,rn linkify: function(d) rn var i,rn j;rn if (d.nodeType == 3) rn i = d.data.search(/((https?)|(ftp))\:\/\/[^\s]*[^.,">\s\)\]]/);rn if (i >= 0) rn i = d.splitText(i);rn i.splitText(RegExp.lastMatch.length);rn j = document.createElement("A");rn j.href = i.data;rn j.target = "_blank";rn j.appendChild(i);rn d.parentNode.insertBefore(j, d.nextSibling)rn rn i = d.data.search(/www[^\s]*[^.,">\s\)\]]/);rn if (i >= 0) rn i = d.splitText(i);rn i.splitText(RegExp.lastMatch.length);rn j = document.createElement("A");rn j.href = "http://" + i.data;rn j.target = rn "_blank";rn j.appendChild(i);rn d.parentNode.insertBefore(j, d.nextSibling)rn rn else if (d.tagName != "STYLE" && d.tagName != "SCRIPT" && d.tagName != "A") for (i = 0; j = d.childNodes[i]; ++i) this.linkify(j)rn ,rn hasClass: function(d, i) rn return d.className.indexOf(i) != -1rn ,rn isIgnoreConvert: function(d) rn if (this.hasClass(d, this.ignore_class)) return true;rn else if ("object" == typeof d.parentNode) return this.hasClass(d.parentNode, this.ignore_class)rn ,rn loopFrames: function(d) rn for (var i = 0; i < k.length) rn k = "http://" + d.host + "&to=" + encodeURIComponent(k) + d.linkInfo;rn j.href = krn rn k = i(j);rn j.href = l;rn return krn rn rn ,rn chushi: function() rn return thisrn ,rn pwhash: function(d) rn if (!this.isNull(d)) this.userhash = drn ,rn creathash: function() rn var d = new Date,rn i = d.getYear(),rn j = d.getMonth() + 1,rn l = d.getDate(),rn k = d.getHours(),rn n = d.getMinutes();rn d = d.getSeconds();rn i = i + "-" + j + "-" + l + " " + k + ":" + n + ":" + d + this.member + this.memberUid + this.userhash;rn this.hash = i = this.hex_md5(i)rn ,rn exchange: function() rn var d = this;rn this.__main__();rn document.onclick = function(i) rn try rn i = i || window.event;rn var j = i.target || i.srcElement;rn j = d.findObj(j);rn if (null != j) rn var l = d.analyseUrl(j.href);rn if (1 > l.length) rn l = d.secondURI(j.href);rn if (1 > l.length) returnrn rn //http://"+a.host+"?app="+pid+"&urll="+crn var k = "http://" + host + "&urll=" + l ;rn if (j.target == "_blank") rn var n = j.href;rn setTimeout(function() rn j.href = rn nrn ,rn 500)rn rn j.href = krn rn catch(a) rn return 1rn rn rn ,rn setpy: function(d) rn if (!this.isNull(d)) this.py = drn rn;[/code]
各位帮忙,帮我一下程序,好吗??
原程序我下面贴出来,只想各位<em>帮忙</em><em>改</em>成能发html格式的邮件,这是通过smtp服务器发邮件,谢谢了各位!rn------------------------------------rnrnrn------------------------------rn请问:处理Form头这个地方填写one@tom.com还是可以填写任意邮件呢??rn
我的C语言的程序帮忙一下
我的C<em>语言</em>的程序<em>帮忙</em><em>改</em>一下,我编不通,是关于10进制转变16进制的rnrn#include "stdafx.h"rn#include "string"rnint error(char *sz)rnrn if (*sz=='\0')rn rn printf ("please input the data\n");rn return 1;rn rn for (;(*sz)!='\0';sz++)rn rn if (!(('0',a1);rn rn return 0;rnrn rn
各位大侠,帮忙一下SQL语句
下面这个语句在ACCESS是可以的,现在SQL SERVER怎么实现这个功能rnrnrnUPDATE RptCx LEFT JOIN PlanStatus ON (RptCx.DesignID = PlanStatus.DesignID) AND (RptCx.PatternID = PlanStatus.PatternID) SET RptCx.Total1 = PlanStatus.DoneNumrnrn
麻烦各位帮忙一下错
import java.awt.*;rnimport java.awt.event.*;rnrnpublic class TestFieldExample implements TextListener,ActionListener rnrnFrame f;rnLabel lb;rnTextField tf;rnrnpublic static void main(String argv[])rnrnnew TestFieldExample();rnrnrnpublic TestFieldExample()rnrnf=new Frame("Add");rnf.setLayout(new GridLayout(2,1));rnrntf=new TextField("",20);rntf.addTextListener(this);rntf.addActionListener(this);rnrnlb=new Label();rnf.add(tf);rnf.add(lb);rnf.pack();rnf.setVisible(true);rnrnrnpublic void TextValueChanged(TextEvent e)rnrnlb.setText(tf.getText());rnrnrnpublic void actionPerformed(ActionEvent e)rnrntf.setText("");rnrnrnrn错误提示:rnTestFieldExample.java:4: TestFieldExample 不是抽象的,并且未覆盖 java.awt.event.rnTextListener 中的抽象方法 textValueChanged(java.awt.event.TextEvent)rnpublic class TestFieldExample implements TextListener,ActionListenerrn ^rn1 错误rnrn
大佬帮忙看下这个问题,研究了好长时间实在不会
奇怪的分式 上小学的时候,小明经常自己发明新算法。一次,老师出的题目是: 1/4 乘以 8/5 小明居然把分子拼接在一起,分母拼接在一起,答案是:18/45 (参见图1.png) 老师刚想批评他,转念一想,这个答案凑巧也对啊,真是见鬼! 对于分子、分母都是 1~9 中的一位数的情况,还有哪些算式可以这样计算呢? 请写出所有不同算式的个数(包括题中举例的)。 显然,交换分子分母后,例如:4/1 乘以...
各位帮忙 解决一下!!!
[code=java]import java.awt.*; rnimport java.awt.event.*;rnpublic class XN extends Framernrn int x=50;rn int y=50;rnpublic void Kuang()rn this.setTitle("NN");rn this.setSize(600,400);rn this.setVisible(true); rn this.setResizable(true);rn addWindowListener(new WindowAdapter() rn public void windowClosing(WindowEvent e) rn System.exit(0); rn rn );rn rnaddKeyListener(new KeyAdapter() rn public void keyPressed(KeyEvent e) rn int k = e.getKeyCode(); rn if(k == KeyEvent.VK_UP) rn y-=10; rn rn else if(k == KeyEvent.VK_DOWN) rn rn y+=10; rn else if(k == KeyEvent.VK_LEFT) rn rn x-=10; rn else if(k == KeyEvent.VK_RIGHT) rn rn x+=10; rn rnrepaint(); rn rn); rn rnpublic void paint(Graphics g) rn g.setColor(Color.RED); rn g.fillOval(x,y,30,30); rn rn public static void main(String[] args)rn XN x1=new XN();rn x1.Kuang();rn rn[/code]rn请各位<em>帮忙</em>分解成三个类 小圆是单独一个类 然后XN是一个类(也就是Frame外框)一个类 最重要的就是addKeyListener(new KeyAdapter() 这个怎么弄成一个事件监听类.. 我说的不详细 如果各位还有别的简单的方法也行,总之就是不能在一个类里 (麻烦各位在写上详细的过程)rn辛苦大家了!!!
c语言 停车场 大神一下
这个停车场 使用栈作为停车场,队列作为栈,另有一栈作为临时停车道负责从停车场中暂时退出的车rnrnrn[color=#FF0000]运行时出现大量错误,比如循环<em>没</em>有进行,不过我c<em>语言</em>不精 找不到错误 <em>求</em><em>改</em>正[/color]rnrn[color=#800080]附: 我对结构体不是太了解,<em>求</em>大神解答[/color]rnrn[code=c]rn#include "targetver.h"rnrn#include rn#include rnrn#include rn#include rnrn#define FALSE -1rn#define TRUE 1rn#define Stack_Size 2 rn#define Money 2rn#define PARK 4rn#define SHORCUT 5rntypedef struct timernrn int hour;rn int min;rnTime;rnrntypedef struct CarNodernrn char CarNumber[10];rn Time reach;rn Time leave;rnStackElementType, QueueElementType;rnrnrntypedef struct ZHANrnrn StackElementType *CarNode[Stack_Size];rn int top;rnSeqStack;rnrntypedef struct Nodernrn CarNode *data;rn struct Node *next;rnLinkQueueNode;rnrntypedef struct ZIZErnrn LinkQueueNode *front;rn LinkQueueNode *rear;rnLinkQueue;rnrnvoid Pop(SeqStack *S, StackElementType *x);rnvoid Push(SeqStack *S, CarNode *x);rnvoid EnterQueue(LinkQueue *Q, QueueElementType *x);rnvoid PRINT(CarNode *p);rnrnvoid InitStack(SeqStack *S)rnrn S->top = -1;rnrnrnint InitQueue(LinkQueue *Q)rnrn Q->front = (LinkQueueNode *)malloc(sizeof(LinkQueueNode));rn if (Q->front != NULL)rn rn Q->rear = Q->front;rn Q->front->next = NULL;rn return(TRUE);rn rn elsern return(FALSE);rnrnrnrnint getInTo(SeqStack *S, LinkQueue *Q)rnrn if (S->top != Stack_Size - 1)rn rn printf("请输入车辆牌照和进入时间\n");rn CarNode *p;rn p = (CarNode *)malloc(sizeof(CarNode));rn scanf_s("%s %d:%d", &p->CarNumber, &p->reach.hour, &p->reach.min);rn Push(S, p);rn return PARK;rn rn elsern rn printf("停车场已满,请入便道\n");rn printf("请输入车辆牌照和进入时间\n");rn LinkQueueNode *t;rn t = (LinkQueueNode *)malloc(sizeof(LinkQueueNode));rn scanf_s("%s %d:%d", &t->data->CarNumber, &t->data->reach.hour, &t->data->reach.min);rn Q->rear->next = t;rn Q->rear = t;rn return SHORCUT;rn rnrnrnvoid Push(SeqStack *S, CarNode *x) //入栈 rnrn S->top++;rn S->CarNode[S->top] = x;rnrnrnvoid Pop(SeqStack *S, StackElementType *x) //出栈rnrn x = S->CarNode[S->top];rn S->top--;rnrnrnrnvoid EnterQueue(LinkQueue *Q, QueueElementType *x)rnrn LinkQueueNode * NewNode;rn NewNode = (LinkQueueNode *)malloc(sizeof(LinkQueueNode));rn if (NewNode != NULL)rn rn NewNode->data = x;rn NewNode->next = NULL;rn Q->rear->next = NewNode;rn Q->rear = NewNode;rn rnrnrnrnvoid Printf(LinkQueue *Q, SeqStack *S)rnrn printf("首先输出停车场信息:\n");rn printf("位置\t\t车牌号\t\t\t\t进入时间\n");rn SeqStack *s;rn s = S;rn for (; s->top top++)rn rn printf("%d\t\t%s\t\t\t\t%d:%d\n", s->top + 1, s->CarNode[s->top]->CarNumber, s->CarNode[s->top]->reach.hour, s->CarNode[s->top]->reach.min);rn rn printf("输出便道信息:\n");rn LinkQueueNode *q;rn q = Q->front->next;rn if (Q->front != Q->rear) /*判断通道上是否有车*/rn rn printf("\n等待车辆的号码为:");rn while (q != NULL)rn rn puts(q->data->CarNumber);rn q = q->next;rn rn rn else printf("\n便道里<em>没</em>有车.\n");rnrnrnvoid Leave(LinkQueue *Q, SeqStack *Enter, SeqStack *Temp)rnrn CarNode *t;rn LinkQueueNode *q;rn if (Enter->top>0)rn rn printf("请输入车在车场的位置/1--%d/:", Enter->top);rn int room;rn StackElementType x;rn scanf_s("%d", &room);rn while (1)rn rn if (Enter->top>room)rn rn Pop(Enter, &x);rn Push(Temp, &x);rn rn elsern break;rn rn Pop(Enter, &x);rn PRINT(&x);rn while (1)rn rn if (Temp->top != 0)rn rn Pop(Temp, &x);rn Push(Enter, &x);rn rn elsern break;rn rn /*判断通道上是否有车及车站是否已满*/rn if ((Q->front != Q->rear) && Enter->top front->next;rn t = q->data;rn Enter->top++;rn printf("\n便道的%s号车进入车场第%d位置.", t->CarNumber, Enter->top + 1);rn printf("\n请输入现在的时间/**:**/:");rn scanf_s("%d:%d", &(t->reach.hour), &(t->reach.min));rn Q->front->next = q->next;rn if (q == Q->rear)rn Q->rear = Q->front;rn Enter->CarNode[Enter->top] = t;rn free(q);rn rn elsern printf("\n便道里<em>没</em>有车.\n");rn rn elsern printf("车站里<em>没</em>车\n");rnrnrnrnvoid PRINT(CarNode *p) /*打印出站车的信息*/rnrn int A1, A2, B1, B2;rn printf("\n请输入离开的时间:/**:**/");rn scanf_s("%d:%d", &(p->leave.hour), &(p->leave.min));rn printf("\n离开车辆的车牌号为:");rn puts(p->CarNumber);rn printf("\n其到达时间为: %d:%d\n", p->reach.hour, p->reach.min);rn printf("离开时间为: %d:%d\n", p->leave.hour, p->leave.min);rn A1 = p->reach.hour;rn A2 = p->reach.min;rn B1 = p->leave.hour;rn B2 = p->leave.min;rn printf("\n应交费用为: %2d元\n", ((B1 - A1) * 60 + (B2 - A2))*Money);rn free(p);rnrnrnint main(void)rnrn SeqStack Enter, Temp;rn LinkQueue Wait;rn InitStack(&Enter);rn InitStack(&Temp);rn InitQueue(&Wait);rn int ch;rn InitStack(&Enter); /*初始化车站*/rn InitStack(&Temp); /*初始化让路的临时栈*/rn InitQueue(&Wait); /*初始化通道*/rn bool a = true;rn while (a)rn rn printf(" 1. 车辆到达\n");rn printf(" 2. 车辆离开\n");rn printf(" 3. 列表显示\n");rn printf(" 4. 退出系统\n");rnrn scanf_s("%d", &ch);rn switch (ch)rn rn case 1:rn rn int a = getInTo(&Enter, &Wait);rn if (a == PARK)rn printf("车已存入停车场\n");rn elsern printf("车已入便道\n");rn break; /*车辆到达*/rn case 2:Leave(&Wait, &Enter, &Temp); break; /*车辆离开*/rn case 3:Printf(&Wait, &Enter); break; /*列表打印信息*/rn case 4:a = false; break; /*退出主程序*/rn default: break;rn rn rn return 0;rnrn[/code]rnrnrn
救,帮忙一下!!!
希望得到的效果:从目录中读出图片文件名,比如在目录中存在3张图片,A.GIF,B.GIF,C.GIF。打开页面即显示数组中的第一张,每当按任意键就显示下一张,如果遍历完成,就退出。现有代码只能显示文件名,如下:rnrn\nvar files = new Array(\n";rnforeach($files as $value)rn if($value!="." && $value!="..") rn if($i>0)rn echo ",";rn echo "'$value'\n";rn $i++;rn rnecho ");\nvar files_con = 1;\n\n";rn?>rn rn rnrn rn
帮忙一下Makefile
一个目录下有四个文件:Makefile、print.c、print.h、test.crnrntest.crn--------------------------------------------------rn#include rn#include rn#include rnrn#include "print.h"rnrnint init_module(void)rnrn char a[20];rn strcpy(a, "Hello world\n");rn print((void*)a);rn return 0;rnrnrnvoid cleanup_module(void)rnrn printk("Goodbye cruel world \n");rnrnrnMODULE_LICENSE("GPL");rn--------------------------------------------------rnrnrnprint.crn--------------------------------------------------rn#include rn#include rn#include rnrnint print(void* data)rnrn return printk("sting: %s\n", (char*)data);rnrn-------------------------------------------------rnrnrnprint.hrn---------------------------------------------------rnextern int print(void*);rn--------------------------------------------------rnrnrnMakefilern-------------------------------------------------rnCC=gccrnKERNELDIR=/usr/src/linux-$(shell uname -r)rnrnMODCFLAGS:=-Wall -DMODULE -D__KERNEL__ -DLINUX -I $(KERNELDIR)/includern rntest.o: test.c print.h print.c /usr/include/linux/version.hrn $(CC) $(MODCFLAGS) -c test.c print.crnrnclean:rn rm -f *.orn-------------------------------------------------rnrn现在用“make”编译后回出现print.o和test.o两个文件,“insmod test.o”会出现“test.o: unresolved symbol print”的信息。上面Makefile应该怎么<em>改</em>?
帮忙一下
//判断 (编译未通过)rnrn static int i = 0;rnrn public void TryReLoad()rn rn var a = GetNewValue();rn if (a != i)rn rn i = a;rn webKitBrowser1.Reload();rn rn rn 这是我写的代码, 貌似语法错了。rnWINFORM窗口应用程序,rn 想判断 web上的 URL是否<em>改</em>变 如果<em>改</em>变就刷新, 有谁能<em>帮忙</em><em>改</em>一下吗
大数相加(帮忙一下)
<em>求</em>二个不超过200位的非负整数的和。rnrnInput rnrn输入数据有二行(A和B),每行是一个不超过200为的非负整数,<em>没</em>有多余的前导0,直到输入到文件结束。rnrnOutput rnrnA+B之后的结果,结果中也不能有前导的0.rnrnSample Input rnrnrn5rn500rn99999rn1rnrnrnSample Output rnrnrn505rn100000rnrn#include"stdio.h"rn#include"string.h"rnint main()rnrn int i,top,j,k,m,n;rn char a[51],b[51],c[54];rn scanf("%s %s",a,b);rn rn top=0;rn n=m=0;rn for(i=strlen(a)-1,j=strlen(b)-1,k=0;i>=-1||j>=-1;i--,j--,k++)rn rn if(i>-1)rn m=a[i]-'0';rn elsern m=0;rn if(j>-1)rn n=a[j]-'0';rn elsern n=0;rn if(top+m+n>9)rn rn c[k]=top+m+n-10+'0';rn top=1;rn rn elsern rn c[k]=top+m+n+'0';rn top=0;rn rnrn k--;rn for(k;k>=0;k--)rn printf("%c",c[k]);rnrn rn
帮忙一下程序!!!!
以下是一个输入 一个输出 一个删除函数rn我想要得的输出结果是:rnrn当我输入:rnrn输入情况如下:rnplease put a age:rn23rn101,zhang,m,23rn102,wang,f,22rn0rn输出rnrn101,zhang,m,23 rn102,wang,f,22rndelete:23rn102,wang,f,22rnrnrn#includern#includernrn#define NULL 0rn#define LEN sizeof(struct student)rnrnrnrnstruct studentrnrn int num;rn char name[6];rn char sex[2];rn int age;rnstruct student *next;rn;rnint n;rnstruct student *creat(void)rnrn struct student *head;rn struct student *p1,*p2;rn n=0; rn p1=p2=(struct student *) malloc(LEN);rn scanf("%d,%s,%s,%d",&p1->num,&p1->name,&p1->sex,&p1->age);rn head=NULL;rn while(p1->num!=0)rn rn n=n+1;rn if(n==1)head=p1;rn else p2->next=p1;rn p2=p1;rn p1=(struct student *)malloc(LEN);rn scanf("%d,%s,%s,%d",&p1->num,&p1->name,&p1->sex,&p1->age );rn rn p2->next=NULL;rn return(head);rnrnvoid print(struct student *head)rnstruct student *p;rnp=head;rnif(head!=NULL)rndornrn printf("%6d,%6s,%6s,%6d\n ", p->num, p->name,p->sex,p->age);rn p=p->next;rnrnwhile(p!=NULL);rnrnrnrnstruct student *del(struct student *head,int num)rnrn struct student *p1,*p2;rn if(head==NULL)rn printf("\nlist null!");rn return(head);rn rn p1=head;rn while(num!=p1->age&&p1->next!=NULL)rn p2=p1;p1=p1->next;rn if(num==p1->age)rn if(p1==head)head=p1->next;rn else p2->next=p1->next;rn printf("delate:%d",num);rn n=n-1;rn rn else printf("%d not befound \n",num);rn return(head);rnrnrnvoid main()rnrn struct student *head;rn int age1;rn printf("please put a age:\n");rn scanf("%d",&age1);rn rn head=creat();rn print(head);rn head=del(head,age1);rn print(head);rnrn输入情况如下:rnplease put a age:rn23rn101,zhang,m,23rn102,wang,f,22rn0rn 101,zhang,m,23 m,23,-855624910 这些码怎么才能消去rn 103,wang,f,22, ,22,-842203096 rn23 not befound 为什么23找不到呢 是什么原因请告我 帮我<em>改</em>一下rnrn 101,zhang,m,23, m,23,-855624910rn 102,wang,f,22, ,22,-842203096rn press any key to continuern rn
帮忙一下ip!
我刚装完SUSE Linux Enterprise 9,不会<em>改</em>ip了,请问再哪里<em>改</em>啊,教教小弟吧!
帮忙一下小代码
String str=JOptionPane.showInputDialog(null,"产品代码:","请输入产品代码",JOptionPane.QUESTION_MESSAGE);rnif(str==null)rnrn?//如何关闭JOptionPane?rnrnelsernrn ...............................//codern if(.....//str的判断)rn rn JOptionPane.showMessageDialog(null,"你输入的代码不存在,请检查输入是否正确或进入新产品入库!","出错了!",JOptionPane.WARNING_MESSAGE);rn ?//如何返回到第一句Sting.................rn rn elsern rn .........//codern rnrn问题在?处,<em>帮忙</em><em>改</em>一下,谢了! rn
VBScript问题,帮忙一下
现在想把一些网站访问,必须是在前面固定的网址跳转才会出现,否则出提示。rn如果直接空白网页复制URL 则提示rnrndim strProperrnstrProper="3.172.122.**,**.***.*****"rnstrProper=split(strProper,",")rnrnfor i = 0 to UBound(strProper)rnif instr(document.referrer,strProper(i))=0 thenrnrn之后怎么写,跳转到的URL
c++菜鸟!!帮忙一下程序!
#includern#includernconst int maxn=2;rnusing namespace std;rnclass studentrnrnstudent();rnvoid show();rnprivate:rn char *name,*number;rn;rnrnstudent::student()rnrnname=new char[50];rnnumber=new char[50];rncin>>name;rncout<>number;rnrnvoid student::show()rnrncout<<<
大神帮忙一下JS代码
我自己在网上找的一段代码自己修<em>改</em>了一下,rn如果加上 rn不能自动计算,必须不在 范围才可以自动计算。rnrn请大神<em>帮忙</em>看看是什么问题。我现在要提交到数据库的,也要输入价钱后自动计算出数字。rn加上提交框不会自动计算代码,rn[code=html]rnrn rn 计算多个文本框数值和 rnrnrn rn在前面两个输入框内输入数字看效果。rn rn rn价格/折扣价 rn数量 rn折扣 rn运费 rn总价/折扣总价rn rnrn[/code]rnrnrn不加提交框代码就可以正常。rn[code=html]rnrn rn 计算多个文本框数值和 rnrnrn rn在前面两个输入框内输入数字看效果。rn rn价格/折扣价 rn数量 rn折扣 rn运费 rn总价/折扣总价rnrn[/code]
帮忙一下存储过程
把where子句变成参数传进去rnrnCREATE procedure GetImageOrderByHotrn(@pagesize int,rn@pageindex int,rn@docount bit)rnasrnset nocount onrnif(@docount=1)rnselect count(Id) from ShineImage where validate = 1rnelsernbeginrndeclare @indextable table(id int identity(1,1),nid int)rndeclare @PageLowerBound intrndeclare @PageUpperBound intrnset @PageLowerBound=(@pageindex-1)*@pagesizernset @PageUpperBound=@PageLowerBound+@pagesizernset rowcount @PageUpperBoundrninsert into @indextable(nid) select Id from ShineImage where validate = 1 order by hits descrnselect O.* from ShineImage O,@indextable t where O.Id=t.nidrnand t.id>@PageLowerBound and t.id<=@PageUpperBound order by t.idrnendrnset nocount offrnGOrn
帮忙一下!
#includern#includern#includerntypedef struct treern rn int data;rn struct tree *lchild;rn struct tree *rchild;rn TREE;rn typedef struct stackrn rn TREE *t;rn int flag;rn struct stack *link;rn STACK;rnrnvoid push(STACK **top,TREE *tree)rn rn STACK *p;rn p=(STACK *)malloc(sizeof(STACK));rn p->t=tree;rn p->link=*top;rn *top=p;rn rnrnvoid pop(STACK **top,TREE **tree)rn rn STACK *p;rn if(*top==NULL)rn *tree=NULL;rn elsern rn *tree=(*top)->t;rn p=*top;rn *top=(*top)->link;rn free(p);rn rn rnrnvoid SearchNode(TREE **tree,int key,TREE **pkpt,TREE **kpt)rn rn *pkpt=NULL;rn *kpt=*tree;rn while((*kpt)!=NULL)rn rn if((*kpt)->data==key)rn return;rn *pkpt=*kpt;rn if(keydata)rn *kpt=(*kpt)->lchild;rn elsern *kpt=(*kpt)->rchild;rn rn rnint InsertNode(TREE **tree,int key)rn rn TREE *p,*q,*r;rn SearchNode(*tree,key,&p,&q);rn if(q!=NULL)rn return 1;rn if((r=(TREE *)malloc(sizeof(TREE)))==NULL)rn return -1;rn r->data=key;rn r->lchild=r->rchild=NULL;rn if(p==NULL)rn *tree=r;rn else if(p->data>key)rn p->lchild=r;rn elsern p->rchild=r;rn return 0;rn rnint DeleteNode(TREE **tree,int key)rn rn TREE *p,*q,*r;rn SearchNode(*tree,key,&p,&q);rn if(q==NULL)rn if(q->lchild==NULL)rn *tree=q->rchild;rn elsern rn *tree=q->lchild;rn r=q->lchild;rn while(r->rchild!=NULL)rn rn r=r->rchild;rn rnrn rn else if(q->lchild==NULL)rn if(q==p->lchild)rn p->lchild=q->rchild;rn elsern p->rchild=q->rchild;rn elsern rn r=q->lchild;rn while(r->rchild!=NULL)rn r=r->rchild;rn r->rchild=q->rchild;rn if(q==p->lchild)rn p->lchild=q->lchild;rn elsern p->rchild=q->lchild;rn rn free(q);rn return 0;rn rnrnvoid OutputTree(TREE *tree)rn rn STACK *top;rn int deep=0,no=0,maxdeep=0;rn top=NULL;rn while(tree!=NULL||top!=NULL)rn rn while(tree!=NULL)rn rn push(&top,tree);rn top->flag=++deep;rn if(maxdeeplchild;rn rn if(top!=NULL)rn rn deep=top->flag;rn no++;rn pop(&top,&tree);gotoxy(no *4,deep +2);rn printf("%d",tree->data);rn fflush(stdout);rn tree=tree->rchild;rn rn rn gotoxy(1,maxdeep+3);rn printf("任意键继续\n");rn getch();rn rn#includern#includern#includernrnvoid main()rn rn TREE *t;rn int op=-1,i,ret;rn t=NULL;rn while(op!=0)rn rn printf("请选择操作,1:增加树结点 2:删出树结点 0:结束操作");rn fflush(stdin);rn scanf("%d",&op);rn switch(op)rn rn case 0:rn break;rn case 1:rn printf("请输入树结点元素:");rn scanf("%d",&i);rn switch(InsertNode(&t,i))rn rn case 0:rn clrscr();rn gotoxy(1,1);rn printf("成功,树结构为:\n");rn OutputTree(t);rn break;rn case 1:rn printf("该元素已存在\n");rn break;rn default:rn printf("内存操作失败\n");rn break;rn rn break;rn case 2:rn printf("请输入要删除元素的树结点元素:\n");rn scanf("%d",&i);rn if(DeleteNode(&t,i)==0)rn clrscr();rn gotoxy(1,1);rn printf("删除成功,树结构为:\n ");rn OutputTree(t);rn rn elsern printf("该键值树结点不存在\n");rn break;rn rn rn rnrn运行有两个错误:1 twoshu.c 58: 指针转换后指向其它类型在 InsertNode 函数中;此句指 SearchNode(*tree,key,&p,&q);rn 2 twoshu.c 76: 指针转换后指向其它类型在 DeleteNode 函数中此句指 SearchNode(*tree,key,&p,&q);
帮忙一下代码
namespace Biz.Client.RP.RP01rnrn public partial class subForm_RP0111 : ControlBasern rn //调用服务器端方法的路径rn string serverCall_Str = "Biz.Server.RP.RP01.DLL#Biz.Server.RP.RP01.BF_RP0111#";rn rn //从数据库中获取RP_UPLOADFLAG的记录rn DataSet ds_BD_SYS = new DataSet();rn DataTable dt_BD_SYS = new DataTable();rnrn public subForm_RP0111()rn rn InitializeComponent();rn rnrn public void LoadAll()rn rn string sSqL = "select t.ssysparm_code, t.ssysparm_vale, t.scorpcode from bd_sys t where t.ssysparm_code='RP_UPLOADFLAG' and t.scorpcode='" + UIP.FrameManager.GetGlobalVariable().CorpCode + "'";rn string[] arr = new string[1];rn arr[0] = sSqL;rn object[] args = new object[1];rn args[0] = arr;rnrn ReturnObject retObj_GetRP_UpLoadFlag = this.UIP.FrameManager.ServerCall(serverCall_Str + "getDataSet",args);rnrn ds_BD_SYS = retObj_GetRP_UpLoadFlag.ReturnValue as DataSet;rn dt_BD_SYS = ds_BD_SYS.Tables["bd_sys"];rnrn //如果不存在RP_UPLOADFLAG的记录rn if (dt_BD_SYS.Rows.Count == 0)rn rn //关闭预算开关rn setRPOpen(false);rn //关闭监管开关rn setJGOpen(false);rn //关闭决算开关rn setBGOpen(false);rn rn //如果存在RP_UPLOADFLAG的记录rn elsern rn //判断RP_UPLOADFLAG的记录是否为Y/Nrn if (dt_BD_SYS.Rows[0]["ssysparm_vale"].ToString() == "Y"rn || dt_BD_SYS.Rows[0]["ssysparm_vale"].ToString() == "N")rn rn //如果RP_UPLOADFLAG的记录为Yrn if (dt_BD_SYS.Rows[0]["ssysparm_vale"].ToString() == "Y")rn rn //打开预算开关rn setRPOpen(true);rn //关闭监管开关rn setJGOpen(false);rn //关闭决算开关rn setBGOpen(false);rn rn rn //如果RP_UPLOADFLAG的记录为Nrn elsern rn //关闭预算开关rn setRPOpen(true);rn //关闭监管开关rn setJGOpen(false);rn //关闭决算开关rn setBGOpen(false);rn rn rn //如果为标准格式数据(BG:Y/N;JG:Y/N;RP:Y/N)rn elsern rn if (dt_BD_SYS.Rows.Count > 0)rn rn string flag = this.dt_BD_SYS.Rows[0]["ssysparm_vale"].ToString();rn switch (flag)rn rn case "RP:N;JG:N;BG:Y":rn setRPOpen(false);rn setJGOpen(false);rn setBGOpen(true);rn break;rn case "RP:N;JG:N;BG:N":rn setRPOpen(false);rn setJGOpen(false);rn setBGOpen(false);rn break;rn case "RP:N;JG:Y;BG:N":rn setRPOpen(false);rn setJGOpen(true);rn setBGOpen(false);rn break;rn case "RP:N;JG:Y;BG:Y": rn setRPOpen(false);rn setJGOpen(true);rn setBGOpen(true);rn break;rn case "RP:Y;JG:N;BG:N":rn setRPOpen(true);rn setJGOpen(false);rn setBGOpen(false); rn break;rn case "RP:Y;JG:N;BG:Y":rn setRPOpen(true);rn setJGOpen(false);rn setBGOpen(true);rn break;rn case "RP:Y;JG:Y;BG:N": rn setRPOpen(true);rn setJGOpen(true);rn setBGOpen(false);rn break;rn case "RP:Y;JG:Y;BG:Y":rn setRPOpen(true); rn setJGOpen(true);rn setBGOpen(true);rn break;rn rn rn elsern rn //关闭预算开关rn setRPOpen(false);rn //关闭监管开关rn setJGOpen(false);rn //关闭决算开关rn setBGOpen(false);rn rn rn rn rnrn /// rn /// 设置预算开关状态rn /// rn /// rn private void setRPOpen(bool beOpen)rn rn if (beOpen == true)rn rn this.yytRadioButton_RP_Open.Checked = true; rn rn elsern rn this.yytRadioButton_RP_Close.Checked = true;rn rn rn /// rn /// 获取预算开关状态rn /// rn /// rn private bool getRPOpen()rn rn if (this.yytRadioButton_RP_Open.Checked == true)rn rn return true;rn rn else if (this.yytRadioButton_RP_Close.Checked == true)rn rn return false;rn rn return false;rn rnrn /// rn /// 设置监管开关状态rn /// rn /// rn private void setJGOpen(bool beOpen)rn rn if (beOpen == true)rn rn this.yytRadioButton_JG_Open.Checked = true; rn rn elsern rn this.yytRadioButton_JG_Close.Checked = true;rn rn rn /// rn /// 获取监管开关状态rn /// rn /// rn private bool getJGOpen()rn rn if (this.yytRadioButton_JG_Open.Checked == true) rn rn return true;rn rn else if (this.yytRadioButton_JG_Close.Checked == true)rn rn return false;rn rn return false;rn rnrn /// rn /// 设置决算开关状态rn /// rn /// rn private void setBGOpen(bool beOpen)rn rn if (beOpen == true)rn rn this.yytRadioButton_BG_Open.Checked = true; rn rn elsern rn this.yytRadioButton_BG_Close.Checked = true;rn rn rn /// rn /// 获取决算开关状态rn /// rn /// rn private bool getBGOpen()rn rn if (this.yytRadioButton_BG_Open.Checked == true) rn rn return true;rn rn else if (this.yytRadioButton_BG_Close.Checked == true)rn rn return false;rn rn return false;rn rnrn private string getAllOpenStatus()rn rn //三个开关的状态rn string allOpenStatus ="";rn //预算开关状态rn string RPOpenStatus="";rn //决算开关状态rn string BGOpenStatus="";rn //监管开关状态rn string JGOpenStatus="";rnrn if (getBGOpen() == true)rn rn BGOpenStatus = "BG:Y";rn rn if (getBGOpen() == false)rn rn BGOpenStatus = "BG:N";rn rn if (getJGOpen() == true)rn rn JGOpenStatus = "JG:Y";rn rn if (getJGOpen() == false)rn rn JGOpenStatus = "JG:N";rn rn if (getRPOpen() == true)rn rn RPOpenStatus = "RP:Y";rn rn if (getRPOpen() == false)rn rn RPOpenStatus = "RP:N";rn rn rn allOpenStatus=RPOpenStatus + ";" + JGOpenStatus + ";" + BGOpenStatus;rn return allOpenStatus; rn rnrn private void btn_Save_Click(object sender, EventArgs e)rn rn Datasave();rn rn //退出rn private void btn_Exit_Click(object sender, EventArgs e)rn rn dt_BD_SYS.Rows[0]["ssysparm_vale"] = getAllOpenStatus();rn rn if (dt_BD_SYS.GetChanges() == null)rn rn this.UIP.FrameManager.CloseSubForm();rn rn elsern rn DialogResult dr = this.UIP.FrameManager.ShowQuestion("!提示","数据已<em>改</em>变,是否要保存?", MessageBoxButtons.YesNo);rn if (dr == DialogResult.Yes)rn rn Datasave();rn rn elsern rn this.UIP.FrameManager.CloseSubForm();rn rn rn rn rn点击退出时,无论数据是否<em>改</em>变都出提示框为什么?
帮忙一下 js
想把超链接 <em>改</em>成 一点击 就出来个弹出框 。需要<em>改</em>js
谁能帮忙一下!!!
rnrnrnrnrn让两个按钮同时闪烁,一个闪烁另一个不闪烁
帮忙一下错
请好心人<em>帮忙</em><em>改</em>一下错rnrnWarning: chkinput::include(conn/conn.php) [chkinput.include]: failed to open stream: No such file or directory in D:\AppServ\www\xiaoyuan\admin\chkadmin.php on line 15rnrnWarning: chkinput::include() [function.include]: Failed opening 'conn/conn.php' for inclusion (include_path='.;C:\php5\pear') in D:\AppServ\www\xiaoyuan\admin\chkadmin.php on line 15rnrnWarning: mysql_query(): supplied argument is not a valid MySQL-Link resource in D:\AppServ\www\xiaoyuan\admin\chkadmin.php on line 16rnrnWarning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in D:\AppServ\www\xiaoyuan\admin\chkadmin.php on line 17rnrnrnrn下面是chkadmin.php的代码rnname=$x;rn $this->pwd=$y;rn rnrn function checkinput()rn rn include("conn/conn.php");rn $sql=mysql_query("select * from tb_admin_user where name='".$this->name."'",$conn);rn $info=mysql_fetch_array($sql);rn if($info==false)rn rn echo " ";rn exit;rn rn elsern rn if($info[pwd]=='$pwd')rn header("location:index.php");rn rn elsern rn echo " ";rn exit;rn rnrn rn rn rnrnrn $obj=new chkinput(trim($_POST[name]),md5(trim($_POST[pwd])));rn $obj->checkinput();rnrn?>rnrnrnrn下面是 admin_user.php的代码rnrnrn rn rn rnrnrn rn rnrn rn rn rn rn rn rn rn rn rn rn rn rn 用户名:rn rn 密 码:rn rn rn rn rn rn rn rn rnrnrnrn
JAVA帮忙一下
test1.txt文本里有几行数如rn2;4;5;9;9;rn8;6;5;3;2;rn7;5;6;8;9;rn读取txt里的数 <em>求</em>出每一行数相加的和写到每行最后 运行结果 如下rn2;4;5;9;9;29;rn8;6;5;3;2;24;rn7;5;6;8;9;35;rnrn<em>求</em>正解 要<em>求</em>用vectorrn[code=Java][/code]rnpackage jiasuan;rnrnimport java.io.BufferedReader;rnimport java.io.File;rnimport java.io.FileReader;rnimport java.io.FileWriter;rnimport java.io.PrintWriter;rnimport java.util.*;rnpublic class VectorTest rnrn public VectorTest() rn rn public static void main (String[] args)throws Exceptionrn rn File fileName = new File("d:" + File.separator + "test1.txt") ;rn BufferedReader in=new BufferedReader(new FileReader(fileName));rn String str=" ";rn Vector list=new Vector();rn while((str=in.readLine())!=null)rn str=str.replaceAll("\\b","");rn rn int sum = 0;rn Scanner sc = new Scanner(fileName);rn while (sc.hasNextInt()) rn sum += sc.nextInt();rn rn sc.close();rn PrintWriter writer = new PrintWriter(new FileWriter(fileName,true));rn writer.print(sum+";");rn rn writer.close();rn rn rn rnrn
帮忙一下代码!
下面这段代码本来我以为写对了,也交差了,后来才发现s与v的值都少除255。这下我该怎么办呢,地址都是字节地址却要传一个双精度数?rnrn......rntype//相关类型定义rn TRGB=recordrn R,G,B:BYTE;rn end;rn TRGBLine=array[0..65535]of TRGB;rn PRGBLine=^TRGBLine;rn arr=array[0..255]of byte;rn THue=0..359;rn THSV=recordrn H:THue;rn S,V:byte;rn end;rn......rnprocedure TForm1.Button1Click(Sender: TObject);rnvar i,j:integer;rn scanline:PRGBLine;rn H:Thue;rn S,V:byte;rn bmp:Tbitmap;rnbeginrn bmp:=TBitmap.Create;rn bmp.Assign(image1.picture.Bitmap);rn for i:=0 to image1.Height-1 dorn beginrn scanline:=Bmp.Scanline[i];rn for j:=0 to bmp.Width-1 dorn beginrn rgb2hsv(scanline[j].R,scanline[j].G,scanline[j].B,H,S,V);rn scanline[j].R:=H;rn scanline[j].G:=S;//现在要把s和v的值都除255,除了之后就变成double了,因为s和v的值本来是0到255之间的数rn scanline[j].B:=V;rn end;rn end;rn Image2.Picture.Bitmap.Assign(bmp);rn Image2.Refresh;rn bmp.Free;rnend;rn
帮忙一下路径:
rnrn rnrnrnfloatads('http://ad.51job.com/phpAD/adtrace.php?ID=8338075' 特别是这条,我应该怎么<em>改</em>呢?rn'http://image.51job.com/im/careerpost/peixun/success/6565.gif'rn请问这两个路径我怎么<em>改</em>才可以在本地测试成功呢?rn
帮忙一下代码?
这是一个点击按钮让图层从左向右移动的代码,我想另外加上一个按钮,点击时让图层rn停下来再从右向左移动,各位<em>帮忙</em>!谢谢rnrnrn rn
帮忙一下 C++
高手们,<em>帮忙</em><em>改</em>一下;rn#include "stack.h"rn#include rn#includernint change(char theta)rnrn switch(theta)rn rn case '+':rn rn return 0;rn rn break;rn rn case '-':rn rn return 1;rnrn break;rn rn case '*':rn rn return 2;rn rn break;rn rn case '/':rn rn return 3;rn break;rnrn case '(':rnrn return 4;rnrn break;rnrn case ')':rnrn return 5;rnrn break;rnrn case '#':rnrn return 6;rnrn break;rnrn rnrn return 0;rnrnrnint Precede(char theta1,char theta2)rnrnrn int a[7][7]=3,3,1,1,1,3,3,3,3,1,1,1,3,3,3,3,3,3,1,3,3,3,3,3,3,1,3,3,1,1,1,1,1,2,0,3,3,3,3,0,3,3,1,1,1,1,1,0,2;rnrn return(a[change(theta1)][change(theta2)]);rnrnfloat Operate(float a,char theta,float b)rnrnrn switch(theta)rnrn rnrn case '+':rnrn return(a+b);rnrn break;rnrn case '-':rnrn return(a-b);rnrn break;rnrn case '*':rnrn return(a*b);rn break;rnrn case '/':rnrn return(a/b);rnrn break;rnrn rnrn return 0;rnrnrnint main()rnrnrnrn float number=0;rnrn char c,x;rnrnrn int dot=0;rnrn int mark=0;rnrn char theta;rnrn float a,b;rnrn stack *OPTR;rnrn stack *OPND;rnrn OPTR=InitStack ();rnrn OPND=InitStack ();rnrn fstream infile;rnrn fstream outfile;rnrn infile.open("input.txt",ios::in);rnrn if(!infile)rnrn rnrn cout<< (OPTR,'#');rnrn outfile<<<< (OPTR)!='#')rnrn rnrn while((c>='0'&&c<<
帮忙一下程序。
程序功能:实现java与oracle数据库的连接rn编译通过了,也<em>没</em>有任何错误。rn但运行结果是:errorrnrn另外:数据库运行正常,是什么原因呢?请值教rn程序代码如下:rnimport java.sql.*;rnpublic class oraclejdbc rn public static Connection conn;rn public static Statement stmt;rn public static ResultSet rs;rn public static void main(String[] args) rn tryrn rn Class.forName("oracle.jdbc.driver.OracleDriver");rn System.out.println("jkfkd");rn conn=DriverManager.getConnection("jdbc:oracle:thin:@192.168.0.106:1521:hahamis","bysj","bysj");rn stmt=conn.createStatement();rn rs=stmt.executeQuery("select * from customer");rn while(rs.next())rn rn System.out.println(rs.getString("name"));rn rn rs.close();rn stmt.close();rn conn.close();rn rn catch(Exception e)rn rn System.out.println("Error");rn rn rnrnrnrn
超级链接出现错误,帮忙一下
a:link font-size: 12px; color: #081b55; text-decoration: nonerna:visited font-size: 12px; color: #081b55; text-decoration: nonerna:hover font-size: 12px; color: #ff0000; text-decoration: underlinerna:active font-size: 12px; color: #081b55; text-decoration: nonern#nav adisplay:block; padding:5pxrn#nav a:link,a:visitedfont-size: 12px; color: #081b55; text-decoration: none; background-color:#efefefrn#nav a:hover font-size: 12px; color: #ff0000; text-decoration: underline;background-color:#e6f2e6;rn#nav a:active font-size: 12px; color: #081b55; text-decoration: none;background-color:#efefefrnrn我用adisplay:block做导航,使其以块显示,结果页面中其它的超级链接都成了块了,并且ID<em>没</em>有用错,不知道什么原因。rn<em>求</em>高手<em>帮忙</em>回答,是不是继承上出现问题了?rnrn
帮忙一下java贪吃蛇的代码
//主界面OK<em>没</em>问题rnimport javax.swing.*;rnimport java.awt.*;rnimport java.util.*;rnimport java.awt.event.*;rnrnpublic class bb extends JFramernrnrn JPanel jpTop=new JPanel();rn JButton jbn1=new JButton("开始");//游戏开始按钮rn JButton jbn2=new JButton("暂停"); //游戏暂停按钮rn JButton jbn3=new JButton("重置"); //游戏暂停按钮rn boolean isPause = false; //游戏暂停标志rn int score = 0; //当前得分rn JLabel jlb1 = new JLabel("得分:");rn JLabel jlbScroe = new JLabel("0");rn JLabel jlb2 = new JLabel("等级:");rn JLabel jlbGrade = new JLabel("0");rn ButtonGroup buttonGroup1 = new ButtonGroup();rn JRadioButton jbnLow = new JRadioButton("初级", true);rn JRadioButton jbnMid = new JRadioButton("中级");rn JRadioButton jbnHigh = new JRadioButton("高级");rn JPanel jpSouth = new JPanel();rn aa p=new aa();rnrn public bb()rn rn getContentPane().add(p,"Center");rn buttonGroup1.add(jbnLow);buttonGroup1.add(jbnMid);buttonGroup1.add(jbnHigh);rn jpTop.add(jbn1);jpTop.add(jbn2);jpTop.add(jbn3);jpTop.add(jbnLow);jpTop.add(jbnMid);jpTop.add(jbnHigh);rn getContentPane().add(jpTop,"North");rn jpSouth.add(jlb1);jpSouth.add(jlbScroe);jpSouth.add(jlb2);jpSouth.add(jlbGrade);rn getContentPane().add(jpSouth,"South");rn jbn1.addActionListener(new ActionListener()rn rn public void actionPerformed(ActionEvent e)rn rn p.requestFocus(true);rn (new Thread(p)).start();rn rn );rn jbn2.addActionListener(new ActionListener()rn rn public void actionPerformed(ActionEvent e)rn rn p.requestFocus(true);rn if (p.isPause == true)rn rn jbn2.setText("暂停");rn rn if (p.isPause == false)rn rn jbn2.setText("继续");rn rn p.isPause = !p.isPause;rn rn );rn jbn3.addActionListener(new ActionListener()rn rn public void actionPerformed(ActionEvent e)rn rn dispose();rn new bb();rn rn );rn jbnLow.addActionListener(new ActionListener()rn rn public void actionPerformed(ActionEvent e)rn rn p.speed=500;rn rn );rn jbnMid.addActionListener(new ActionListener()rn rn public void actionPerformed(ActionEvent e)rn rn p.speed=300;rn rn );rn jbnHigh.addActionListener(new ActionListener()rn rn public void actionPerformed(ActionEvent e)rn rn p.speed=100;rn rn );rn setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);rn setVisible(true);rn setSize(700,700);rn validate();rnrn rn public static void main(String args[])rn rn new bb();rnrn rnrnrn//一个点的设置OK <em>没</em>问题rnpublic class Pointsrnrn int x,y;rn public Points(int x,int y)rn rn this.x=x;rn this.y=y;rn rn public int getX()rn rn return x;rn rn public int getY()rn rn return y;rn rn public void setX(int x)rn rn this.x=x;rn rn public void setY(int y)rn rn this.y=y;rn rnrnrn[color=#FF0000]//蛇动,食物创建,主要问题都在这里,我的蛇动的时候是整条一起动,不是一个点,食物也吃不到,[/color]rnimport javax.swing.*;rnimport java.awt.*;rnimport java.util.*;rnimport java.awt.event.*;rnimport java.lang.Math.*;rnrnpublic class aa extends JPanel implements Runnable,KeyListenerrnrn Points p=new Points(100,100);rn Points food=new Points(300,300);//食物rn int count;//蛇身体的节点数rn int score = 0;int top=0;//分数rn int speed=500;//速度rn boolean isPause=false;//判断是否停止rn ArrayList ls=new ArrayList();//蛇身rn int level = 0;//游戏等级rn Points up=new Points(80,80);Points down=new Points(80,80);rn Points left=new Points(80,560);Points right=new Points(560,80);rn int direction=0;//0 -right 1-left 2-down 3-uprn public aa()rn ls.add(p);rn makeFood();rn addKeyListener(this);rn rn public void paint(Graphics g)rn rn if(!isPause)rn rn move(direction);rn rn super.paintComponent(g);rnrn g.setColor(Color.BLACK);rn int x=up.getX();rn int y=up.getY();rn g.fillRect(x,y,482,2);rn x=down.getX();rn y=down.getY();rn g.fillRect(x,y,2,480);rn x=left.getX();rn y=left.getY();rn g.fillRect(x,y,482,2);rn x=right.getX();rn y=right.getY();rn g.fillRect(x,y,2,480);rnrn g.setColor(Color.BLACK);rn x=p.getX();rn y=p.getY();rn g.fillRect(x,y,10,10);rnrn x=p.getX()+11;rn y=p.getY();rn ls.add(new Points(x,y));rn g.fillRect(x,y,10,10);rnrnrn g.setColor(Color.RED);rn g.fillRect(food.x,food.y,10,10);rnrn rn public void keyPressed(KeyEvent e)rn rn //决定方向rn if(!isPause)rn rn if(e.getKeyCode()==KeyEvent.VK_DOWN && direction!=2 && direction!=3)rn direction=2;rn if(e.getKeyCode()==KeyEvent.VK_UP && direction!=3 && direction!=2)rn direction=3;rn if(e.getKeyCode()==KeyEvent.VK_RIGHT && direction!=0 && direction!=1)rn direction=0;rn if(e.getKeyCode()==KeyEvent.VK_LEFT && direction!=1 && direction!=0)rn direction=1;rn rnrn rn public void move(int d)rn //Points point1=(Points)ls.get(0);rn //Points p0 = new Points(point1.x,point1.y);rn int x=p.getX();rn int y=p.getY();rn if(d==0)rn rn x=x+10;rn //p0.x=p0.x+10;ls.add(0,p0);rn rn if(d==1)rn rn x=x-10;rn //p0.x=p0.x-10;ls.add(0,p0);rn rn if (d==2)rn rn y=y+10;rn //p0.y=p0.y+10;ls.add(0,p0);rn rn if(d==3)rn rn y=y-10;rn //p0.y=p0.y-10;ls.add(0,p0);rn rn p.setX(x);rn p.setY(y);rn rnrn private void makeFood()rn rn int x=40+(int)(Math.random()*30)*12;rn int y=10+(int)(Math.random()*30)*12;rn food=new Points(x,y);rn rnrn private boolean isEat()rn rn Points snakehead=(Points)ls.get(0);rn if(food.x==snakehead.x&&food.y==snakehead.y)rn rn count++;rn return true;rn rn elsern return false;rn rn public void keyReleased(KeyEvent e)rn public void keyTyped(KeyEvent e)rn public void run()rn rn while (true)rn rn //需要<em>改</em>变每个方块的位置rn Points point1=(Points)ls.get(0);rn Points p0 = new Points(point1.x,point1.y);rn switch (direction)rn rn case 0:p0.x=p0.x+10;ls.add(0,p0);break;rn case 1:p0.x=p0.x-10;ls.add(0,p0);break;rn case 2:p0.y=p0.y+10;ls.add(0,p0);break;rn case 3:p0.y=p0.y-10;ls.add(0,p0);break;rnrn rn //设一个成员变量,4个值,决定蛇移动的方向rn rn repaint();rn tryrn Thread.sleep(speed);rnrn catch(Exception ee)rnrn rn rnrn rnrnrnrn<em>求</em>各位高手,我<em>实在</em>是不会<em>改</em>了
请各位大佬帮忙看一下
各位<em>大佬</em><em>帮忙</em>看一下做的坦克大战的游戏,不知道为什么生成敌人的坦克的时候总是在凤凰老家的位置生成,明明代码里面<em>没</em>写这个位置的
JavaScript大佬排一下
![图片说明](https://img-ask.csdn.net/upload/201811/11/1541921864_730464.png)rnrnrnrn 这个是问题: 在365影视网中,将影片名称和影片主演分别定义在数组中,应用for循环语句和数组对象的length属性循环输出影片信息。rn rn var arr=new Array ("终结者5","飓风营救","我是传奇","一线声机","罗马假日","史密斯夫妇","午夜邂逅");rnfor(var i=0;i
大佬指定一下分析函数
[img=https://img-bbs.csdn.net/upload/201804/23/1524475402_839010.png][/img]rnrn上面是查询出的结果rnrn下面是预期的结果,rnrn每一列的a4 = a1+a2-a3rnrn每一列的a1等于上一行计算出来的a4rnrn不知有<em>没</em>有办法实现这个效果
有点迷茫,有大佬解答一下
现在在一个小公司,整个公司就我一个开发人员,只能怪我刚毕业急着找工作,<em>没</em>多做了解就进来了。。rn是一个做股票投资的,我进来先帮他们搞了微信公众号开发,又接连做了好几个小页面,基于此我自己开发了一个后台管理系统。。后台他们想搞个直播网页,又是各种看文档查资料,搭起来了。。然后现在基本上就满足了他们业务需<em>求</em>了,所以我现在<em>没</em>事做了。。rn现在迷茫在于,我<em>没</em>人带,可以看出来我重头到尾都是一个人在开发,我也不知道自己做的东西好还是差,除了之前实习,这就是我第一份工作,我也在考虑辞职,可是现在年底也不好找。。rnrn重点在于,我不知道,如何提高自己的java开发能力。rnrn所以请教一下<em>大佬</em>,我应该如何提高自己的水平,希望能给个[b]java学习路线[/b]!!rnrn
各位大佬 网站密码验证码只收到四次后就收不到了 (是发到QQ邮箱里的) 各位大佬帮忙
 各位<em>大佬</em> 网站<em>改</em>密码验证码只收到四次后就收不到了 (是发到QQ邮箱里的)<em>求</em>各位<em>大佬</em><em>帮忙</em>
实在分了,各位大哥帮忙看下,很简单!
有两个页面rnA页 B页rnrnB页是用框架的型式插入到A页里的, B页里的<em>内容</em>是动态增加的,当<em>内容</em>量超过一定的时候会在A页里出现下拉框,,我想实现怎么让这个下垃框总是在最下面的,总是能显示出最下面的<em>内容</em>,谢谢!
为什么单机按钮结果,各位大佬帮忙
Private Sub Form_Click()rnDim a%, b%rna = 3: b = 4rnCall s(a, b)rnPrint a, brnEnd SubrnPrivate Sub s(x As Integer, y As Integer)rnx = x * 100rny = y * 100rnEnd Subrn
高人来指点一下?我实在搞明白
这个问题核心就是关于元注解@Inherited()的。rn这里有篇关于我探究的关于@Inherited()的文章:http://blog.csdn.net/xingshen100/article/details/17506011rnrn试验结论是:对于使用元注解@Inherited()修饰的自定义注解。作用在类上的自定义注解可以被继承下来。作用在接口上自定义注解不能被实现它的类继承下来。rnrn类和接口中方法上的自定义注解不能被重写/实现了其方法的子类继承(就是说,接口因为被子类实现的时候,方法必被实现,所以其方法上的自定义注解必定不能被继承。而子类如果<em>没</em>有重写父类的方法的话,子类就可以继承父类方法上的自定义注解)。rnrn这几篇代码主要目的就是通过动态代理来实现权限拦截的。rn但是我在一个小工程中却发现在动态代理中却能检测到实现了接口的子类能够继承接口中方法上的自定义注解。我感觉这与我试验中的结论相悖。<em>求</em>高人指点???现将几篇相关代码贴在下面:rnrnrn1.自定义注解:rn[code=java]rnpackage cn.it.utils;rnrnimport java.lang.annotation.ElementType;rnimport java.lang.annotation.Inherited;rnimport java.lang.annotation.Retention;rnimport java.lang.annotation.RetentionPolicy;rnimport java.lang.annotation.Target;rnrn@Retention(RetentionPolicy.RUNTIME)rn@Target(ElementType.METHOD)rn@Inherited //代表注解是可以被继承的。rnpublic @interface UserPrivilegeInfo rn public String privilege(); // 它代表的是权限.rnrnrn[/code]rnrnrn2.接口类:rn[code=java]rnpackage cn.it.service;rnrnimport cn.it.domain.User;rnimport cn.it.utils.UserPrivilegeInfo;rnrnpublic interface BookService rn @UserPrivilegeInfo(privilege = "修<em>改</em>图书")rn public void update(User user) throws Exception;rnrn @UserPrivilegeInfo(privilege = "查看图书")rn public void find(User user) throws Exception;rnrn @UserPrivilegeInfo(privilege = "删除图书")rn public void delete(User user) throws Exception;rnrn @UserPrivilegeInfo(privilege = "添加图书")rn public void add(User user) throws Exception;rnrnrnrn[/code]rnrn3.实现接口的子类:rn[code=java]rnpackage cn.it.service;rnrnimport cn.it.dao.BookDao;rnimport cn.it.domain.User;rnimport cn.it.utils.UserPrivilegeInfo;rnrnpublic class BookServiceImpl implements BookService rnrn public void delete(User user) rn // 1.得到这个方法上的注解.rn // 2.得到当前操作这个方法的用户。rn // 3.查询数据库,判断用户具有什么权限,与注解上的权限比较。rnrn BookDao dao = new BookDao();rnrn dao.delete();rn rnrn public void update(User user) rn BookDao dao = new BookDao();rnrn dao.update();rn rnrn public void find(User user) rn BookDao dao = new BookDao();rnrn dao.find();rn rnrn public void add(User user) rn BookDao dao = new BookDao();rnrn dao.add();rn rnrnrn[/code]rnrn4.含有动态代理的工厂类:rn[code=java]rnpackage cn.it.service.factory;rnrnimport java.lang.reflect.InvocationHandler;rnimport java.lang.reflect.Method;rnimport java.lang.reflect.Proxy;rnimport java.util.List;rnrnimport javax.persistence.Temporal;rnrnimport org.apache.commons.dbutils.QueryRunner;rnimport org.apache.commons.dbutils.handlers.ColumnListHandler;rnimport org.junit.Test;rnrnimport cn.it.domain.User;rnimport cn.it.service.BookService;rnimport cn.it.service.BookServiceImpl;rnimport cn.it.utils.DataSourceUtils;rnimport cn.it.utils.UserPrivilegeInfo;rnrnpublic class BookServiceFactory rnrn private static BookService service = new BookServiceImpl();rnrn // 提供一个静态的方法,可以获取BookService对象.rn @Testrn public static BookService getBookService() rnrn BookService bs = (BookService) Proxy.newProxyInstance(servicern .getClass().getClassLoader(), service.getClass()rn .getInterfaces(), new InvocationHandler() rnrn public Object invoke(Object proxy, Method method, Object[] args)rn throws Throwable rn // 得到注解上的权限名称.rn if (method.isAnnotationPresent(UserPrivilegeInfo.class)) rn // 得到注解的属性值.rn String privilegeName = method.getAnnotation(rn UserPrivilegeInfo.class).privilege();rnrn System.out.println(method.getName() + "这个方法它要执行,需要权限"rn + privilegeName);rnrn // 得到当前method方法被执行user对象.rn User user = (User) args[0];rn // 在数据库中查找当前用户具有的权限.rn String sql = "select privileges.name from users,privileges,userprivilege where users.id=userprivilege.user_id and privileges.id=userprivilege.privilege_id and users.id=?;";rn QueryRunner runner = new QueryRunner(DataSourceUtilsrn .getDataSource());rnrn List ps = runner.query(sql,rn new ColumnListHandler(), user.getId());rnrn if (ps.contains(privilegeName)) rn return method.invoke(service, args);rn else rn throw new RuntimeException("权限不足");rn rnrn rn return method.invoke(service, args);rnrn rn );rnrn return bs;rnrn rnrn[/code]
各位汇编大佬解答
[img=https://img-bbs.csdn.net/upload/201707/09/1499569464_551914.jpg][/img]小白今年刚学汇编,用的书是《intel汇编程序设计》书中提供了irvine32.inc、irvine32.lib。据C<em>语言</em>的学习知道,.inc文件相当于.h文件,不链接静态库是<em>没</em>有任何用的,于是我用link.exe 链接了2.obj,irvine32.lib,结果就发生了如图所示的错误,我也不知道为什么,文件夹权限也<em>改</em>了,甚至DOSbox都用管理员权限运行,然而并<em>没</em>有什么用,不太懂怎么回事,<em>求</em><em>大佬</em>解答。rn
c语言大佬
#include&amp;lt;stdio.h&amp;gt;main(){    char b,c='y'; scanf(&quot;%c&quot;, &amp;amp;b); printf(&quot;\n&quot;); if (b == 'Y')        c=getchar(); printf(&quot;%c&quot;,c);}各位c<em>语言</em>大神请看这一个简短的代码,我从键盘输入b的值得时候输入的是Y,按了enter键之后直接就结束了,<em>没</em>有出入c的值,为什么它<em>没</em>...
正则表达式,谢谢各位大佬
我有一段字符串[code=java]"2018-12-01 12:00:00,我是第一,2018-12-02 12:00:00,是第二,2018-12-03 12:00:00,第三,"[/code],我现在想用一个正则在后台截取成:rn[code=java]"2018-12-01 12:00:00,我是第一,","2018-12-02 12:00:00,是第二,","2018-12-03 12:00:00,第三,"[/code]rn这样的数组。怎么办??<em>求</em>各位大神
各位大佬通俗解释下
![图片](https://img-ask.csdn.net/upload/201706/03/1496475705_796426.png)
各位大佬路过指教
CDH环境下用java jdbc连接impala 有kerberos认证,<em>求</em>看了几天的博客了,<em>求</em>指教
大佬帮忙,我试了好多种办法搞定
一直搞不到,查了百度看了论坛adb也被占用[img=https://img-bbs.csdn.net/upload/201905/23/1558577958_227370.jpg][/img]
各位大佬帮看一下
写好这个程序之后运行是空白的,随便打两个字回车一下就关了,<em>没</em>有出现预想的-xxxxxxx[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/monkey/11.gif][/img][img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/monkey/11.gif][/img][img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/monkey/11.gif][/img]nn# include nnint main(void)nnchar ch;nint i;nnscanf("%c%d",&ch);nnprintf("ch=%c,i=%d\n",ch,i);nnreturn 0;n
新手大佬帮忙看看
刚学C<em>语言</em>,<em>实在</em><em>没</em>法理解。昨天自己憋了一下午,也<em>没</em>看出什么地方有问题。rn[code=c]#pragma warning(disable:4996)rn#includernint main()rnrn char str1[30], str2[30];rn printf("please enter string:");rn gets(str1);rn printf("which character that begin to copy? ");rn int m;rn scanf("%d", &m);rn void str_c(char x[], char y[], int n);rn str_c(str1, str2, m);rn printf("%s\n", str2);rn return 0;rnrnvoid str_c(char x[], char y[], int n)rnrn int i;rn for (i = n; i != '\0'; i++)rn rn y[i - n] = x[i];rn y[i - n] = '\0';rnrn[/code]rnrnrn后面写的str_c 函数目的是想把字符串x中第n个字符后面的复制到字符串y中去。真的无法理解为什么这么写会运行出错?rn有<em>没</em>有前辈解释一下哪错了?谢谢
大佬帮忙做个网页
[img=https://img-bbs.csdn.net/upload/201805/18/1526627276_320109.jpg][/img][img=https://img-bbs.csdn.net/upload/201805/18/1526627288_701578.jpg][/img][img=https://img-bbs.csdn.net/upload/201805/18/1526627298_784614.jpg][/img][img=https://img-bbs.csdn.net/upload/201805/18/1526627304_843611.jpg][/img]做成效果图那样的,在线等,挺急的!!!!
大佬帮忙看看
eclipse一直报An internal error occurred during: "Computing Git status for repository hp222".Trailing char < > at index 82: C:\Users\hp222\AppData\Roaming\duowan\yy\mainframe\theme\float\star-V1-V6-apng.png
大佬帮我代码进入网站
rnrnrn rn rn rn rn Login — LION CMSrn rn rn rn rn rnrnrn rn rnrnrn rn rnrn rn rn rn rn rn rn rn rn rn rn rn rn 手机号:rn rn rn rn rn rnrn rn rn 验证码:rn rn rn rn rn rn rn rn rnrn rn 登录 rn rn rn rn rnrn rnrn
向各位高人一个正则表达式,实在研究明白?
<em>求</em>个正则:rnrn固定电话格式(XXXX-XXXXXXX)rnX全是数字,前四位是区号以0打头(这个俺会),在这个基础上要<em>求</em>前四位不能是0411、0412、0416、0510(这个研究半天也<em>没</em>弄明白),<em>求</em><em>帮忙</em>。
帮忙code
[img=https://img-bbs.csdn.net/upload/201310/09/1381259606_696609.png][/img]rn请高手<em>帮忙</em>写个method ,下面是一部分,<em>求</em>补全这个method。rncilk void notempmul (long nb, block *A, block *B, block *R)rnrnif (nb == 1) multiplyadd_block(A,B,R);rnelsernblock *C, *D, *E, *F, *G, *H, *I, *J; rnblock *CGDI, *CHDJ, *EGFI, *EHFJ;rn/* get pointers to input submatrices */ rnpartition (nb, A, &C, &D, &E, &F); rnpartition (nb, B, &G, &H, &I, &J);rn/* get pointers to result submatrices */rnpartition (nb, R, &CGDI, &CHDJ, &EGFI, &EHFJ); rn/* solve subproblem recursively */ rnspawn notempmul(nb/2, C, G, CGDI); rnspawn notempmul(nb/2, C, H, CHDJ); rnspawn notempmul(nb/2, E, H, EHFJ); rnspawn notempmul(nb/2, E, G, EGFI);rnsync;rnspawn notempmul(nb/2, D, I, CGDI); rnspawn notempmul(nb/2, D, J, CHDJ); rnspawn notempmul(nb/2, F, J, EHFJ); rnspawn notempmul(nb/2, F, I, EGFI); rnsync;rnrnreturn;rn
where条件实在不知道怎么写,各位大佬帮忙!感激不尽!
问题描述:rndeclare int @Typernselect * from table where ....(此处不会写。。。)rn[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/001/face/35.gif][/img]rn两表联合查询:rntable字段Num有0和1两种值rn当参数@Type的值为0时,查询所有记录(包括0和1)rn当参数@Type的值为1时,查询Num为0的记录rn当参数@Type的值为2时,查询Num为1的记录rnrn<em>求</em>各位大神<em>帮忙</em>,弄得脑壳疼,还是<em>没</em>想出来~
实在分了! 大家帮忙解决下ReportViewer +rdlc 的问题
我现在要做的报表是ReportViewer +rdlc rn现在我的报表<em>内容</em>有 rn人名 状态 订单数 rnvxxx 已确认 3 rndfdf 未确认 1 rndfdf 已确认 1 rn总计 (a) 5 rna 的要<em>求</em>是: 统计状态为已确认的订单数占总订单数的百分比 它的结果应该是(80%) rn请问 各位高手 谁能帮我 解决这个问题 ! 想半天也<em>没</em>搞出来
实在分了,不好意思,但我真的想不出来 ,帮忙了~~~
我用repeater帮定数据,在第一列加了一列 checkbox,我如何在后台获取被选中的行的记录中的某一列的数据,比如id号.将它放如一个数组中,还有我如何用sql语句来获得条件符合数组中的元素的记录
在线急等,请各位大佬帮忙解答一下
DATAWINDOW的数据源各自的特点和适用的场合
make zImage遇到的问题,各位大佬帮忙解决一下啊
scripts/kconfig/conf --silentoldconfig Kconfigrn CHK include/linux/version.hrn CHK include/generated/utsrelease.hrnmake[1]: `include/generated/mach-types.h' is up to date.rn CALL scripts/checksyscalls.shrn CHK include/generated/compile.hrn CC arch/arm/mach-exynos/mach-itop4412.ornarch/arm/mach-exynos/mach-itop4412.c:959: warning: "CONFIG_SPI_SPIDEV" is not definedrnarch/arm/mach-exynos/mach-itop4412.c:1989: warning: function declaration isn't a prototypernarch/arm/mach-exynos/mach-itop4412.c: In function 'init_lcd_type':rnarch/arm/mach-exynos/mach-itop4412.c:1990: warning: unused variable 'err'rnarch/arm/mach-exynos/mach-itop4412.c: At top level:rnarch/arm/mach-exynos/mach-itop4412.c:2012: warning: function declaration isn't a prototypernarch/arm/mach-exynos/mach-itop4412.c: In function 'get_lcd_type':rnarch/arm/mach-exynos/mach-itop4412.c:2014: warning: unused variable 'flags'rnarch/arm/mach-exynos/mach-itop4412.c: At top level:rnarch/arm/mach-exynos/mach-itop4412.c:2051: warning: function declaration isn't a prototypernarch/arm/mach-exynos/mach-itop4412.c:3510: warning: extra tokens at end of #ifdef directivernarch/arm/mach-exynos/mach-itop4412.c: In function 'smdk4x12_machine_init':rnarch/arm/mach-exynos/mach-itop4412.c:4790: warning: extra tokens at end of #ifdef directivern LD arch/arm/mach-exynos/built-in.orn LD drivers/mtk_wcn_combo/common/built-in.orn LD drivers/mtk_wcn_combo/drv_bt/built-in.orn LD drivers/mtk_wcn_combo/drv_fm/built-in.orn LD drivers/mtk_wcn_combo/drv_fm/private/built-in.orn LD drivers/mtk_wcn_combo/drv_fm/public/built-in.orn LD drivers/mtk_wcn_combo/drv_wlan/built-in.orn LD drivers/mtk_wcn_combo/drv_wlan/p2p/built-in.orn LD drivers/mtk_wcn_combo/drv_wlan/wlan/built-in.orn LD drivers/mtk_wcn_combo/gps/built-in.orn LD drivers/mtk_wcn_combo/built-in.orn LD drivers/built-in.orn LD vmlinux.orn MODPOST vmlinux.ornWARNING: modpost: Found 1 section mismatch(es).rnTo see full details build your kernel with:rn'make CONFIG_DEBUG_SECTION_MISMATCH=y'rn GEN .versionrn CHK include/generated/compile.hrn UPD include/generated/compile.hrn CC init/version.orn LD init/built-in.orn LD .tmp_vmlinux1rnarch/arm/mach-exynos/built-in.o: In function `s5p_init_pmic_vibrator':rn/home/topeet/android4.0/iTop4412_Kernel_3.0/arch/arm/mach-exynos/s5p_vibrator.c:166: undefined reference to `timed_output_dev_register'rnarch/arm/mach-exynos/built-in.o: In function `s5p_exit_pmic_vibrator':rn/home/topeet/android4.0/iTop4412_Kernel_3.0/arch/arm/mach-exynos/s5p_vibrator.c:172: undefined reference to `timed_output_dev_unregister'rnmake: *** [.tmp_vmlinux1] Error 1rn
麻烦各位大佬帮忙解答一下小弟的问题
我现在又一款软件,<em>没</em>有源代码(丢失了),然后现在想更<em>改</em>软件界面上的logo,如图所示,有<em>没</em>有方法可行。rn[img=https://img-bbs.csdn.net/upload/201805/24/1527156666_970784.png][/img]rn
小小资源管理器下载
就是一个简化版资源管理,能够浏览系统硬盘的文件和文件夹,使用C#编写,还可以剪切复制粘贴文件等功能。 相关下载链接:[url=//download.csdn.net/download/specialboy000/4103584?utm_source=bbsseo]//download.csdn.net/download/specialboy000/4103584?utm_source=bbsseo[/url]
Scite 小巧编辑器下载
很小巧的一个编辑器,占用资源也很少。ruby脚本编辑支持高亮显示。 相关下载链接:[url=//download.csdn.net/download/captianmorgan/4821717?utm_source=bbsseo]//download.csdn.net/download/captianmorgan/4821717?utm_source=bbsseo[/url]
常用的c#正则表达式下载
常用的 收集一块 使用方便了 不用每次都百度了 相关下载链接:[url=//download.csdn.net/download/baishui2011/4840973?utm_source=bbsseo]//download.csdn.net/download/baishui2011/4840973?utm_source=bbsseo[/url]
相关热词 c# 标准差 计算 c#siki第五季 c#入门推荐书 c# 解码海康数据流 c# xml的遍历循环 c# 取 查看源码没有的 c#解决高并发 委托 c#日期转化为字符串 c# 显示问号 c# 字典对象池
我们是很有底线的