MyEclipse 自动关闭,错误代码看不懂,麻烦高手帮忙看下,是哪个插件出错了 [问题点数:40分]

Bbs1
本版专家分:0
结帖率 97.67%
Bbs1
本版专家分:0
Bbs1
本版专家分:0
Bbs1
本版专家分:0
Bbs7
本版专家分:12777
Blank
黄花 2011年10月 Java大版内专家分月排行榜第二
2011年9月 Java大版内专家分月排行榜第二
Bbs1
本版专家分:63
那位帮忙看下是为什么出错了
/// rn public Goods GetGoodsPlace(Goods name)rn rn foreach (Goods dt in _Goodname)rn rn if (dt.Name == name)rn rn return dt;rn rn rn return null; rn
一个需要了解的DLL文件
求<em>帮忙</em><em>看下</em>,这个DLL文件<em>看不懂</em>,为什么总是需要很长的描述呢
一道简单的C语言题
看一下下面的一段简单的C语言程序,它的输出结果是多少: #include #include int main() { int a=257; char buf[5] = "aaaa"; strcpy(buf ,(char*)&a); printf("%d\n",strlen(buf)); return 0; } 分析:257用二进制表示为:00
htc vc root
无意中得到的,技术方面不是很懂。<em>高手</em><em>帮忙</em><em>看下</em>
麻烦高手帮忙看下...
这是我一个线程函数里的代码:rnrnrn __tryrn SOCKADDR_IN target;rn target.sin_family = AF_INET;rn target.sin_port = htons (PORT);rn target.sin_addr.s_addr = htonl(i);rn mysocket=socket(AF_INET,SOCK_STREAM,IPPROTO_TCP);rn if(mysocket == INVALID_SOCKET)rn __leave;rn //设置socket为非阻塞模式,ul=1.rn iErr = ioctlsocket(mysocket,FIONBIO,(unsigned long*)&ul);rn if(iErr == SOCKET_ERROR)rn __leave;rn connect(mysocket,(struct sockaddr *)&target,sizeof(target));rn FD_ZERO(&w);rn FD_SET(mysocket,&w);rn iErr=select(0, 0, &w, 0, &timeout);rn if(iErr == SOCKET_ERROR || iErr == 0)//如果不可写,则退出rn __leave;rn else//可写则发送数据rn iErr = send(mysocket,SendBuff,SendBuffLen,0);rn if(iErr == SOCKET_ERROR)rn __leave;rn rn FD_ZERO(&r);rn FD_SET(mysocket,&r);rn iErr=select(0, &r, 0, 0, &timeout);rn if(iErr == SOCKET_ERROR || iErr == 0)//如果不可读则退出rn __leave;rn rn else//可读则接受数据rn printf("123");rn iErr = recv(mysocket,RecvBuff,RecvBuffLength,0);rn if(iErr == SOCKET_ERROR)rn __leave;rn rn ptr=strstr(RecvBuff,szSign); rn if(ptr!=NULL)rn printf("response:%s\n",RecvBuff);rn rn __finallyrn ReleaseSemaphore(hSemaphore,1,&PreviousCount);rn closesocket(mysocket);rn rnrn 第2次select的时候老是出错,也就是printf("123");老是打不出来,跟的时候明明到了这句话这。rn 程序的意思就是扫描一个网段的80端口,并发送数据,接受回显,老是出错,别人的源码放我这跑就好好的,基本都是一样 的,为什么我的老错呢?<em>高手</em><em>帮忙</em><em>看下</em>。谢谢。rn
帮忙看下哪里出错了
[code=C/C++]rn#include rn#include rn#include rnrn#define TRUE 1rn#define FALSE 0rn#define OK 1rn#define ERROR 0rn#define INFEASIBLE -1rn#define OVERFALOW -2rnrntypedef int ElemType;rnrntypedef struct LNodernrn ElemType data;rn struct LNode *next;rnLNode,*LinkList;rnrnvoid CreateList_L(LinkList L,int n)rnrn /*--逆位序输入n个元素的值,建立带头节点的单链线性表L--*/rn LinkList p;rn int i;rn L->next=NULL;rn for (i=0;idata));rn p->next=L->next;rn L->next=p;rn rn rnrnrnvoid MergeList_L(LinkList La,LinkList Lb,LinkList Lc)rnrn LinkList pa;rn LinkList pb;rn LinkList pc;rn rn pa=La->next;rn pb=Lb->next;rn Lc=pc=La;rn rn while (pa&&pb)rn rn if(pa->datadata)rn rn pc->next=pa;rn pc=pa;rn pa=pa->next;rn rn rn elsern rn pc->next=pb;rn pc=pb;rn pb=pb->next;rn rn rn rn pc->next=pa ? pb:pa;rn rnrnrnvoid ListPrint_L(LinkList L)rnrn /*--打印单链表的所有元素--*/rn rn while(L->next)rn rn printf("%d ",L->next->data);rn L=L->next;rn rn printf("\n");rnrnrnvoid main() rn rn LNode La;rn LNode Lb;rn LNode Lc;rnrn CreateList_L(&La,3);/*--能创建能打印--*/rn ListPrint_L(&La); /*--输入3 2 1,打印1 2 3--*/rnrn CreateList_L(&Lb,3);/*--能创建能输出--*/rn ListPrint_L(&Lb);/*--输入6 5 4,打印4 5 6--*/rnrn MergeList_L(&La,&Lb,&Lc);/*--合并La,Lb成Lc,--*/rn ListPrint_L(&Lc);/*--期望打印出 1 2 3 4 5 6,但出错--*/rn rn[/code]
帮忙看下哪出错了
将数组a中那个整数按相反顺序存放~!rnvoid inv(int x[],int n)rnrn int temp,i,j,m=(n-1)/2;rn for(i=0;i,a[i]);rn getch();rn rn老是编译结果出错。。。
c出错解决办法
系统集成的出错解决办法,出<em>错了</em><em>看下</em>马上就能解决。
帮忙看下哪里出错了?
CREATE TRIGGER YSB_INSERT ON dbo.ysb rnFOR INSERTrnASrnbegin tranc rnDECLARE @sl int,@pp1 floatrndeclare @sql varchar(8000)rndeclare @cnt floatrnSELECT @sl=数量,@pp1=产品编号 FROM insertedrnset @sql = 'select '+@cnt+' = sum(数量) from ysb where 产品编号='+@pp1rnexec (@sql)rnrnif @sl > @cntrnrnBEGINrn ROLLBACK TRANSACTIONrn RAISERROR('申请数量超过店面半月销量',16,10)rnENDrnelsern.....rnendrnrnrn当软件一执行,提示将VARCHAR转换成FLOAT时出错rn该怎么改呢
日志文件
应该就是安装过程中的错误说明吧 但我<em>看不懂</em>..求<em>高手</em><em>帮忙</em>
麻烦帮我看下这个查询语句,出错了.
代码如下:rnTableName = DatePart("m",DateAdd("m",-1,Date))rnTableNamea = DatePart("m",DateAdd("m",-2,Date))rnsql="select a.*,b.*,a.phonenumber from pstnuser as a LEFT OUTER JOIN "&TableName&"pstn as b ON a.phonenumber=b.phonenumber where not in(select c.*,d.*,c.phonenumber from pstnuser as c LEFT OUTER JOIN "&TableNamea&"pstn as d ON c.phonenumber=d.phonenumber where d.money IS NULL) and b.money IS NULL "rnrnrn我用的ACCESS数据库,提示我ODBC不支持所需的属性
麻烦看下这个程序哪里出错了
[code=C/C++]#include "stdio.h"rnrnstruct sturnrn char name[10];rn int age;rnboya[2],boyb[2],*pp,*qq;rnrnvoid main(int argc,char *argv[])rnrn FILE *fp;rn int i;rn pp=(struct stu *)malloc(sizeof(struct stu));rn qq=(struct stu *)malloc(sizeof(struct stu));rn rn if((fp=fopen("d:\\test.txt","wt+"))==NULL)rn rn printf("can not open file \n press any key to exit");rn getch();rn exit(1);rn rn rn for(i=0;iname);rn printf("please input the %7dth student's age :\n",i+1);rn scanf("%d",pp->age);rn rn rn fwrite(pp,sizeof(struct stu),2,fp);rn rewind(fp);rn rn fread(qq,sizeof(struct stu),2,fp);rn rn for(i=0;iname);rn printf("please input the %7dth student's age is %7d\n",i+1,qq->age);rn rn fclose(fp);rn free(pp);rn free(qq);rn[/code]rn运行的时候输入姓名可以,输入年龄回车后就提示引用的内存不能写,请问是什么原因,我这是仿照谭浩强c语言教材上的例子写的,运行原来的例子也有这种问题。
Windows 错误代码字典查询工具
Windows <em>错误代码</em>字典查询工具,输入要查询的<em>错误代码</em>号,点击查询按钮,就可以查看到<em>错误代码</em>的解释,哪地方出<em>错了</em>。
前端为什么这么麻烦之JavaScript
本文章适合如下人员: .前端吐槽人员 .对前端好奇的人员 .对前端不感冒,但是工作需要和前端组队的人员 对于JavaScript的复制程度我想用如下一段话简单总结一下: 在我的前端生涯中,读到的每本经典JavaScript书籍,基本都能随处可见如下提示: 这是一个很大的话题,如果你对XXX部分感兴趣,推荐阅读某某著的XXX书籍; 有限的篇幅里不能提供一个详尽的XXX方面的教材,但...
myeclipse或eclipse自动关闭问题
说明:在做java web 开发的时候,我遇到过
高手帮忙修改js代码
请<em>高手</em><em>帮忙</em>修改js代码,愿意出500分求解。
看不懂那里出错了
jsp+oraclernrn出现这样的错误javax.servlet.ServletException: ORA-01653: ?TAX.ARTICLE????8?????TAX????rnrn org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:673)rn org.apache.jsp.tax_005fweb.taxadmin.list.article_005fsubmit_jsp._jspService(article_005fsubmit_jsp.java:166)rn org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:856)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:856)rnrn为什么亚。
MyEclipse自动关闭(原因和解决方案)
<em>自动关闭</em>的原因可能是eclipse目录下eclipse.ini文件的设置上有问题,一般的ini文件设置主要包括以下几项: -vmargs -Xms40m -Xmx256m -XX:PermSize=64M -XX:MaxPermSize=128M 以下解释其意思。 -vmargs:说明后面是VM的参数 -Xms40m:虚拟机占用系统的最小内存 -Xmx256m:虚拟机占用系统的最
myeclipse自动关闭问题
<em>myeclipse</em>正在运行,突然<em>自动关闭</em>。 然后再打开后,项目为加载好又<em>自动关闭</em>。 找了好几个方法试了不管用,发现一个管用的,留着备忘。 解决:修改项目工作空间。 修改工作空间,以前打开myEclipse时知道怎么改!现在只有找配置文件了! 步骤:  MyEclipse 5.1.1 GA-----》Eclipse-----》configuration------》.
blog主界面
我也把我做了的图片上传,请<em>看下</em>,<em>麻烦</em>多<em>帮忙</em>
急~麻烦高手帮忙看下
Web服务技术的SOA架构有哪几部分组成(不定项选择)rnA:服务提供者rnB:Service brokerrnC:Service requesterrnD:XML和WSDLrnrn以下对JSF EL表达式叙述不正确的是(双选)rnA:#persoon.name返回person对相的name属性rnB:#persoon.getNameng返回person对相的getName方法的返回值rnC:#arraylist[3]arrayllist是一个list,返回该list中的第3个对象rnD:#1lt2or1gt2该表示是错误的rnrn下面循环命令,_命令是用命令的返回状态值来控制循环的(双选)rnA:forrnB:whilernC:utilrnD:do whilernrnFaceContext实例代表当前正在处理的请求。它持有当前_和其他一些有用对象的引用(双选)rnA:应用消息站rnB:应用程序状态rnC:活动对象rnD:呈现包rnrn会话变量集合按_来进行索引(双选)rnA:会话变量NamernB:会话变量valuernC:整数索引rnD:都可以
解决myeclipse自动关闭问题配置文件
解决<em>myeclipse</em><em>自动关闭</em>问题配置文件解决<em>myeclipse</em><em>自动关闭</em>问题配置文件解决<em>myeclipse</em><em>自动关闭</em>问题配置文件解决<em>myeclipse</em><em>自动关闭</em>问题配置文件
解决myeclipse自动关闭问题.txt
解决<em>myeclipse</em><em>自动关闭</em>问题.txt解决<em>myeclipse</em><em>自动关闭</em>问题.txt解决<em>myeclipse</em><em>自动关闭</em>问题.txt解决<em>myeclipse</em><em>自动关闭</em>问题.txt
将web项目导入到eclipse/MyEclipse中常见错误
错误1:string cannot be resolved to a type  错误2:The import javax.servlet cannot be resolved 错误3:The import org.apache.catalina cannot be resolved
VC++代码
我这段代码里面有模糊查询的,我不知道错误在哪,请<em>高手</em><em>帮忙</em><em>看下</em>,谢谢了!
哪个高手看下这个程序呢!那里出错了!
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.rn// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.htmlrn// Decompiler options: packimports(3) fieldsfirst ansi rn// Source File Name: DBConnectionManager.javarnrnpackage net.xzwz.db;rnrnimport java.sql.*;rnimport java.util.*;rnimport java.util.Date;rnrn// Referenced classes of package net.jspcn.db:rn// DBConnectionManagerrnrnclass DBConnectionPoolrnrnrn private int checkedOut;rn private Vector freeConnections;rn private int maxConn;rn private String name;rn private String password;rn private String URL;rn private String user;rnrn public synchronized void freeConnection(Connection connection)rn rn freeConnections.addElement(connection);rn checkedOut--;rn notifyAll();rn rnrn public synchronized Connection getConnection()rn rn Connection connection = null;rn if(freeConnections.size() > 0)rn rn connection = (Connection)freeConnections.firstElement();rn freeConnections.removeElementAt(0);rn tryrn rn if(connection.isClosed())rn rn DBConnectionManager.access$0(DBConnectionManager.this, "从连接池" + name + "删除一个无效连接");rn connection = getConnection();rn rn rn catch(SQLException _ex)rn rn DBConnectionManager.access$0(DBConnectionManager.this, "从连接池" + name + "删除一个无效连接");rn connection = getConnection();rn rn elsern if(maxConn == 0 || checkedOut < maxConn)rn connection = newConnection();rn if(connection != null)rn checkedOut++;rn return connection;rn rnrn public synchronized Connection getConnection(long l)rn rn long l1 = (new Date()).getTime();rn Connection connection;rn while((connection = getConnection()) == null) rn rn tryrn rn wait(l);rn rn catch(InterruptedException _ex) rn if((new Date()).getTime() - l1 >= l)rn return null;rn rn return connection;rn rnrn private Connection newConnection()rn rn Connection connection = null;rn tryrn rn if(user == null)rn connection = DriverManager.getConnection(URL);rn elsern connection = DriverManager.getConnection(URL, user, password);rn DBConnectionManager.access$0(DBConnectionManager.this, "连接池" + name + "创建一个新的连接");rn rn catch(SQLException sqlexception)rn rn DBConnectionManager.access$1(DBConnectionManager.this, sqlexception, "无法创建下列URL的连接: " + URL);rn return null;rn rn return connection;rn rnrn public synchronized void release()rn rn for(Enumeration enumeration = freeConnections.elements(); enumeration.hasMoreElements();)rn rn Connection connection = (Connection)enumeration.nextElement();rn tryrn rn connection.close();rn DBConnectionManager.access$0(DBConnectionManager.this, "关闭连接池" + name + "中的一个连接");rn rn catch(SQLException sqlexception)rn rn DBConnectionManager.access$1(DBConnectionManager.this, sqlexception, "无法关闭连接池" + name + "中的连接");rn rn rnrn freeConnections.removeAllElements();rn rnrn public DBConnectionPool(String s, String s1, String s2, String s3, int i)rn rn freeConnections = new Vector();rn name = s;rn URL = s1;rn user = s2;rn password = s3;rn maxConn = i;rn rnrn
js正则表达式,麻烦帮忙看下错了
var reg=new RegExp(/\/([\w\W])*?.aspx$/gi);rn var str="http://localhost/website/register.aspx";rn var mat=str.match(reg);rn我的目的是要匹配到/register.aspx这块内容,但是上面的好像不行,会的<em>帮忙</em>解决下谢谢
强制关闭myEclipse导致的错误
昨天电脑进水,强制关机,结果今天MyEclipse启动报<em>错了</em>,如下:    “an error occured,see the log file.....”      在我的工作空间里,.metadate下的.log文件中,报错如下:            !MESSAGE The workspace exited with unsaved changes in the previous
Myeclipse8.0以上版本插件添加
/***运行此java文件后在控制台得到相应的代码*/import java.io.File; import java.util.ArrayList; import java.util.List; public class PluginConfigCreator { public PluginConfigCreator() { } public void print(String pa
eclipse-zh(汉化包)
在Eclipse下开发,有时<em>看不懂</em>英文时,就安装此汉化<em>插件</em><em>帮忙</em>解决吧!
myEclipse自动关闭问题
myEclipse<em>自动关闭</em>问题myEclipse<em>自动关闭</em>问题
看下哪里出错了???
rn文件:rnrnrn用:set objrs_new=server.CreateObject("adodb.recordset")rn objrs_new.open sql_now,con,1,3,1rn出现同样的问题.rnrnrn错误类型:rnMicrosoft OLE DB Provider for ODBC Drivers (0x80040E10)rn[Microsoft][ODBC Microsoft Access Driver] 参数不足,期待是 1。rn/e/now_re.asp, 第 15 行rnrnrn大家帮下忙啊,我做了一整天啦,都没有通过...^^rn
myeclipse启动的过程中没提示就自动退出,闪退的有效解决方法
<em>myeclipse</em>启动的过程中没提示就自动退出,闪退的有效解决方法 今天遇到一个问题,已经打开<em>myeclipse</em>的电脑因为非正常关机后<em>myeclipse</em>打不开了,进度条进到十分之一就闪退,什么提示都没有的解决方案如下 1.打开<em>myeclipse</em>工作空间(存放项目的目录,即<em>myeclipse</em>启动时所选择的目录)目录下的.metadata/.plugins,在.plugins目录中
看下哪出错了。。
#includernusing namespace std;rnclass QNErnrn public :rn static int a;//定义静态成员 rn int b;rn ONE(int c,int b)rn a=c;this->b=b; rn ;rn int ONE::a=0;//类外定性说明 rn int main()rn rn ONE one(10,20);rn cout<<
麻烦各位帮忙看下哪出的错
-
关于数据库出错了....高手帮忙
下面就是我的登陆对话框中当点击登陆时 触发的代码rnrn为什么从数据库中取出来的密码是乱码啊?rnrnpublic void checkfill() rn String lname = Lname.getText();rn char lpass[] = Lpass.getPassword();rn if (lname.length() == 0) rn JOptionPane.showMessageDialog(this, "请输入用户名");rn else if (lpass.length == 0) rn JOptionPane.showMessageDialog(this, "请输入密码");rnrn else rn Logincon();rn rn rnrn public void Logincon() rn String url = "jdbc:mysql://localhost:3306/lucky";rn sqlname = "root";rn sqlpass = "zhangyang";rn try rn Class.forName("com.mysql.jdbc.Driver");rn con = DriverManager.getConnection(url, sqlname, sqlpass);rn // System.out.println("1 run ing now");rn catch (ClassNotFoundException e) rn System.out.println("装载驱动程序失败");rn e.printStackTrace();rn System.exit(1);rn catch (SQLException e) rn System.err.println("无法连接数据库");rn e.getMessage();rnrn rnrn try rn lname = Lname.getText();rnrn String checkname = "select * from user where name=" + lname + "";rn /*rn * String strsql = "select * from user where (name='" + lname + "'rn * and pass='" + lpass + "')";rn */rn stmt = con.createStatement();rn rs = stmt.executeQuery(checkname);rn boolean flag = rs.next();rnrn if (flag) rn lpass = Lpass.getPassword();rn String checkpass = "select * from user where name=" + lnamern + "";rn stmt = con.createStatement();rn rs = stmt.executeQuery(checkpass);rn rs.next();rn char[] repass = rs.getString(1).toCharArray();rn System.out.println(repass.toString());rn boolean x=Arrays.equals(lpass,repass);rn if (x) rnrn flags = 1;rn rn else rn JOptionPane.showMessageDialog(this, "密码错误");rn Lpass.setText("");rn rn rnrn else rn JOptionPane.showMessageDialog(this, "用户名不存在");rn Lname.setText("");rn Lpass.setText("");rn return;rn rn con.close();rn rs.close();rn stmt.close();rn catch (SQLException e) rn e.getStackTrace();rn rnrn rnrnrnrn还有就是我在程序中注册用户后,存在数据库中也是乱码rnrnrn表的结构如下rnmysql> desc user;rn+--------+-----------+------+-----+---------+-------+rn| Field | Type | Null | Key | Default | Extra |rn+--------+-----------+------+-----+---------+-------+rn| name | char(50) | NO | PRI | NULL | |rn| pass | char(20) | NO | | NULL | |rn| mail | char(80) | NO | | NULL | |rn| adress | char(100) | NO | | NULL | |rn+--------+-----------+------+-----+---------+-------+rn4 rows in set (0.08 sec)rnrnrnrn在数据库中存储为rnrnmysql> select * from user;rn+-----------+------------+---------------+----------------+rn| name | pass | mail | adress |rn+-----------+------------+---------------+----------------+rn| 111 | [C@9ed927 | 111@163.com | 111 |rn| 12 | [C@112f614 | 111@163.com | 111 |rn| 121 | [C@12a54f9 | 121@163.com | 121 |rn| 121313213 | [C@19106c7 | 111@163.com | 111 |rn| 123 | [C@723d7c | 123@163.com | kjnh |rn| 1231 | [C@13bad12 | 123@163.com | kjnh |rn| 12313 | [C@13582d | 122@163.com | 122 |rn| 198827 | [C@1975b59 | 111@163.com | 111 |rn| 207 | [C@aeffdf | 123@163.com | kjnh |rn| 208 | [C@b42cbf | 123@163.com | kjnh |rnrnrn在这里用户名和密码一样,但是在数据库中显示不一样rnrn谢谢改正...rnrn
一个函数。出错了,请帮忙看下
自己做个简单的站内搜索,用到一个函数,函数的目的在于区别集中情况给出判断,但是提示有错,请教各位看看rnrnrnrnrnrn..............................rn调用函数的部分在这里rn rn rn rnrnrn
php出错了。大家帮忙看下
[code=PHP]rnrnrnrnrnrnrn rn 身份和密码验证实例rnrnrnrnrn rn rnrn用户名:rnrn rnrnrn密 码:rnrn rnrnrnrnrnrnrnrnrnrnrnrn[/code]rn提示错误为:rnrnNotice: Undefined variable: tijiao in E:\Downloads\PHPnow-1.5.6\Package\htdocs\index.php on line 7rnrnrn请大家帮我改下。rn新手刚学呢。rn
帮忙看下程序哪里出错了
[code=C/C++]#include rnrnvoid main()rnrn char c;rn printf("请输入星期首字母:");rn while((c = getchar()) != 'Y')rn rn switch(c)rn rn case 'M': rn printf("The day is Monday!\n");rn break;rn case 'T':rn printf("请继续输入: ");rn if((c = getchar()) == 'u')rn printf("The day is Tuesday!\n");rn else if((c = getchar()) == 'h')rn printf("The day is Thursday!\n");rn break;rn case 'W':rn printf("The day is Wednesday!\n");rn break;rn case 'F':rn printf("The day is Friday!\n");rn break;rn case 'S':rn printf("请继续输入: ");rn if((c = getchar()) == 'a')rn printf("The day is Saturday!\n");rn else if((c = getchar()) == 'u')rn printf("The day is Sunday!\n");rn break;rnrn rn rn[/code]rn编译没有问题,但运行程序的时候当输入T,会提示继续输入,继续输入u后程序没有反应,输入h正常运行。S的情况和T的一样,不知道问题错在哪里,求解~谢谢
学习链表时出错了帮忙看下
[code=C/C++]rn#include "stdafx.h"rn#include rn#includernstruct chainrn int value;rn struct chain * next;rn;rnstruct chain *create()rn struct chain *head,*tail,*p;rn int x;rn head=tail=NULL;rn printf("input data.\n");rn while(scanf("%d",&x)==1)rn p=(struct chain*)malloc(sizeof(struct chain));rn p->value=x;rn p->next=NULL;rn if(head==NULL)rn head=tail=p;rn elsern tail=tail->next;rn tail->next=p;rn rn rn tail->next=NULL;rn return head;rnrn;rnrnrnvoid main()rnrn struct chain *p,*q;rn q=create();rn while(q)rn printf("%d\n",q->value);rn p=q->next;rn free(q);rn q=p; rn rnrn[/code]rn我输入第三个数字系统就出<em>错了</em>,请问问题在哪里?
大佬 帮忙看下哪里出错了 链式队列。
#include "stdafx.h"rn#includern#includern#includernrntypedef struct nodernrn int data;rn struct node * next;rnNODE, *PNODE;rnrntypedef structrnrn PNODE rear, front;rnqueue;rnrnvoid init(queue*);rnvoid insert(queue*, int val);rnvoid show(queue*);rnvoid dequeue(queue*, int *);rnrnint main(void)rnrn int val;rn queue q;rn init(&q);rn insert(&q, 1);rn insert(&q, 12);rn insert(&q, 13);rn insert(&q, 14);rn show(&q);rn dequeue(&q, &val);rn printf("%d ", val);rnrnrnvoid init(queue* q)rnrn q->front = q->rear = (PNODE)malloc(sizeof(NODE));rn if (q->front == NULL)rn exit(-1);rn q->rear->next = NULL;rn return;rnrnrnvoid insert(queue* q, int val)rnrn PNODE p = (PNODE)malloc(sizeof(NODE));rn if (p == NULL)rn exit(-1);rn p->data = val;rn p->next = NULL;rn q->rear->next = p;rn q->rear = p;rnrnrnvoid show(queue* q)rnrn PNODE p = NULL;rn while (p != q->rear)rn rn p = q->front->next;rn printf("%d ", p->data);rn q->front = p;rn rnrnrnrnvoid dequeue(queue * q, int *val)rnrn PNODE p = q->front->next;rn *val = p->data;rn q->front->next = p->next;rn free(p);rn return;rnrnrn无法打印出出队的元素。。。
java发邮件出错了,帮忙看下~~~~
按书上说的写了个邮件发送的小类,可老是发不出去,大家<em>帮忙</em>看<em>看下</em>.一起两个类,MailSedn.java是发送的,s.java是主类,代码如下:rn//MailSend.java:rnrnimport java.io.*;rnimport java.text.*;rnimport java.net.*;rnimport java.util.Properties;rnimport java.util.Date;rnimport javax.mail.*;rnimport javax.mail.internet.*;rnrnpublic class MailSend rn String subject = null,text = null,mailhost = null;rn public MailSend()rn mailhost = "localhost";rn text = getUserText();rn subject = "Welcome~";rn rn public String sednMsg(String from,String to)rn boolean debug = false;rn String err = null;rn tryrn Properties props = System.getProperties();rn if(mailhost!=null)rn props.put("mail.smtp.host", mailhost);rn Session session = Session.getDefaultInstance(props,null);rn if(debug)rn session.setDebug(true);rn Message msg = new MimeMessage(session);rn rn //from = null;rn if(from != null)rn msg.setFrom(new InternetAddress(from));rn System.out.print("from is not null~");rn rn elsern msg.setFrom();rn System.out.print("from is null~");rn rn msg.setRecipients(Message.RecipientType.TO, InternetAddress.parse(to,false));rn rn msg.setSubject(subject);rn msg.setText(text);rn rn msg.setSentDate(new Date());rn Transport.send(msg);rn System.out.println("Mail has been send successfully!");rn rn rn catch (Exception e)rn e.printStackTrace();rn err = e.toString();rn err = "Mail send has an error!";rn rn return err;rn rn rn public String getUserText()rn String userText = "";rn String nowDate = DateFormat.getDateInstance().format(new Date());rn userText = "hello~";rn return userText;rn rnrnrnrnrn//S.javarnrnrnpublic class S rnrn /**rn * @param argsrn */rn public static void main(String[] args) rn // TODO Auto-generated method stubrn String mail = new String("suhuajun2001@163.com");rn MailSend ms = new MailSend();rn ms.sednMsg("shj0717@gmail.com", "suhuajun2001@163.com");rn //ms.sednMsg("", mail);rnrn rnrnrnrnrn错误提示如下:rnjavax.mail.SendFailedException: Invalid Addresses;rn nested exception is:rn com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay for suhuajun2001@163.comrnrn at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1196)rn at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584)rn at javax.mail.Transport.send0(Transport.java:169)rn at javax.mail.Transport.send(Transport.java:98)rn at server.MailSend.sednMsg(MailSend.java:47)rn at server.S.main(S.java:12)rnCaused by: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay for suhuajun2001@163.comrnrn大家看看是什么原因.还有,这个要用到的jar文件(mail.java,activation.java)我都包进去了~~~rnrnrn
大神帮忙看下哪里出错了!谢谢
编译出错,显示C0031: syntax errorrnstring ccname,ccnornc_info = upper(sle_1.text)rnif c_info= "" thenrn MessageBox("出错", "请输入课程号!")rnelsern select c.cname into :ccname from c where c.cno =: c_inforn if SQLCA.SQLCODE<> 0 thenrn MessageBox("出错", "此课程号不存在!")rn elsern select sc.cno into ccno from sc where (sc.cno=:c_info and rnsc.sno=:s_info);rn if SQLCA.SQLCODE = 0 thenrn MessageBox("出错", "此课程已存在!")rn elsern INSERT INTO sc(sno,cno)rn VALUES (:s_info, :c_info);rn dw_4.reset()rn sle_1.text=" "rn dw_4.settransobject(sqlca)rn dw_4.retrieve(s_info)rn end ifrn end ifrnend if
这道题是不是出错了??帮忙看下
声明类Student,包含3个成员变量:name、age、score,要求可以通过 new Student("张三", 22, 95) 的方式创建对象,并可以通过set和get方法访问成员变量rnrn在打印语句中如何打印这3个x变量?rn rnclass A rn int x = 1;rn rn class B rn int x = 2;rn rn void func() rn int x = 3;rn System.out.println( ? );rn rn rn
《系统集成项目管理工程师教程》67.6M pdf
传<em>错了</em>,大家不要下;管理看到,<em>帮忙</em>删除 传<em>错了</em>,大家不要下;管理看到,<em>帮忙</em>删除
MyEclipse 打开Struts配置文件时出错
 通过手动加入Struts包来开发J2EE工程,可是结果却发现不能使用Struts的默认编辑器来打开Struts配置文件,双击打开Struts配置文件时,就出错: Unable to create this part due to an internal error. Reason for the failure: Project fuNan_Demo is not configure
图书馆检索server client c++实现
有一点小小的瑕疵,希望有<em>高手</em><em>帮忙</em>,如果可以去掉,<em>麻烦</em>指点一二,谢谢
myeclipse 自动退出
查了一下     此问题原因有三种   http://knowledgebase.progress.com/articles/Article/000030722                                                      http://www.qttc.net/201310379.html http://stackoverflow.com/ques
高手看下 我那里出错了
1单元rnConst RoleBaseAdr=$62C7C0; //主号基址rnrnrnFunction RWord(Addr: Dword): WORD;读双字节整型rnbeginrn Result := 0;rn Tryrn EnterCriticalSection(Critical1); //进入临界段rn tryrn if PWORD(Addr) <> nil thenrn beginrn Result := PWORD(Addr)^;rn end;rn finallyrn LeaveCriticalSection(Critical1); //退出临界段rn end;rn exceptrn Result := 0;rn end;rnend;rnrnFunction RDword(Addr: Dword): Dword;读四字节整型rnbeginrn Result := 0;rn Tryrn EnterCriticalSection(Critical1); //进入临界段rn tryrn if PDWORD(Addr) <> nil thenrn beginrn Result := PDWORD(Addr)^;rn end;rn finallyrn LeaveCriticalSection(Critical1); //退出临界段rn end;rn exceptrn Result := 0;rn end;rnend;rnrn2单元rnrnFunction GetRoleHP: DWORD; //获取主号人物当前HPrnvarrn RoleBase: DWORD;rnbeginrn Tryrn RoleBase := RDword(RoleBaseAdr);rn Result:= Rword(RoleBase+ $68); //人物当前HPrn exceptrn Result:=0;rn end;rnend;rnrn取函数rnrnGetRoleHPrnrnrnRzEdit18.Text:=IntToStr(GetRoleHP);rnrn可是读取的是0rnrn如果用汇编直接读取的话就正确rnrn varrn Address:pointer;rn y,n,p,i:DWORD;rnbeginrn Address:=pointer(RoleBaseAdr);rn asmrn pushadrn mov eax,addressrn mov eax, dword ptr[eax]rn mov eax, dword ptr[eax+$68]rn mov i, eaxrn popadrn end;rn MyForm.RzEdit5.Text:=IntToStr(i);rnrn请前辈们指导一下rnrn
有请高手帮我看下那里出错了??
int *p= NULL;rnint **test= NULL;rn *test =p;rncout<<
myEclipse哪里出错了???!!!
type Exception reportrnrnmessage rnrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnorg.apache.jasper.JasperException: Unable to compile class for JSP: rnrnAn error occurred at line: 22 in the generated java filernThe method getJspApplicationContext(ServletContext) is undefined for the type JspFactoryrnrnStacktrace:rn org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)rn org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)rn org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:299)rn org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rnrnrnnote The full stack trace of the root cause is available in the Apache Tomcat/6.0.20 logs.rnrnrn--------------------------------------------------------------------------------rn
高手帮忙看下这个CRC8查表法的程序哪里出错了
这是模块的程序,错误还比较多,请<em>高手</em>多多指教rnOption Explicitrn#Const PROCESSERROR = Truern'*****************************************************************************rnPublic CRC_Result As ByternPublic strd As Stringrn'byte CRC_result;rn'CRC计算结果存放单元rn'*****************************************************************************rn'void CRC_8 (byte data);rn'使用快速查表法计算8位的CRC结果rn'8位CRC速查表rn'byte CRC_TABLE[256] = rnPublic Function CRC_TABLE(ByVal DataIndex As Long) As Bytern CRC_TABLE = Choose(Index + 1, _rn &H0, &H7, &HE, &H9, &H1C, &H1B, &H12, &H15, &H38, &H3F, &H36, &H31, &H24, &H23, &H2A, &H2D, _rn &H70, &H77, &H7E, &H79, &H6C, &H6B, &H62, &H65, &H48, &H4F, &H46, &H41, &H54, &H53, &H5A, &H5D, _rn &HE0, &HE7, &HEE, &HE9, &HFC, &HFB, &HF2, &HF5, &HD8, &HDF, &HD6, &HD1, &HC4, &HC3, &HCA, &HCD, _rn &H90, &H97, &H9E, &H99, &H8C, &H8B, &H82, &H85, &HA8, &HAF, &HA6, &HA1, &HB4, &HB3, &HBA, &HBD, _rn &HC7, &HC0, &HC9, &HCE, &HDB, &HDC, &HD5, &HD2, &HFF, &HF8, &HF1, &HF6, &HE3, &HE4, &HED, &HEA, _rn &HB7, &HB0, &HB9, &HBE, &HAB, &HAC, &HA5, &HA2, &H8F, &H88, &H81, &H86, &H93, &H94, &H9D, &H9A, _rn &H27, &H20, &H29, &H2E, &H3B, &H3C, &H35, &H32, &H1F, &H18, &H11, &H16, &H3, &H4, &HD, &HA, _rn &H57, &H50, &H59, &H5E, &H4B, &H4C, &H45, &H42, &H6F, &H68, &H61, &H66, &H73, &H74, &H7D, &H7A, _rn &H89, &H8E, &H87, &H80, &H95, &H92, &H9B, &H9C, &HB1, &HB6, &HBF, &HB8, &HAD, &HAA, &HA3, &HA4, _rn &HF9, &HFE, &HF7, &HF0, &HE5, &HE2, &HEB, &HEC, &HC1, &HC6, &HCF, &HC8, &HDD, &HDA, &HD3, &HD4, _rn &H69, &H6E, &H67, &H60, &H75, &H72, &H7B, &H7C, &H51, &H56, &H5F, &H58, &H4D, &H4A, &H43, &H44, _rn &H19, &H1E, &H17, &H10, &H5, &H2, &HB, &HC, &H21, &H26, &H2F, &H28, &H3D, &H3A, &H33, &H34, _rn &H4E, &H49, &H40, &H47, &H52, &H55, &H5C, &H5B, &H76, &H71, &H78, &H7F, &H6A, &H6D, &H64, &H63, _rn &H3E, &H39, &H30, &H37, &H22, &H25, &H2C, &H2B, &H6, &H1, &H8, &HF, &H1A, &H1D, &H14, &H13, _rn &HAE, &HA9, &HA0, &HA7, &HB2, &HB5, &HBC, &HBB, &H96, &H91, &H98, &H9F, &H8A, &H8D, &H84, &H83, _rn &HDE, &HD9, &HD0, &HD7, &HC2, &HC5, &HCC, &HCB, &HE6, &HE1, &HE8, &HEF, &HFA, &HFD, &HF4, &HF3)rnEnd Functionrn'数据表结束共256个字节rn'======================================================================rn'**********************************************************************rnPublic Function CRC_8(ByVal DataStr As Variant) As VariantrnDim i As LongrnDim CRCHi As Integerrn CRCHi = 0rn CRC_8 = 0rn CRC_Result = 0rn For i = 0 To UBound(DataStr) - 1rn CRC_Result = CRC_8 Xor DataStr(i)rn CRCHi = CInt(CRC_Result) + CInt(CRC_TABLE(CRC_Result))rn If CRCHi > 256 Thenrn CRC_8 = SumCrc(CRCHi)rn Elsern CRC_Result = CRC_Result + CRC_TABLE(CRC_Result)rn CRC_8 = CRC_Resultrn End Ifrn Next irn CRC_8 = Hex(CRC_8)rnEnd Functionrn'void CRC_8(byte data)'使用快速查表法计算8位的CRC结果rn'rn' CRC_result^=data;rn' CRC_result+=CRC_TABLE[CRC_result];rn'rn'**********************************************************************rnPublic Function SumCrc(ByVal Data As Integer) As ByternDim CRCHi As IntegerrnDim CRC_Temp As Bytern strd = ""rn Call IntToByte(Data)rn CRC_Temp = ByteToOct(Right(strd, 8))rn SumCrc = CRC_TemprnEnd FunctionrnPublic Function IntToByte(ByVal datastrb As Integer) As ByternDim ToB As StringrnToB = datastrb \ 2 '取整数rnstrd = strd & datastrb Mod 2 '取余rnIf ToB <> 0 Thenrn Call IntToByte(ToB)rnEnd Ifrnstrd = StrReverse(strd)rnEnd Functionrn'二进制转换十进制rnPublic Function ByteToOct(ByVal datastra As String) As ByternDim i As IntegerrnByteToOct = 0rnFor i = Len(datastra) To 1 Step -1rn ByteToOct = ByteToOct + 2 ^ (i - 1) * Mid(StrReverse(datastra), i, 1)rnNext irnEnd Function
这段下载代码那出错了高手帮忙看下。谢谢
string sID = GridView1.DataKeys[GridView1.SelectedIndex].Value.ToString();rn if (sID.Length < 1)rn sID = "-1";rn byte[] FileData = null;rn string fileName = "";rn string type = "";rnrn string strSQL = "select * from 文档 where id = " + sID;rn sqlconn = new SqlConnection(conn);rn sqlconn.Open();rn SqlCommand cmd = new SqlCommand(strSQL, sqlconn);rn SqlDataReader reader = cmd.ExecuteReader();rn if (reader.Read())rn rn fileName = reader["文档名称"].ToString();rn type = reader["文档类型"].ToString();rn FileData = (byte[])reader["文档数据"];rn if (FileData != null)rn rn Response.Clear();rn Response.Buffer = false;rn Response.ClearContent();rn Response.ClearHeaders();rn Response.Charset = "GB2312";rn Response.ContentType = "application/octet-stream"; // 设置输出流的Http MIME类型 rnrn //Response.AddHeader("Content-Disposition", "attachment; filename=" + HttpUtility.UrlEncode(fileName, System.Text.Encoding.UTF8));rn Response.AddHeader("Content-Disposition", "attachment; filename=" + HttpUtility.UrlEncode(fileName, System.Text.Encoding.UTF8));rn Response.BinaryWrite(FileData);// 写入输入流rn Response.Flush(); // 向客户端发送数据流 rn Response.Close();rn Response.End();
新年好各位高手,帮忙看下代码,出错了!谢!
rn
请教大家帮忙看下代码,是哪里出错了
http://hi.baidu.com/hookit/blog/item/d24ad17a55e004e82e73b3c9.html 百度空间原文 绕过KIS6创建驱动服务的代码rnrn#include rn#include rnrn//path should be kernel type like \??\xxxrn//hivpath是hiv文件目录rnrnint EnablePrivilege(LPCTSTR lpszPrivilege,BOOL bEnable);rnbool SetPrivilege(LPCTSTR lpszPrivilege, BOOL bEnablePrivilege);rnrnDWORD DrvLoaderHiv(char* hivpath,char* drvname,DWORD start_type,char* path)rnrnchar regkey[512];rnDWORD regdata;rnint buflen;rnHKEY hkey;rnrn//HKEY hkey_service;rnHKEY hkey_drv;rnDWORD type=REG_SZ;rnrnHKEY key;rnDWORD disposition;rnrnEnablePrivilege(SE_BACKUP_NAME,TRUE);rnSetPrivilege(SE_RESTORE_NAME,TRUE);rnrnRegCreateKeyExA(HKEY_LOCAL_MACHINE,"Software\\SteelKernel",0,"",REG_OPTION_NON_VOLATILE,KEY_ALL_ACCESS,NULL,&key,&disposition);rnRegCloseKey(key);rnrn//RegOpenKeyExA(HKEY_LOCAL_MACHINE,"System\\CurrentControlSet\\Services",NULL,KEY_ALL_ACCESS,&hkey_service);rn//RegSaveKeyA(hkey_service,hivpath,NULL);rn//RegCloseKey(hkey_service);rnrn//RegOpenKeyExA(HKEY_LOCAL_MACHINE,"Software\\SteelKernel",NULL,KEY_ALL_ACCESS,&hkey_service);rn//RegRestoreKeyA(hkey_service,hivpath,REG_FORCE_RESTORE);rn//RegCloseKey(hkey_service);rnrnrn//DeleteFileA(hivpath);//删除hiv文件rnrn//sprintf(regkey,"System\\CurrentControlSet\\Services\\%s",drvname);rnrnsprintf(regkey,"Software\\SteelKernel\\%s",drvname);rnrnif(RegCreateKeyA(HKEY_LOCAL_MACHINE, regkey, &hkey)!=ERROR_SUCCESS)rnreturn -1;rnregdata=SERVICE_KERNEL_DRIVER;rnRegSetValueExA(hkey, ("Type"), 0, REG_DWORD, (const unsigned char *)&regdata, 4);rnregdata=SERVICE_ERROR_NORMAL;rnRegSetValueExA(hkey, ("ErrorControl"), 0, REG_DWORD, (const unsigned char *)&regdata, 4);rnregdata = start_type;rnRegSetValueExA(hkey, ("Start"), 0, REG_DWORD, (const unsigned char *)&regdata, 4);rnbuflen = strlen(drvname);rnRegSetValueExA(hkey, ("DisplayName"), 0, REG_EXPAND_SZ, (const unsigned char *)drvname, buflen);rnbuflen = strlen(path); rnRegSetValueExA(hkey, ("ImagePath"), 0, REG_EXPAND_SZ, (const unsigned char *)path, buflen);rnRegCloseKey(hkey);rnrn//于注册表中不监控的位置创建了驱动键值,现在将它用RegRestoreKey还原回去rnrnRegOpenKeyExA(HKEY_LOCAL_MACHINE,"Software\\SteelKernel\\Beep",NULL,KEY_ALL_ACCESS,&hkey_drv);rnRegSaveKeyA(hkey_drv,hivpath,NULL);rnRegCloseKey(hkey_drv);rnrnRegOpenKeyExA(HKEY_LOCAL_MACHINE,"System\\CurrentControlSet\\Services\\Beep",NULL,KEY_ALL_ACCESS,&hkey_drv);rnRegRestoreKeyA(hkey_drv,hivpath,REG_FORCE_RESTORE);rnRegCloseKey(hkey_drv);rnrnDeleteFileA(hivpath);//删除hiv文件rnrnRegDeleteKeyA(HKEY_LOCAL_MACHINE,"Software\\SteelKernel");rnRegDeleteKeyA(HKEY_LOCAL_MACHINE,"Software\\SteelKernel\\Beep");rnrn//RegCloseKey(hkey_service);rnRegCloseKey(hkey_drv);rnrnreturn 0;rnrnrnrnint EnablePrivilege(LPCTSTR lpszPrivilege,BOOL bEnable)rn rnHANDLE hToken; rnTOKEN_PRIVILEGES tp; rnLUID luid; rnif(!OpenProcessToken(GetCurrentProcess(),TOKEN_ADJUST_PRIVILEGES | rnTOKEN_QUERY | TOKEN_READ,&hToken)) rnreturn 1; rn//if(!LookupPrivilegeValue(NULL, lpszPrivilege, &luid)) rn// return 1; rnif(!LookupPrivilegeValue(NULL,lpszPrivilege,&luid ) ) // receives LUID of privilegern return 2;rntp.PrivilegeCount = 1; rntp.Privileges[0].Luid = luid; rntp.Privileges[0].Attributes = (bEnable) ? SE_PRIVILEGE_ENABLED : 0;rnrnAdjustTokenPrivileges(hToken,FALSE,&tp,NULL,NULL,NULL); rnCloseHandle(hToken); rnreturn 0; rnrnrnbool SetPrivilege(LPCTSTR lpszPrivilege, BOOL bEnablePrivilege) rn rnHANDLE hToken=NULL; rnTOKEN_PRIVILEGES tp; rnLUID luid; rn rnif(OpenProcessToken(::GetCurrentProcess(),TOKEN_ADJUST_PRIVILEGES|TOKEN_QUERY,&hToken)==0) rn rnrnreturn false; rn rnrnif ( !LookupPrivilegeValue(NULL,lpszPrivilege,&luid)) rn rnrn return false; rn rnrn tp.PrivilegeCount = 1; rn tp.Privileges[0].Luid = luid; rn if (bEnablePrivilege) rn tp.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED; rn else rn tp.Privileges[0].Attributes = 0; rnrnrnif ( !AdjustTokenPrivileges(hToken,FALSE,&tp,sizeof(TOKEN_PRIVILEGES),(PTOKEN_PRIVILEGES) NULL, rn (PDWORD) NULL) ) rn rnrn return false; rn rnreturn 0;rnrnrnrn使用方法:rnrnDWORD DrvLoaderHiv(char* hivpath,char* drvname,DWORD start_type,char* path)rnrnchar* hivpath= Dump注册表的hive文件保存路径,例如"c:\\MyReg.hiv"rnrnchar* drvname=需要创建的驱动名称,例如"MyDrv"rnrnDWORD start_type=启动类型,=1为自动启动,=3为手动启动rnrnchar* path=驱动程序文件路径,例如"c:\\drv.sys"rnrnrn范例:rnrnDrvLoaderHiv("C:\\test.hiv","MyDrv",1,"C:\\MyDrv.sys")rnrnrn我编译后老是提示:error C2065: 'REG_FORCE_RESTORE' : undeclared identifierrnrn到底是哪里出<em>错了</em>呢?
求救!麻烦高手帮忙看一下那里出错了
SELECT rn ans.inq_answ_ctt rn , ans.rgst_org_id rn , (SELECT org_nm FROM zngm_org zo WHERE zo.org_id = ans.rgst_org_id) rgst_org_nm rn , ans.rgstr_id rn , SUBSTR(ans.rgst_dtm, 0, 8)rgst_dt rnFROM ztpm_dsnet_op_plcy_inq_answ ans rnWHERE ans.dsnet_plcy_id =:dsnet_plcy_id rnrnrn提示有语法错误,以下是提示: rn,(SELECT org_nm FROM zngm_org zo WHERE zo.org_id = ans.rgst_org_id) rgst_org_nm rn..............1 rnPCC-S-02201, Encountered the symbol "org_nm" when expecting one of the following rn: rn ( ) * + - / . @ | at, day, hour, minute, month, second, year, rnThe symbol ")" was substituted for "org_nm" to continue. rnSyntax error at line 102, column 72, file pdb_ztpm_dsnet_op_plcy_inq_answ_f0002_2_1.pc: rnError at line 102, column 72 in file pdb_ztpm_dsnet_op_plcy_inq_answ_f0002_2_1.p rnc rn , (SELECT org_nm FROM zngm_org zo WHERE zo.org_id = ans.rgst_org_id) rgst_or rng_nm rn.......................................................................1 rnPCC-S-02201, Encountered the symbol ")" when expecting one of the following: rn
高手帮忙看下语法哪出错了。。。谢谢
create procedure p_getsampledetailidrn@clientletter char(1),rn@clientautono int,rn@styleno varchar(28),rn@sampleid int output,rn@detailid int outputrnasrn(rn select @sampleid=max(sampleapplicationid) from sampleapplication where active rn)rnrn
Myeclipse出错了
学struts在用<em>myeclipse</em>,昨天开始就出<em>错了</em>,只要一打开<em>myeclipse</em>就报错:rnrn"Initializing Java Tooling"has encountered a problem.rnAn internal error occurred during "Initializing Java Tooling"rnrnDetails:An internal error occurred during "Initializing Java Tooling" . 2048rn而且在关闭<em>myeclipse</em>时也报错:rnproblem occurred while trying to save the state of the workbenchrnProblems occurred while trying to save the state of the workbench.rnDetail: Problems occurred during save.rn 2048rnrnrn我卸载重装后还是出现同样的错误,都搞的头晕死了,希望各位能帮我解决一下!3Q!
帮忙给看看哪个地方出错了/:~
#include rnusing namespace std;rnvoid printBinary(const unsigned char );rnint main()rnrn printBinary(cin.get());rnrn void printBinary(const unsigned char val)rn rn for(int i=7;i>=0;i--)rn if(val&(1<
MyEclipse 默认主题还原
MyEclipse 默认主题还原,直接导入就可以,还有别的主题
麻烦各位高手了!!!!帮忙看看到底那里出错了
SELECTrn ans.inq_answ_cttrn , ans.rgst_org_idrn , (SELECT org_nm FROM zngm_org zo WHERE zo.org_id = ans.rgst_org_id) rgst_org_nmrn , ans.rgstr_idrn , SUBSTR(ans.rgst_dtm, 0, 8)rgst_dtrnFROM ztpm_dsnet_op_plcy_inq_answ ans rnWHERE ans.dsnet_plcy_id =:dsnet_plcy_idrn rn rn提示有语法错误,以下是提示:rn,(SELECT org_nm FROM zngm_org zo WHERE zo.org_id = ans.rgst_org_id) rgst_org_nmrn..............1rnPCC-S-02201, Encountered the symbol "org_nm" when expecting one of the followingrn:rn ( ) * + - / . @ | at, day, hour, minute, month, second, year,rnThe symbol ")" was substituted for "org_nm" to continue.rnSyntax error at line 102, column 72, file pdb_ztpm_dsnet_op_plcy_inq_answ_f0002_2_1.pc:rnError at line 102, column 72 in file pdb_ztpm_dsnet_op_plcy_inq_answ_f0002_2_1.prncrn , (SELECT org_nm FROM zngm_org zo WHERE zo.org_id = ans.rgst_org_id) rgst_orrng_nmrn.......................................................................1rnPCC-S-02201, Encountered the symbol ")" when expecting one of the following:rn
[编程题]漂流船问题
公司组织团建活动,到某漂流圣地漂流,现有如下情况: 员工各自体重不一,第 i 个人的体重为 people[i],每艘漂流船可以承载的最大重量为 limit。 每艘船最多可同时载两人,但条件是这些人的重量之和最多为 limit。 为节省开支,<em>麻烦</em><em>帮忙</em>计算出载到每一个人所需的最小船只数(保证每个人都能被船载)。 输入描述: 第一行输入参与漂流的人员对应的体重数组, 第二行输入漂流船承载的最大重量 输出...
MyEclipse破解后异常退出
我用的是2016版的MyEclipse开发工具,下载下来,破解后,运行了几分钟,出现一个错误 然后就自动退出了,退出后又出现了这个 这是怎么回事,弄了好几遍了
MySQL5.0版本的安装图解
MySQL安装出<em>错了</em>卸载很<em>麻烦</em>,按照图解的步骤一步步安装很方便
深信服:输入一个字符串,帮忙统计字符串里面的每个单词出现的次数,以及非法单词的次数。非法单词的定义为:包含数字(0-9)的单词
深信服2018秋招笔试题: 输入一个字符串,<em>帮忙</em>统计字符串里面的每个单词出现的次数,以及非法单词的次数。非法单词的定义为:包含数字(0-9)的单词 输入一个字符串,长度小于1000,输入的字符仅包含(0-9,a-z,A-Z, . , : ! )及空格。 输出按单词的字母进行排序,每行为 : 单词    单词出现次数 最后一行输出非法单词个数 实例1: 输入: wow! Is won...
myeclipse各版本发布时间
MyEclipse2013 2013.4   1000M MyEclipse10.5 2012.6 MyEclipse10   2011.11  903M  eclipse3.7 MyEclipse8.5  2010.3   826M MyEclipse6.0  2007.9   569M  eclipse3.3 MyEclipse5.1  2006.11  390M  eclipse3.2.1
MyEclipse 10.0及更高版本激活详解
下载激活工具地址: http://download.csdn.net/detail/tjcyjd/9692507 MyEclipse 10.0及更高版本激活 在进行下面的步骤之前,先安装好MyEclipse(10.0或更高版本)和JDK,安装完成后暂时不要运行MyEclipse。 双击“MyEclipse激活工具”目录下的cracker.jar运行激活工具(如果双击不能运行,可以单
电源原理图
<em>帮忙</em><em>看下</em>,急用
myeclipse在添加tomcat服务器是出错了
nullrnErrorrnMon Oct 11 21:12:29 CST 2010rnProblems occurred when invoking code from plug-in: "org.eclipse.jface".rnrnjava.lang.ArrayIndexOutOfBoundsException: 107rnat com.genuitec.eclipse.core.C.?(Unknown Source)rnat com.genuitec.eclipse.core.A.?(Unknown Source)rnat com.genuitec.eclipse.core.A.?(Unknown Source)rnat com.genuitec.eclipse.core.A.?(Unknown Source)rnat com.genuitec.eclipse.core.A.ā(Unknown Source)rnat com.genuitec.eclipse.core.C.ā(Unknown Source)rnat com.genuitec.eclipse.core.C.?(Unknown Source)rnat com.genuitec.eclipse.core.C.?(Unknown Source)rnat com.genuitec.eclipse.core.C.(Unknown Source)rnat com.genuitec.eclipse.core.ViperCore.?(Unknown Source)rnat com.genuitec.eclipse.core.ViperCore.?(Unknown Source)rnat com.genuitec.eclipse.core.ViperCore.?(Unknown Source)rnat com.genuitec.eclipse.core.ViperCore.isLicenseValid(Unknown Source)rnat com.genuitec.eclipse.core.vU.?(Unknown Source)rnat com.genuitec.eclipse.core.vU.B__111164asdlkfjw2asl_23(Unknown Source)rnat com.genuitec.eclipse.easie.tomcat.preference.TomcatFamilyPreferencePage.init(TomcatFamilyPreferencePage.java:118)rnat org.eclipse.ui.internal.dialogs.WorkbenchPreferenceNode.createPage(WorkbenchPreferenceNode.java:57)rnat org.eclipse.jface.preference.PreferenceDialog.createPage(PreferenceDialog.java:1339)rnat org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.createPage(FilteredPreferenceDialog.java:382)rnat org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1230)rnat org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(FilteredPreferenceDialog.java:679)rnat org.eclipse.jface.preference.PreferenceDialog$10.run(PreferenceDialog.java:708)rnat org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)rnat org.eclipse.jface.preference.PreferenceDialog$9.selectionChanged(PreferenceDialog.java:704)rnat org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:864)rnat org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)rnat org.eclipse.core.runtime.Platform.run(Platform.java:888)rnat org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)rnat org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)rnat org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:862)rnat org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1175)rnat org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:1200)rnat org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:251)rnat org.eclipse.jface.util.OpenStrategy.access$5(OpenStrategy.java:245)rnat org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:419)rnat org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)rnat org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)rnat org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3885)rnat org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3506)rnat org.eclipse.jface.window.Window.runEventLoop(Window.java:825)rnat org.eclipse.jface.window.Window.open(Window.java:801)rnat org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:211)rnat com.genuitec.eclipse.core.util.PreferencesUtils.openServerPreferences(PreferencesUtils.java:62)rnat com.genuitec.eclipse.easie.core.ui.action.ServerPreferencesUtils.openServerPreferences(Unknown Source)rnat com.genuitec.eclipse.easie.core.ui.action.ServerPreferencesUtils.openServerPreferences(Unknown Source)rnat com.genuitec.eclipse.easie.core.ui.action.ConfigureServer.run(Unknown Source)rnat org.eclipse.jface.action.Action.runWithEvent(Action.java:498)rnat org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)rnat org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)rnat org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)rnat org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)rnat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)rnat org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)rnat org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)rnat org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)rnat org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)rnat org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)rnat org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)rnat org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)rnat org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)rnat org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)rnat org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)rnat org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)rnat org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)rnat org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)rnat org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)rnat org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)rnat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rnat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rnat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rnat java.lang.reflect.Method.invoke(Method.java:597)rnat org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)rnat org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)rnat org.eclipse.equinox.launcher.Main.run(Main.java:1311)rnrn自己的电脑上装下来没什么问题,在给别人装的时候,装完了想要添加Tomcat服务器的时候一点Tomcat就报错,而且是点Server下面的都报错只是错的不一样而已。rn小弟我对<em>myeclipse</em>有不是很懂,这学期要学Java Web所以要用到<em>myeclipse</em>,所以是刚接触啊,还望各位大大指条明路啊,小弟用的是<em>myeclipse</em>8.6 Tomcat6 Java 6 up 21
BoigleWeb.zip
BoigleWeb<em>帮忙</em><em>看下</em>样式...
麻烦帮忙看下,谢谢
模仿王爽汇编书第294页列程 很奇怪我输入,删除都很正常但再次输入就不显示了,比如说我输入 1 2 3 4 这4个字符,然后删掉3和4再输入5和6 ,这时5和 6不会在3和4位置出现,我跟踪各个寄存器觉的是正常 没有头续,<em>麻烦</em><em>帮忙</em>,谢谢哈rnrnassume cs:coderncode segmentrnmain:rn call showcharrn mov ax,4c00hrn int 21hrnrnshowchar: ;子程序 di用于屏幕定位 si用于内存定位rn push axrn push esrn push dirn push sirn rn jmp startrn nul db 0,240 dup(0) ;nul[0]用来保存字串长度,num[0+?]处开始保存字符串(长度最多为240)rn rn start:rn mov ax,0B800hrn mov es,axrn mov di,0rn mov si,0rn begin: ;这里开始处理用户字串rn mov si,0 ;si置0,方便定位rn sub di,2 ;把屏幕上显示位置减2,下面加回来方便定位rnrn do:rn mov ah,0rn int 16h ;执行int16h后ah保存字符扫描码,al保存字符ascii码rn cmp al,32 ;ascii码>=32为字符显示,小于为退格和回车rn jb nochar ;如果用户输入不是字符即(回车和退格)rn cmp nul,240 ;是字符,判断当前字符总数是否小于240rn ja exit ;超过退出rn inc si ;否则定位nul中要保存字符位置rn add di,2 ;定位屏幕上要显示位置rn mov nul[si],al ;把字符保存到内存rn inc nul ;字符总数+1rn mov es:[di],al ;在屏幕上显示输入的字符rn jmp do rn rn nochar: ;处理删除键和回车键rn cmp al,8 ;退格键?rn je backspace ;处理退格键rn cmp al,13 ;回车?rn je ent ;处理回车键rn jmp do ;都不是回到字符输入点rn rn backspace: ;退格键rn cmp nul,0 ;在执行退格键前必须判断当前字符串里是否有字符rn jna do ;nul<=0(无字符)回到字符输入点rn dec nul ;有字符则总数减1rn mov nul[si],0 ;把nul[si]位置内容置0(内存中字符删除)rn dec si ;修改内存字符串si位置rn mov es:[di],0 ;把屏幕上字符删除rn sub di,2 ;修改屏幕di位置rn jmp dorn rn ent: ;回车rn jmp exitrn rnexit:rn pop sirn pop dirn pop esrn pop axrn retrncode endsrnend main
麻烦帮忙看下错误···
[code=C/C++]#include "Stdio.h"rn#include "Conio.h"rnrnrn struct data rn int date; rn float sugar[2][2]; rn ;rnrnstruct data zhikong(struct data *p,int *w)rn int d,i,m;rnrnrn printf("What's the data today?(1-30):");rn scanfe("%d",&d);rn d=d-1;rn m=*w;rn if(m==d) return(p+(m+1)); /*错误 xuetang.c 20: 不能执行所要求的类型转换在 zhikong 函数中*/rn for(;m>d||d>30;)rn printf("\nInput error,enter it again:");rn scanf("%d",&d);rn if(m==d) return(p+m+1); /*错误 xuetang.c 24: 不能执行所要求的类型转换在 zhikong 函数中*/rn rnfor(m=m+1;msugar[0][0]=x;rn p->sugar[0][1]=0;rn p->sugar[1][1]=0;rn if(xsugar[1][0]=1;rn printf("\nYou blood sugar is %f,it's very good!",x);rn rn if(x>=6.1&&xsugar[1][0]=2;rn printf("\nYou blood sugar is %f,it's good.",x);rn rn if(x>=7.2&&xsugar[1][0]=3;rn printf("\nYou blood sugar is %f,it's just so so.",x);rn rn if(x>=8.8)rn p->sugar[1][0]=4;rn printf("\nYou blood sugar is %f,it's terrible!!!",x);rn rn rn rn if(i==2)rn rn p->sugar[0][1]=x;rn if(xsugar[1][1]=1;rn printf("\nYou blood sugar is %f,it's very good!",x);rn rn if(x>=6.1&&xsugar[1][1]=2;rn printf("\nYou blood sugar is %f,it's good.",x);rn rn if(x>=7.2&&xsugar[1][1]=3;rn printf("\nYou blood sugar is %f,it's just so so.",x);rn rn if(x>=8.8)rn p->sugar[1][1]=4;rn printf("\nYou blood sugar is %f,it's terrible!!!",x);rn rn rnrnrnrnrnint main(void)rnrn struct data *p;rn int d,rn struct data str[30]=1,5,8,1,2,2,9,9,4,3,3,6,9,1,3,4,8,8,,3,2,5,7,7,2,1; /*错误 xuetang.c 100: 说明语法错误在 main 函数中*/rn d=4; /*警告 xuetang.c 110: 'd' 被赋值但却没有使用在 main 函数中*/rnp=zhikong(str,&d) ; /*错误 xuetang.c 103: 未定义的符号'str'在 main 函数中*/rnstruct data input(p);rnrnrn getch();rn return 0;rn[/code]rnrn大虾<em>麻烦</em><em>帮忙</em>看看······
麻烦帮忙看下,谢谢!
[code=C/C++][/code]#include rn#include rn#include rntypedef struct Listrn int data;rn list *next;rnList;rnvoid Change(List &p)rnrn p->data = 999;rnrnint main()rnrn List *pt;rn p = (List*)malloc(sizeof(List));rn scanf("%d", &pt->data);rn system("cls");rn printf("Before:%d\n", pt->data);rn Change(pt);rn printf("After :%d\n", pt->data);rnrnrn我是想利用取地址操作符 & , 在 Change 函数中改变 pt->data 的值。但是,总报错,我不知道该怎么改。请大家指点!rn在线等~~~~~
MyEclipse反编译插件安装,类似IDEA一样可以直接看到源码
要安装<em>插件</em>net.sf.jadclipse_3.3.0.jar和jad.exe <em>插件</em>地址:http://pan.baidu.com/s/1geWI8jL    密码:2b4u 步骤: 1、把net.sf.jadclipse_3.3.0.jar拷到D:\MyEclipse 2016 CI\plugins 目录下.  ( 这里是我的目录,写你自己的eclipse的<em>插件</em>的目录) 2、把
vb高手实例(上)
什么是<em>高手</em>?看<em>看下</em>面的范例-Visual_Basic<em>高手</em>实例
VB高手实例(下)
什么是<em>高手</em>?看<em>看下</em>面的范例-Visual_Basic<em>高手</em>实例
解决Myeclipse8.5总是报内存不够。修改了Myeclipse.ini配置文件却不生效问题
1、修改eclipse.ini  在Myeclipse安装目录下G:\MyEclipse8.5\Genuitec\MyEclipse 8.5有一个<em>myeclipse</em>.ini配置文件,设置如下:  -vmargs -Xmx512m -XX:MaxPermSize=256m -XX:ReservedCodeCacheSize=64m 2、设置Default VM Arguments
帮忙看下哪里错了
我要修改触发器,哪里<em>错了</em>,求助rn[code=SQL]rnset ANSI_NULLS ONrnset QUOTED_IDENTIFIER ONrngornrnALTER TRIGGER [T_ZQ_PurchaseOrder_Detail_TRIGGER_UPDATE]rnON [dbo].[T_ZQ_PurchaseOrder_Detail]rnFOR UPDATErnASrnIF UPDATE(HGSL)rnBEGINrnUPDATE dbo.T_ZQ_PurchaseOrder_Detail setrnHGMY=T_ZQ_PurchaseOrder_Detail.HGSL*TBOOKINFO.FBookPurchaseMoney FROM TBOOKINFO WHERE TBOOKINFO.FBOOKID=T_ZQ_PurchaseOrder_Detail.GYSSPXXID,rnHGSY=HGMY*HGZKrnENDrn[/code]rn[color=#FF0000]错误提示:消息 102,级别 15,状态 1,过程 T_ZQ_PurchaseOrder_Detail_TRIGGER_UPDATE,第 9 行rn',' 附近有语法错误。[/color]
帮忙看下哪里错了。。。
create database testrnrnon primaryrn rn rn (name=tastdat1,rn filename='d:\data\tastdat1.mdf',rn size=1MB,rn maxsize=10MB,rn filegrowth=1MB)rnrn(rn name=testdat2,rn filename='e:\data\testdat2.ndf',rn size=1MB,rn maxsize=10MB,rn filegrowth=1MBrn)rnrnrnlog onrn(rn name=testlog1,rn filename='d:\data\testlog1.ldf',rn size=512KB,rn maxsize=5M,rn filegrowth=512KBrn)rnrnrnrn服务器: 消息 170,级别 15,状态 1,行 13rn第 13 行: 'name' 附近有语法错误。rn
帮忙看下错了
[code=C#]rn private void notifyIcon1_MouseClick(object sender, MouseEventArgs e)rn rn if (this.WindowState == FormWindowState.Minimized)rn rn this.ShowInTaskbar = true;rn this.Visible = true;rn //this.notifyIcon1.Visible = false;rn this.WindowState = FormWindowState.Normal;rn rn elsern rn this.ShowInTaskbar = false;rn this.Visible = false;rn this.notifyIcon1.Visible = true;rn this.WindowState = FormWindowState.Minimized;rn rn rn[/code]rn代码错误的:“未处理 System.StackOverflowException rn 确定你没有无限循环和无限递归”rnrn
帮忙看下 哪里错了!!!!
字符统计rn时间限制(普通/Java):3000MS/10000MS 运行内存限制:65536KBytern总提交:49 测试通过:18rnrn描述rnrn给出一串字符,要求统计出里面的字母、数字、空格以及其他字符的个数。 rn字母:A, B, ..., Z、a, b, ..., z组成 rn数字:0, 1, ..., 9 rn空格:" "(不包括引号) rn剩下的可打印字符全为其他字符。 rnrn输入rnrn测试数据有多组。 rn每组数据为一行(长度不超过100000)。 rn数据至文件结束(EOF)为止。rnrn输出rnrn每组输入对应一行输出。 rn包括四个整数a b c d,分别代表字母、数字、空格和其他字符的个数。rnrn样例输入rnrnrnA0 ,rnrn样例输出rnrnrn1 1 1 1rnrn#include rnusing namespace std;rnint main()rnrn char c;rn int w,x,y,z;rn while(1)rn w=0;rn x=0;rn y=0;rn z=0;rn while((c=getchar())!='\n')rn rn if((c>='a'&& c='A' && c='0' && c<
Myeclipse10安装Aptana(主要用于js和jquery的编辑)
Myeclipse10安装Aptana 在实际项目开发中由于Myeclipse10编辑jsp和js的功能不够强大,那么我们需要引入第三方<em>插件</em>,这样Aptana<em>插件</em>就是比较好的选择,本文详细介绍在Myeclipse10安装Aptana<em>插件</em>的过程和配置方法。 第一部分:安装Aptana<em>插件</em>1、首先下载Aptana<em>插件</em>: 链接: http://pan.baidu.com/s/1kUIIv7T 密码: 5t
Visual_Basic高手实例(目录)
什么是<em>高手</em>?看<em>看下</em>面的范例-Visual_Basic<em>高手</em>实例
帮忙看下错了
#include rnvoid function1 (int *d,int e);rnvoid function2 (double b[],int num);rndouble function3 (const double b[],int num);rnmain (void)rnrn int i,a[10]=0,1,2,3,4,5,6,7,8,9;rn double x,c[5]=2.,4.,6.,8.,10;rn function1(&a[5],a[8])rn function2(c,5);rn x=function3(c,5);rn printf("\na[5]=%d\n",a[5]);rn printf("c[]=");rn for (i=0;i,x); rnrnvoid function1(int *d,int e)rnrn *d=100+ernrnvoid function2(double b[],int num)rnrn int irn for (i=0;i
关于使用selenium工具调用Firefox浏览器登录淘宝、京东web端的试验
** 关于使用selenium工具调用Firefox浏览器登录淘宝、京东web端的试验 ** 1、环境配置(软件安装相关知识大家可在网上查找) 以下是我使用的版本: Firefox 24.0 selenium-2.53.2 2、测试脚本 此次使用的语句都是selenium中最基础的元素定位方式 (1)首先测试使用账号密码登录淘宝web端,相关代码如下: 在此处使用driver.find_e...
关于小波分析matlab程序的解释
关于小波分析原程序的注释,<em>看不懂</em>的可以<em>看下</em>
网上朋友的s2sh实例
网上朋友的s2sh实例,我这边拿来学习了一下,改了一些东西,然后就出<em>错了</em>,大家有空<em>帮忙</em><em>看下</em>你们那有没有错误,是不是我jar包的问题。
麻烦高手帮忙看下这段代码~ 谢谢
rnstring ls_code,ls_name,ls_model,ls_provider,ls_brand,ls_unit,ls_buyer,ls_operator,ls_remarkrninteger li_dqtyrndec2 ldc_price [color=#FF0000]dec是什么类型?[/color]rndate ld_daternrn[color=#FF0000][/color]rnls_name=trim(sle_2.text)rnls_model=trim(sle_3.text)rnif trim(sle_2.text)='' thenrn messagebox('提示','设备名称为空')rn returnrnelsern ls_name=trim(sle_2.text)rnend ifrnrnif trim(sle_3.text)='' thenrn messagebox('提示','设备规格为空')rn returnrnelsern ls_model=trim(sle_3.text)rnend ifrnrnif trim(sle_4.text)='' thenrn messagebox('提示','供应商为空')rn returnrnelsern ls_provider=trim(sle_4.text)rnend ifrnrnif trim(sle_5.text)='' thenrn messagebox('提示','品牌为空')rn returnrnelsern ls_brand=trim(sle_5.text)rnend ifrnrnif trim(sle_6.text)='' thenrn messagebox('提示','数量为空')rn returnrnelsern li_dqty=integer(trim(sle_6.text))rnend ifrnrnif trim(sle_7.text )='' thenrn messagebox('提示','单位为空')rn returnrnelsern ls_unit=trim(sle_7.text)rnend ifrnrnif trim(sle_8.text)='' thenrn messagebox('提示','单价为空')rn returnrnelsern ldc_price=dec(trim(sle_8.text))rnend ifrnrnif trim(sle_9.text)='' thenrn messagebox('提示','采购人为空')rn returnrnelsern ls_buyer=trim(sle_9.text)rnend ifrnrnif trim(sle_10.text)='' thenrn messagebox('提示','经手人为空')rn returnrnelsern ls_operator=trim(sle_10.text)rnend ifrnrnld_date=date(ole_1.object.value)rnls_remark=trim(sle_11.text)rnrnstring l_devtype,l_assettypernrnif trim(sle_14.text)='' thenrn messagebox('提示','物资类型为空')rn returnrnelsern l_devtype=trim(sle_14.text)rnend ifrnrnif trim(sle_13.text)='' thenrn messagebox('提示','物资类别为空')rn returnrnelsern l_assettype=trim(sle_13.text)rnend ifrn[color=#FF0000]上面能看懂,下面的看得不明白,劳烦<em>高手</em><em>帮忙</em><em>看下</em>,我很菜尽量解释清楚点,小弟不胜感激!![/color]rnstring l_scodernrnstring l_assettype_code,l_devtype_codernrnselect max(scode) into :l_scode from toolsstorage where dvType=:l_devtype and assetType=:l_assettype;rnselect typeid into :l_assettype_code rnfrom D_TypeDefinition where sort='assettype' and typedes=:l_assettype;rnrnselect typeid into :l_devtype_code rnfrom D_TypeDefinition where sort='devtype' and typedes=:l_devtype;rnrnif isnull(l_scode) thenrn ls_code=l_assettype_code+l_devtype_code+"0001"rnelsern l_scode=right(l_scode,len(l_scode) - len(l_assettype_code) - len(l_devtype_code))rnrn l_scode=string(long(l_scode)+1)rnrn ls_code=fill('0',4 - len(l_scode))+ l_scodernrn ls_code=l_assettype_code+l_devtype_code+ls_codernrnrnend ifrnrnrninsert into toolsstoragein(scode,sname,smodel,sprovider,sbrand,dqty,rn sunit,dprice,sbuyer,soperator,dtbuy,sremarks)rnvalues (:ls_code,:ls_name,:ls_model,:ls_provider,:ls_brand,:li_dqty,rn :ls_unit,:ldc_price,:ls_buyer,:ls_operator,:ld_date,:ls_remark);rnrn insert into toolsstorage(scode,sname,smodel,sprovider,sbrand,dqty,bqty,rn sunit,dprice,sbuyer,soperator,dtbuy,sremarks,Iqty,dvType,assetType)rn values (:ls_code,:ls_name,:ls_model,:ls_provider,:ls_brand,:li_dqty,0,rn :ls_unit,:ldc_price,:ls_buyer,:ls_operator,:ld_date,:ls_remark,:li_dqty,:l_devtype,:l_assettype);rnrnif sqlca.sqlcode=-1 thenrn messagebox('提示',sqlca.sqlerrtext)rn rollback using sqlca;rnelsern commit using sqlca;rn rnrn allcount++rn messagebox('提示','入库成功!共入库'+string(allcount))rnend ifrnrnrn
麻烦高手帮忙看下网络如何划分
将一个C类的网络地址192.168.1.0划分为4个子网,分别代表四个部门,这4个部门分别有计算机5、7、12、20台。请写出每个子网的子网掩码和主机IP地址的范围,<em>麻烦</em>啦。
windows7系统揭秘下载
对windows7系统做了详细介绍,非常适合初用windows7和想深入研究win7的用户,该文档从win7安装到配置都做了详细介绍,特别是对于系统安全、网络配置和系统内核都做了详细介绍。 相关下载链接:[url=//download.csdn.net/download/mhbluo/2006740?utm_source=bbsseo]//download.csdn.net/download/mhbluo/2006740?utm_source=bbsseo[/url]
手机上合金弹头的源代码下载
学习java时候编写的手机上面的游戏,合金弹头的源代码 相关下载链接:[url=//download.csdn.net/download/asrb007/2023029?utm_source=bbsseo]//download.csdn.net/download/asrb007/2023029?utm_source=bbsseo[/url]
Electronics Practice\Digital Clock\CLOCK2009 使用说明书.doc下载
Electronics Practice\Digital Clock\CLOCK2009 使用说明书.doc 相关下载链接:[url=//download.csdn.net/download/jasonxzy/2052449?utm_source=bbsseo]//download.csdn.net/download/jasonxzy/2052449?utm_source=bbsseo[/url]
文章热词 设计制作学习 机器学习教程 Objective-C培训 交互设计视频教程 颜色模型
相关热词 mysql关联查询两次本表 native底部 react extjs glyph 图标 java 在线学习 高手 黑马大数据高手班
我们是很有底线的