求问我的算法实现到底哪里出错了? [问题点数:50分]

Bbs1
本版专家分:0
结帖率 0%
到底哪里错了
CREATE PROCEDURE UpdateTraffic rn @Start datetime,rn @endtime datetime,rn @Serial_no varchar(50),rn @Src_add varchar(50),rn @Src_port varchar(50),rn @Dst_addr varchar(50),rn @Dst_port varchar(50),rn @Date_len int,rn @IPPacketSerial int,rnASrn if exists (select IPPacketSerial from Traffic rn where IPPacketSerial = @IPPacketSerial)rnrn beginrn update Traffic set Date_len = Date_len + @Date_len , [end] = @end rn where IPPacketSerial = @IPPacketSerialrn endrn elsern beginrn insert Traffic (Start,endtime,Serial_no,Src_add,Src_port,Dst_addr,Dst_port,Date_len,IPPacketSerial)rn values(@Start,@endtime,@Serial_no,@Src_add,@Src_port,@Dst_addr,@Dst_port,@Date_len,@IPPacketSerial)rn endrnrnrnrn我用SQL Server Query Analyzer 调用这个存储过程的语句是rnrnUpdateTraffic('20:01:00','20:01:01',rn '58612885','192.168.1.111','2000','192.168.1.166',rn '2000',30,1)rnrn为什么会出错?rn错误提示是rnServer: Msg 170, Level 15, State 1, Line 1rnLine 1: Incorrect syntax near '20:01:00'.rnrn即便是我把时间换成 '2001-11-12 20:11:00'这种格式也不对,请问这究竟是怎么回事?
到底哪里错了?
Option ExplicitrnPrivate Sub Command1_Click()rn Dim t As Longrn Dim i As Longrn Dim m_switch As Booleanrn i = 2rn t = Val(Text1.Text)rn m_switch = Falsern Do Until i > t Or m_switchrn If t Mod i = 0 Thenrn m_switch = Truern Elsern i = i + 1rn End Ifrn Looprn If m_switch Thenrn Text2.Text = t & "是素数"rn Elsern Text2.Text = t & "不是素数"rn End IfrnEnd Subrnrn这段程序运行后,无论输入的数值是什么,都提示XX是素数.<em>到底</em><em>哪里</em>出<em>错了</em>?
求解决 到底哪里错了
“FamilyFinance.DBHelper”的类型初始值设定项引发异常。
makefile到底哪里错了??求大神
rnmakefile文件rn[code=text] target: main.o libBasicUsageEnvironment.arn g++ -o target main.o libBasicUsageEnvironment.arnrn rnrnmain.o : test.cpp rn g++ -I/home/qifei/桌面/live555_test/live -I/home/qifei/桌面/live555_test/live/groupsock/include \rn -I/home/qifei/桌面/live555_test/live/UsageEnvironment/include -I/home/qifei/桌面/live555_test/live/BasicUsageEnvironment/include \rn -I/home/qifei/桌面/live555_test/live/liveMedia/include test.cpp[/code]rnrn出现错误:rnrntest.cpp:(.text+0x12f): undefined reference to `BasicTaskScheduler::createNew(unsigned int)'rn底下还有很多这样的错误。求大神们不吝赐教。
懵了,到底哪里错了
运行到下面这段子程序时报错,编译器vc++rnrnrecord load_data() //record是自定义类型rnrn record p;rn record hl;rn hl=NULL;rn if((fp=fopen(accounts,"rb"))=NULL) //fp是全局变量rn rn printf("Failed.");rn getch();rn return NULL;rn rn fseek(fp,sizeof(int),0);rn fseek(fp,l*sizeof(char),1);rn while(!feof(fp))rn rn p=(record)malloc(sizeof(lnode));rn if(fread(p,sizeof(lnode),1,fp)==1)rn rn p->next=NULL;rn if(hl!=NULL)rn hl->next=p;rn elsern hl=p;rn rn rn fclose(fp);rn return hl;rnrn报错信息:rnDebug Assertion Failed!rnProgram:..........(就是生成的可执行文件)rnFile: fseek.crnLine: 146rnExpression: str != NULLrn......(后面就是让我debug程序,不会~~~)rn初学者求助
问我的搜索功能哪里错了
查询填入页rnrnrnrn 人事档案查询rn rnrnrnrn 当前位置||首页 > 人事档案查询rn 请输入您想查询的内容:rn rn rn 姓名: rn rn rn rn rn rn rn rn rn rn rn 用户名: rn rn rn rn rn rn rnrn搜索结果页rnrnrnrnrnrnrn 人事查询表rnrn 当前位置||首页 > 人事一览表 rn 人事一览表 rn rn rn0 and request("t1")<>"" then %> rn rn rn 姓名rn 性别rn 用户名rn 权限rn 所在部门rn 职务rn 部门电话rn 邮编rn 住址rn 备注 rn rn rn rn rn rn rn rn 没有符合条件的记录! rn rnrnsysinc.asp代码rn rn结果页面出现rnMicrosoft VBScript 编译器错误 错误 '800a03f6' rnrn缺少 'End' rnrn/iisHelp/common/500-100.asp,行242 rnrnADODB.Recordset 错误 '800a0bb9' rnrn变量或者类型不正确,或者不在可以接受的范围之内,要不就是与其他数据冲突。 rnrn/office/FILE/hrdata.asp,行16 rn请问如何解决rnrnrnrn
新人求解,这到底哪里错了
public class Circle1rn public static void main(String[] args)rn Circle1 circle1 = new Circle1();rn System.out.println("The area of the circle of radius" + circle1.radius + "is" + circle1.getArea());rn rn Circle1 circle2 = new Circle1(25);rn System.out.println("The area of the cirlce of radius " + circle2.radius + "is" + circle2.getArea());rn rn Circle1 circle3 = new Circle1(125);rn System.out.println("The area of the cirlce of radius " + circle3.radius + "is" + circle3.getArea());rn rn circle2.radius = 100;rn System.out.println("The area of the cirlce of radius " + circle2.radius + "is" + circle2.getArea());rn rnrnrn double radius;rn rn Circle1()rn radius = 1.0;rn rnrn Circle1(double newRadius)rn radius = newRadius;rn rnrn double getArea()rn return radius *radius * Math.PI;rn rn
帮忙看看到底哪里错了....
做了一个小练习,想要每次鼠标滑过菜单项时,菜单项的背景色改变一下。为什么没变化呢....代码如下:rnrnrnrn 练习rn rnrn rn rnrnrnrnrn rn rn Arn Brn Crn D rn Ernrnrnrn
ORACLE中函数到底哪里错了
create or replace function concat2(str1 in varchar2,str2 in varchar2)rn return String is Result String;rnbeginrn if (str1 is null) or (str2 is null) thenrn Result := '';rn elsern beginrn Result=concat(concat(str1,','),str2);rn end;rn rn end if;rn return(Result);rnend concat5;rn
搜寻到底哪里错了! 帮忙看看!
我写了datamodule4.ClientDataSet1.Locate('Category',VarArrayOf([edit2.Text]),[loCaseInsensitive,loPartialKey]);rn 运行之后为什么还会出现[Error] Unit3.pas(56): Undeclared identifier: 'loCaseInsensitive'rn<em>到底</em>问题出现在那里啊!
这段代码到底哪里错了
我写了一个JS文件,而且在HTML文件里也正确应用了这个JS文件,可是IE老是提示有错误,详细错误是指我的JS文件里的第10行第一个字符有错误。可是我发现我的JS文件里第10行第一个字符并没有错啊,因为我每行都是document.write语句,而且我可以保证没有拼写错误或漏写分号,这是怎么回事啊?
帮忙看看模板类到底哪里错了
#include rn#include rnrnusing namespace std;rntemplaternvoid rtrim(basic_string& s,T c)rnrn if(s.empty())rn return;rn rn typename basic_string::iterator p;rn for(p=s.end();p!=s.begin()&&*--p==c;);rn if(*p!=c)rn p++;rn s.erase(p,s.end());rnrnint main()rnrn string s="Great!!!!!";rn wstring ws=L"super!!!!";rn rn rtrim(s,'!');rn rtrim(ws,L"!");rn rn cout<
图片上传服务器到底哪里错了
public void SavePic()rn rn Boolean fileOk = false;rn string path = Server.MapPath("picture/pic_letter/");rn if (FileUpload1.HasFile)rn rn string fileE = Path.GetExtension(FileUpload1.FileName).ToLower();rn string[] a = ".gif", ".bmp", ".jpg", ".pdf", ".imf" ;rn for (int i = 0; i < a.Length; i++)rn rn if (fileE == a[i])rn rn fileOk = true;rn break;rn rn rn if (fileOk)rn rn rn tryrn rn FileUpload1.PostedFile.SaveAs(path + FileUpload1.FileName);rn Response.Write(" ");rn rn catchrn rn Response.Write(" ");rn rn rn elsern rn Response.Write(" ");rn return;rn rnrn rn elsern rn Response.Write(" ");rn return;rn rnrn之前用input《type=file》可以上传rn现在改成FileUpload方法 为什么就是没见到上传的文件,也没报错。rnrn还有rnFileUpload1.SaveAs(path + FileUpload1.FileName);rnFileUpload1.PostedFile.SaveAs(path + FileUpload1.FileName);rn这两句有什么区别rnrn
到底哪里错了,抓狂哇~~~~~~
下面这段不知道<em>哪里</em><em>错了</em>,在家里可以用,拿到公司怎么测都不行:( rnif ($submit!='')这里似乎无效。rnrnrun())rn rn echo "上传失败,原因:".$upload->errmsg();rn rnrnecho "$submit";rn?>rnrnrn 文件上传rn rn rnrnrnrn rn rn rn rn rn rn rn rnrnrn
log4net生成日志失败?到底哪里错了
引用的是log4net .net3.5版本的,配置文件放在log4net.config里面rn这是我写的loghelper类rn[img=https://img-bbs.csdn.net/upload/201609/20/1474304948_562011.png][/img]rn打断点发现loginfo.IsInfoEnabled==falsern输出以下内容rnSystem.Configuration.ConfigurationErrorsException: 配置系统未能初始化 - System.Configuration.ConfigurationErrorsException: 无法识别的配置节 section。 (C:\A\VS project\AddSample\AddSample\bin\x86\Debug\AddSample.vshost.exe.config line 3)rn 在 System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)rn 在 System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)rn 在 System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()rn 在 System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)rn --- 内部异常堆栈跟踪的结尾 ---rn 在 System.Configuration.ConfigurationManager.PrepareConfigSystem()rn 在 System.Configuration.ConfigurationManager.GetSection(String sectionName)rn 在 System.Configuration.ConfigurationManager.get_AppSettings()rn 在 log4net.Util.SystemInfo.GetAppSetting(String key)rnlog4net:ERROR Exception while reading ConfigurationSettings. Check your .config file is well formed XML.rnrnrn然后AssemblyInfo.cs里面加了rn[assembly: log4net.Config.XmlConfigurator(ConfigFile = "log4net.config", ConfigFileExtension = "config", Watch = true)]rnrn结果就是日志没打印出来,<em>到底</em>是路径<em>错了</em>?还是什么地方没写对?求大神解惑
sql语句到底哪里错了
CString sqlStr=CString(_T("select* where userName='") ) +m_strUserName+CString(_T("' and pass='"))+m_strPassword+CString(_T("' from userInfo"));rnrnrn rnrnrn调试后,发现 sqlStr的值为:rnsqlStr "select* where userName='admin' and pass='admin' from userInfo" ATL::CStringT > >rnrnrnrnuserInfo表为:rnrnuserName passrnrnIDispatch error#3092 估计是sql语法的问题,可是我的语法没有错啊rnrnQuery中的关键代码:rnrnm_pRes->Open((_bstr_t)sql,m_pConn.GetInterfacePtr(), adOpenDynamic, adLockOptimistic, adCmdText); //执行sqlrnrn
问我的归并排序哪里错了 求指导
#includernrnusing namespace std;rnrnrnrnrnint mergesort(int a[],int b[],int mm, int nn);rnrnrnint merge(int low,int midd,int high,int pre[],int pro[]);rnrnrnrnrnint mergesort(int a[],int b[],int mm,int nn) rnrn int mid;rnrn if(mm>n;rn int i[n],j[n];rnrnrnrn for(m=0;m>i[m];rnrn rnrnrn mergesort(i,j,0,n-1);rnrnrn for(int mm=0;mm<
到底那里出错了
rnrnrn rn rn rn rn rn rnrn*********************************************rn错误信息rn“/”应用程序中的服务器错误。rn-----------------------------rn未将对象引用设置到对象的实例。 rn说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 rn异常详细信息: System.NullReferenceException: 未将对象引用设置到对象的实例。rn
求高手赐教,我的java程序到底哪里错了!?
import java.awt.*;rnrnrnpublic class frame extends Framernrn public frame()rn rn super("娱乐版计算机--潘深练");rn TextField txt = new TextField();rn GridBagConstraints gridBag = new GridBagConstraints(); // 实例化一个约束对象rn gridBag.fill = GridBagConstraints.HORIZONTAL; // 以水平填充方式布局rn gridBag.weightx = 100; // 行自适应缩放rn gridBag.weighty = 0; // 列高不变rn addToBag(txt,gridBag,0,0,1,1);rn gridBag.weightx = 100; // 行自适应缩放rn gridBag.weighty = 100; // 列自适应缩放rnrn Panel operate = new Panel();rn operate.setLayout(new GridLayout(6,3,15,15));rn operate.add(new Button("Clear"));rn operate.add(new Button("+"));rn operate.add(new Button("0"));rn operate.add(new Button("1"));rn operate.add(new Button("2"));rn operate.add(new Button("3"));rn operate.add(new Button("-"));rn operate.add(new Button("*"));rn operate.add(new Button("."));rn operate.add(new Button("4"));rn operate.add(new Button("5"));rn operate.add(new Button("6"));rn operate.add(new Button("/"));rn operate.add(new Button("%"));rn operate.add(new Button("="));rn operate.add(new Button("7"));rn operate.add(new Button("8"));rn operate.add(new Button("9"));rn add(operate);rnrn pack();rn setVisible(true);rn rnrnrn/***********************将一个部件按指定大小加入到 GridBagLayout 布局的指定位置***********************/rn void addToBag(Component c ,GridBagConstraints gbc , int x , int y ,int h , int w)rn rn gbc.gridx = x;rn gbc.gridy = y;rn gbc.gridheight = h;rn gbc.gridwidth = w;rn add(c,gbc); // 按指定约束加入部件rn rnrnrnrnrnrnrn/**********************************************主程序**********************************************/rn public static void main(String args[])rn rn new frame();rn rn
求大神来看下这里到底哪里错了? java.lang.IndexOutOfBoundsException
我想根据JCombox里的内容来切换JPanel,为什么会报错?rn[code=java]import java.awt.*;rnimport java.awt.event.*;rnrnimport javax.swing.*;rnrnpublic class mit_menu2_stuInfo_ActionListener implements ActionListenerrn MainFrame mf;rn JPanel jpanel_1,jpanel_2;rn JTable jtable_1,jtable_2;rn JLabel jlabel_1;rn JComboBox jcom_1;rn public static final String[] colName_2 = "楼号","寝室号","姓名","系别","班级","铺位号","联系方式";rn public static final String[][] rowData_2 = rn "桃园四舍","110","姜鹤","土木工程系","****一班","2号","1518982****",rn "桃园四舍","111","法师队","土木工程系","****二班","1号","1518982****",rn "桃园五舍","332","李尧","计算机工程系","软件工程二班","1号","1518982****",rn "桃园五舍","332","章庆煌","计算机工程系","软件工程二班","2号","1529573****",rn "桃园五舍","333","孙雨晨","计算机工程系","软件工程二班","1号","1518982****",rn "桃园五舍","333","曲阳","计算机工程系","软件工程二班","2号","1518982****",rn "桃园五舍","333","钱磊","计算机工程系","软件工程二班","3号","1518982****",rn "桃园五舍","333","邓涛","计算机工程系","软件工程二班","4号","1518982****",rn ;rn public static final String[] jcom_1_Data = "桃园一舍","桃园二舍","桃园三舍","桃园四舍",rn "桃园五舍","桃园六舍","桃园七舍","桃园八舍",rn "桃园九舍","桃园十舍","桃园十一舍","桃园十二舍",rn "桃园十三舍","桃园十四舍","桃园十五舍","桃园六舍"rn ;rn public static int a = rowData_2.length;rn public static final String[][] rowData_Info_2 = new String[a][7];rn public mit_menu2_stuInfo_ActionListener(MainFrame mf)rn super();rn this.mf=mf;rn rn rn @SuppressWarnings("serial")rn @Overridern public void actionPerformed(ActionEvent e) rn jpanel_1 = new JPanel();rn jpanel_1.setBackground(Color.white);rn rn jpanel_2 = new JPanel();rn jpanel_2.setBackground(Color.white);rn rn mf.getContentPane().setVisible(false);rn mf.setContentPane(jpanel_1);rn rn jtable_1 = new JTable(rowData_2,colName_2)rn @Overridern public boolean isCellEditable(int row, int column) rn return false;rn rn ;rn rn new TableModel_2(jtable_1,jpanel_1);rn rn jlabel_1 = new JLabel("按照楼号检索:");rn jlabel_1.setFont(new Font("张海山锐线体简",Font.PLAIN,20));rn jpanel_1.add(jlabel_1);rn rn jcom_1 = new JComboBox(jcom_1_Data);rn jcom_1.setPreferredSize(new Dimension(150,30));rn jcom_1.setBackground(Color.white);rn jcom_1.setFont(new Font("张海山锐线体简",Font.PLAIN,20));rn jpanel_1.add(jcom_1);rn rn MethodActionListener();rn rn rn rn public void MethodActionListener()rn jcom_1.addActionListener(new ActionListener() rn @SuppressWarnings("serial")rn @Overridern public void actionPerformed(ActionEvent e) rn String a = (String) jcom_1.getSelectedItem();rn int count = 0;rn for(int i=0;i
问我哪里错了
//基于对话框的MFCrn//我想改变对话框上Button 上的按钮上的字体rnHBRUSH CCalculatorDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor)rnrn HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor);rnrn // TODO: 在此更改 DC 的任何属性rn rn if(pWnd->GetDlgCtrlID()==IDC_BUTTON_DEL)rn rn pDC->SetTextColor(RGB(255,0,0));rn //pDC->SetBkMode(TRANSPARENT);rn rn if(pWnd->GetDlgCtrlID()==IDC_BUTTON_CE)rn rn pDC->SetTextColor(RGB(255,0,0));rn //pDC->SetBkMode(TRANSPARENT);rn rn // TODO: 如果默认的不是所需画笔,则返回另一个画笔rn return hbr;rnrn//为什么一点效果都没有。。。。请<em>问我</em>是<em>哪里</em><em>错了</em>
到底哪里错了??
我想实现的是:用户输入一个数字,程序就输出数字级金字塔。但是,不成功啊rnusing System;rnnamespace Pyramid rnrn class programrn rn static void Main(string[] args)rn rn char A;rn int number = 0, num_x = 0, num_tab = 0;rn do rn rn Console.Write("你想输出几行金字塔?");rn number = Console.Read();rn for (int i = 1; i < number; i++)rn rn Console.WriteLine();rn num_x = 2 * i - 1;rn Console.WriteLine("m = 0", num_x );rn num_tab = (2 * number - 1 - num_x) / 2;rn for (int a = 1; a );rn rn rnrn
到底哪里错了?
#includern#define MAX 200rnint a[MAX],b[MAX],cnt=0;rnrnvoid jsval()rnrnrnrnrnvoid readdat()rnrn int i;rn FILE*fp;rn fp=fopen("int.dat","r");rn for(i=0;i
到底哪里错了啊?
unit zqd;rnrninterfacernrnusesrn Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,rn Dialogs, DB, ADODB, Grids, DBGrids, StdCtrls;rnrntypern TForm1 = class(TForm)rn DBGrid1: TDBGrid;rn DataSource1: TDataSource;rn ADOQuery1: TADOQuery;rn Button1: TButton;rn procedure Button1Click(Sender: TObject);rn privatern Private declarations rn publicrn Public declarations rn end;rnrnvarrn Form1: TForm1;rnrnimplementationrnuses Unit2;rn$R *.dfmrnrnprocedure TForm1.Button1Click(Sender: TObject);rnbeginrn tryrn Form2 := TForm2.Create(Nil);rn Form2.Show;rn exceptrn Form2.Free;rnend;rnrnend.rn这是Unit1里的代码!rn我想button1click弹出子窗体rn哪<em>错了</em>啊?还是窗体的属性设置的哪不对?窗体和子窗体的属性该怎么设置啊?
到底哪里错了
Under DBCS, a given string can contain[color=#FF0000] all single-byte ANSI characters, all double-byte characters, or a combination of the two[/color]. These possibilities require special care in parsing strings, including CString objects.rnrnhttp://technet.microsoft.com/zh-cn/subscriptions/ey142t48(v=vs.71).aspxrnrn如果这段英文是真实的,那么下面的英文就有问题吗?rnrnrnrnSourceType/DestinationTypernDescriptionrnArnANSI character string.rnWrnUnicode character string.rnTrnGeneric character string (equivalent to W when _UNICODE is defined, equivalent to A otherwise).rnOLErnOLE character string (equivalent to W).rnrnhttp://msdn.microsoft.com/en-us/library/87zae4a3.aspxrnrnrnW2A 中的a是ansi ? rnrn擦,如果真是ansi, 那么我们代码必然有问题。为什么这么说呢?rnrn一个宽字节版本的字符串,包含了中英文, 一旦用w2a转换, rn效果为:宽字节字符像ansicc(ansi )转换,我靠,中文转换为anicc ?这是啥子效果啊。rnrn我希望这个[color=#FF0000]a是指: mbcs , 而不是单纯的( ascii) !!!![/color]rnrn
到底哪里错了?
Under DBCS, a given string can contain all [color=#FF0000]single-byte ANSI characters, all double-byte characters, or a combination of the two[/color]. These possibilities require special care in parsing strings, including CString objects.rnrnhttp://technet.microsoft.com/zh-cn/subscriptions/ey142t48(v=vs.71).aspxrnrn如果这段英文是真实的,那么下面的英文就有问题吗?rnrnrnrnSourceType/DestinationTypernDescriptionrn[color=#FF0000]ArnANSI character string.[/color]rnWrnUnicode character string.rnTrnGeneric character string (equivalent to W when _UNICODE is defined, equivalent to A otherwise).rnOLErnOLE character string (equivalent to W).rnrnhttp://msdn.microsoft.com/en-us/library/87zae4a3.aspxrnrnrnW2A 中的a是ansi ? rnrn擦,如果真是ansi, 那么我们代码必然有问题。为什么这么说呢?rnrn一个宽字节版本的字符串,包含了中英文, 一旦用w2a转换, rn效果为:宽字节字符像ansicc(ansi )转换,我靠,中文转换为anicc ?这是啥子效果啊。rnrn我希望这个a是指: mbcs , 而不是单纯的( ascii) !!!!rnrnrnrn
到底哪里错了!!!
1 create or replace function cal(a int,b int) return int isrn 2 c int;rn 3 beginrn 4 c:=a/b;rn 5 return c;rn 6 exceptionrn 7 when zero_divide thenrn 8 dbms_output.put_line('wrong');rn 9* end;rnSQL> /rnrn函数已创建。rnrnSQL> declarern 2 i int;rn 3 beginrn 4 i:=cal(5,0);rn 5 end;rn 6 /rndeclarern*rnERROR 位于第 1 行:rnORA-06503: PL/SQL: 函数未返回值rnORA-06512: 在"SYSTEM.AAA", line 9rnORA-06512: 在line 4
到底哪里错了
package dqh;rnrnpublic class SimpleCalculatorrnrn private String first;rn private String second;rn private double result;rn private String operator;rn rn public void setFirst ( String first )rn rn this.first = first;rn rn rn public void setSecond ( String second )rn rn this.second = second;rn rn rn public void setOperator ( String operator )rn rn this.operator = operator;rn rn rn public String getFirst ( )rn rn return this.first;rn rn rn public String getSecond ( )rn rn return this.second;rn rn rn public double getResult ( )rn rn return this.result;rn rn rn public void calculate ( )rn rn double one = Double.parseDouble ( first );rn double two = Double.parseDouble ( second );rn tryrn rn if ( operator.equals ( "+" ) )rn result = one + two;rn elseif ( operator.equals ( "-" ) );rn result = one - two;rn elseif ( operator.equals ( "*" ) );rn result = one * two;rn elseif ( operator.equals ( "/" ) );rn result = one / two;rn rn catch ( Exception e )rn rn System.out.println ( e );rn rn rnrnrn原来说elseif ( operator.equals ( "*" ) )错误,于是我加了";"rnrn但现在又说rnSimpleCalculator.java:48: cannot resolve symbol symbol : method elseif (boolean) location: class dqh.SimpleCalculator elseif ( operator.equals ( "-" ) ); ^ SimpleCalculator.java:50: cannot resolve symbol symbol : method elseif (boolean) location: class dqh.SimpleCalculator elseif ( operator.equals ( "*" ) ); ^ SimpleCalculator.java:52: cannot resolve symbol symbol : method elseif (boolean) location: class dqh.SimpleCalculator elseif ( operator.equals ( "/" ) ); ^ 3 errors rnrn我都不知道怎么会事!
真的找不出到底哪里错了。。。囧。。有空的帮小弟看下到底哪里错了,谢了
#includern#includernusing namespace std;rnrntemplaternvoid split(const list& aList, list& list1, list& list2)rnrnrnrn list::iterator iter=aList.begin();rn while(iter!=aList.end())rn rn int i=1;rnrn if(i%2==1)rn list1.push_back(*iter);rn elsern list2.push_back(*iter);rn aList.erase(iter++);rn i++;rn rnrnrnrnvoid main()rnrn int arr[]=1,2,3,4,5,6;rn int arrsize=sizeof(arr)/sizeof(int);rn const listaList(arr,arr+arrsize);rn listlist1;rn listlist2;rn split(aList,list1,list2);rn list::iterator iter1=list1.begin();rn list::iterator iter2=list2.begin();rn while(iter1!=list1.end())rn rn cout<<
急求答案..到底哪里错了
import java.awt.*;rnimport javax.swing.*;rnrnimport java.awt.Event;rnimport java.awt.event.ActionEvent;rnimport java.awt.event.ActionListener;rnpublic class CJ3 extends JFrame implements ActionListenerrnrn CJ3()rn rn rn rn public void actionPerformerd(ActionEvent e)rn rn rn rn public static void main (String args[])rn rn new CJ3();rn rn
问我那里出错了
这是源代码:rnrnrnrn rnrnrnrnrnrn 无标题页rnrnrn 请您输入信息rn rn rn rn rn 主题: rn rn rn rn rn rn rn rn rn rnrnrn出错信息:rn第 1 行: '?' 附近有语法错误。 rn说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 rnrn异常详细信息: System.Data.SqlClient.SqlException: 第 1 行: '?' 附近有语法错误。rnrn源错误: rnrnrn行 33: infoRow("huiId") = 0rn行 34: infoTab.Rows.Add(infoRow)rn行 35: da.Update(ds, "info")rn行 36: LblDesc.Text = "您已成功发帖!"rn行 37: subject.Text = ""rn rnrn源文件: D:\学习社区\大三上\ASP.NET\试验源码\p7-1.aspx 行: 35 rn
【求助】 哪里错了
Inputrn每组输入数据占3行,第一行是2个整数 n ( 0 < n ≤ 100 ) 和 m ( 0 < m ≤ 100 ) ,分别表示集合A和集合B的元素个数。rn第二行是n个整数,表示集合A的n个元素。rn第三行是m个整数,表示集合B的m个元素。rn每个元素为不超出int范围的整数,元素之间有一个空格隔开。rn如果n=0并且m=0表示输入的结束,不做处理。rnrnOutputrn针对每组数据输出一行数据,表示A-B的结果,如果结果为空集合,则输出"NULL",否则从小到大输出结果。 两个元素之间有一个空格,行末没有空格。rnrnSample Inputrn3 3rn1 2 3rn1 4 7rn3 7rn2 5 8rn2 3 4 5 6 7 8rn0 0rnrnSample Outputrn2 3rnNULLrnrn[code=c]#includernvoid bubble(int p[],int t);rnint main()rnrn int i,j,n,k,m,t,a[101],b[101],p[101];rn while(scanf("%d%d",&n,&m)!=EOF)rn rn if(n==0&&m==0)rn break;rn t=n;rn for(i=0;ip[j+1])rn rn s=p[j];p[j]=p[j+1];p[j+1]=s;rn rn rn[/code]
哪里错了
select (case when 200%60/60.0=0 then (200/60) else (case when 200%60/60.0>0.5 then (200/60+1) else (cast(200/60 as varchar)+'.5') end) end)rn
哪里错了???
服务器端代码:rnimport java.awt.*;rnimport java.awt.event.*;rnimport javax.swing.*;rnimport java.io.*;rnimport java.net.*;rnimport java.sql.*;rnrnclass Net extends Threadrn private Socket socket;rn private BufferedReader in;rn private PrintWriter out;rn private Connection con = null;rn private Statement stmt;rn private ResultSet rst;rn private String [] str = new String [3];rn private boolean flag = true;rnrn public Net (Socket s) throws IOException, SQLException, ClassNotFoundExceptionrn socket = s;rn in = new BufferedReader(rn new InputStreamReader(rn socket.getInputStream()));rnrn out = new PrintWriter(rn new BufferedWriter(rn new OutputStreamWriter(rn socket.getOutputStream())),true);rnrn Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");rn con = DriverManager.getConnection("jdbc:odbc:net");rn stmt = con.createStatement();rnrn start();rn rnrn public void run()rn tryrn for(int i = 0; i);rn ResultSetMetaData rsmd = rst.getMetaData();rn column = rsmd.getColumnCount();rn columnname = new String [column - 2];rn for(int i = 0; i
读取文件哪里错了
import java.io.*;rnimport java.util.Scanner;rnrnrnrnpublic class FileRd rn public static void main(String[] agrs) throws Exceptionrn File file=new File("e:\\111.txt");rn Scanner sc=new Scanner(file);rn int num=0;rn int sum=0;rn if(sc.hasNextLine())rn sum=sum+sc.nextInt();rn num++;rn rn rn System.out.println("文件中的数据总和为:"+sum);rn System.out.println("文件中数据的平均值为:"+sum/num);rn rn rnrnrnrn打印结果只读入了文件的第一行数据,为什么??不知道问题出在<em>哪里</em>rn
请问哪里错了???
rn想编写独立模块,不知道下面<em>哪里</em>出<em>错了</em>,用的是python2.5rndef show():rn print 'i am a moudle'rn if _name_=='_main_':rn rn File "", line 3rn if _name_=='_main_':rn rn^rnIndentationError: unindent does not match any outer indentation levelrnrnrnrndef show():rn pirnt ' I am a module!'rnif _name_='_main_':rn show()rn print ' I am not a module!'rnrn rnrn
匿名方法,哪里错了
string[] strArr = "sdf", "df", "er", "tyyt", "uiyytr", "uyigf", "ewrfw", "e", "33" ;rnrn IEnumerable newArr = Enumerable.Where(strArr, rn rn new Delegate(string dd)rn int a;rn return int.TryParse(dd,out a);rn rn rn rn );
哪里错了呢?
照书上的rn//FrameTest.javarnimport java.awt.*;rnclass FrameTest extends Framernpublic boolean handleEvent(Event evt)rnif (evt.id==Event.WINDOW_DESTROY) System.exit(0);rn//书上原来是return super.handleEvent(e);rnreturn super.handleEvent(evt);rnrnrnpublic static void main(String[] args) rnrnFrame f=new Frame();rnf.resize(300,200);rnf.show();rnrnrnrnrnrn
哪里错了
有下面一段程序:rn//---------------------------------------------------------------------------rnrnrn#include rn#include rn#include rn#include rnrn//---------------------------------------------------------------------------rnrnrnstruct Entryrn string bookname ;rn string card ;rn;rnvoid f(vector& ve, list& le)rnrn sort(ve.begin(), ve.end()) ;rn unique_copy(ve.begin(), ve.end), le.begin()) ;rnrnvoid f1(vector& ve, list& le)rnrn sort(ve.begin(), ve.end) ;rn unique_copy(ve.begin(), ve.end(), back_insert(le))rnrnint main(int argc, char* argv[])rnrn vector &vbook ;rn list& &lbook ;rn f(vbook, lbook) ;rnrnrn return 0;rnrn//---------------------------------------------------------------------------rn在vc6种编译时除下面错误:rnaglor1.cpprnG:\exise\aglor1.cpp(13) : error C2146: syntax error : missing ';' before identifier 'bookname'rnG:\exise\aglor1.cpp(13) : error C2501: 'string' : missing storage-class or type specifiersrnG:\exise\aglor1.cpp(13) : error C2501: 'bookname' : missing storage-class or type specifiersrnG:\exise\aglor1.cpp(14) : error C2146: syntax error : missing ';' before identifier 'card'rnG:\exise\aglor1.cpp(14) : error C2501: 'string' : missing storage-class or type specifiersrnG:\exise\aglor1.cpp(14) : error C2501: 'card' : missing storage-class or type specifiersrnG:\exise\aglor1.cpp(16) : error C2065: 'vector' : undeclared identifierrnG:\exise\aglor1.cpp(16) : error C2275: 'Entry' : illegal use of this type as an expressionrn G:\exise\aglor1.cpp(12) : see declaration of 'Entry'rnG:\exise\aglor1.cpp(16) : error C2065: 've' : undeclared identifierrnG:\exise\aglor1.cpp(16) : error C2065: 'list' : undeclared identifierrnG:\exise\aglor1.cpp(16) : error C2275: 'Entry' : illegal use of this type as an expressionrn G:\exise\aglor1.cpp(12) : see declaration of 'Entry'rnG:\exise\aglor1.cpp(16) : error C2065: 'le' : undeclared identifierrnG:\exise\aglor1.cpp(17) : error C2448: '' : function-style initializer appears to be a function definitionrnG:\exise\aglor1.cpp(21) : error C2275: 'Entry' : illegal use of this type as an expressionrn G:\exise\aglor1.cpp(12) : see declaration of 'Entry'rnG:\exise\aglor1.cpp(21) : error C2275: 'Entry' : illegal use of this type as an expressionrn G:\exise\aglor1.cpp(12) : see declaration of 'Entry'rnG:\exise\aglor1.cpp(22) : error C2448: '' : function-style initializer appears to be a function definitionrnG:\exise\aglor1.cpp(28) : error C2275: 'Entry' : illegal use of this type as an expressionrn G:\exise\aglor1.cpp(12) : see declaration of 'Entry'rnG:\exise\aglor1.cpp(28) : error C2065: 'vbook' : undeclared identifierrnG:\exise\aglor1.cpp(29) : error C2275: 'Entry' : illegal use of this type as an expressionrn G:\exise\aglor1.cpp(12) : see declaration of 'Entry'rnG:\exise\aglor1.cpp(29) : error C2065: 'lbook' : undeclared identifierrnG:\exise\aglor1.cpp(29) : error C2102: '&' requires l-valuernG:\exise\aglor1.cpp(30) : error C2065: 'f' : undeclared identifierrnError executing cl.exe.rnrnaglor1.obj - 22 error(s), 0 warning(s)rn//____________________________________rn请问错再哪了?
哪里错了????
#include rn#include rn#define N 7rn//定义一个含有两个域的结点rntypedef struct nodern int data;rn struct node *next;rnElemSN;rnrn//创建正向链表(尾插)rnElemSN * CreatLink1(int a[],int n)rnrn ElemSN *h,*p,*t;rn for(int i=0;idata=a[i];rn p->next=NULL;rn if(!i) h=t=p;//是第一个结点rn else t=t->next=p;rn rn return h;rnrnrn//创建逆向链表(头插)rnElemSN * CreatLink2(int a[],int n)rnrn ElemSN *h,*p;rn h=NULL;rn for(int i=0;idata=a[i];rn p->next=NULL;rn p->next=h;//挂链rn h=p;//挪头指针rn rn return h;rnrnrn//输出单向链表rnvoid PrintLink(ElemSN *h)rnrn ElemSN *p;rn printf("\n输出的链表为:\n");rn for(p=h;p;p=p->next)rn printf("%5d",p.data);rnrnrn//主函数调用rnint main(void)rnrn ElemSN *head1,*head2;rn int a[N]=0;rn int i;rn printf("\n请依次输入链表每个结点的值:\n");rn for(i=0;i
不知道哪里错了
各位大哥好, 工作上临时需要用php操作个数据库, 但是不知道为什么一直无法成功Insert数据进Database, 想请各位帮忙检查一下<em>哪里</em>出<em>错了</em>rnrnrn rnrn". $row1[0] . " ";rn rn rn rnrnelsernrn echo "different-". $row[0]. " ";rn rn rn mysql_select_db("testPLM",$connect);rn rn mysql_query("SET NAMES utf8");rn //底下要把另一个数据库没有的数据加入, 可是都报错rn mysql_query("INSERT INTO version (name, time, description) VALUES('$row[0]', NULL, NULL)") or die('Insert data fail');rn rnrnrn rnrnrn rn?>
哪里错了啊?
考务管理系统中的自动安排考场和监考安排rnrn <em>哪里</em><em>错了</em>啊??rnrnpublic class Ramdrnpublic static int[] randoms()rnrnRandom r = new Random();rnint temp1,temp2;rnint send[] = 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21;rnint len = send.length;rnint returnValue[] = new int[22];rnfor(int i=0;i<22;i++)rnrntemp1 = Math.abs(r.nextInt())% len;rnreturnValue[i] = send[temp1];rntemp2 = send[temp1];rnsend[temp1] = send[len-1];rnsend[len-1] = temp2;rnlen--;rnrnreturn returnValue;rnrnrnpublic static void main(String args[])rnrn int r;rn Ramd m=new Ramd();rn m.randoms();rn r=m.randoms();rn system.out.println(r);rnrnrnrn
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
哪里错了
[code=HTML]rn[/code]rn直接返回没有问题rn如下rn Response.Charset = "gb2312" rn response.expires = -1rn xname = request.QueryString("xname")rn xpass = request.QueryString("xpass")rn response.write xpassrn 但是按最上面查询就有问题了 郁闷, 返回的是一个莫名奇妙的页面代码
哪里错了,非常感谢
[img=https://img-bbs.csdn.net/upload/201711/24/1511512807_958720.png][/img]
请问哪里错了
在数据库的表中还有id这列,我把它设置为int,自增rnrnPrivate Sub GetConnected()rn Set cn = New ADODB.Connectionrn cn.ConnectionString = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=hardware;Data Source=CHENDONG-2E7F71"rn cn.CommandTimeout = 30rn cn.OpenrnEnd SubrnrnPublic cn As ADODB.ConnectionrnDim str As StringrnDim rs As ADODB.RecordsetrnrnPrivate Sub Command1_Click()rn GetConnectedrn Set rs = New ADODB.Recordsetrn rs.Open str, cn, adOpenDynamic, adLockOptimisticrn rs.AddNewrn rs("type") = Text2.Textrn rs("brand") = Combo1.Textrn rs("info") = Text3.Textrn rs.UpdaternEnd Sub
归并排序,哪里错了
[code=C/C++]rnvoid merge(int a[], int low, int mid, int high)rnrn int n1 = mid - low + 1;rn int n2 = high - mid;rn int b[10];rn int c[10];rn int i, j, k;rnrn for(i = 0; i < n1; i++)rn b[i] = a[low+i-1];rn for(i = 0; i < n2; i++)rn c[i] = a[mid+i];rn i = 0;rn j = 0;rn k = 0;rn while((i < n1) && (j < n2) && (k < high))rn rn if(b[i] < c[j])rn rn a[k] = b[i];rn i++;rn rn else rn rn a[k] = c[j];rn j++;rn rn k++;rn rn rnrnrnrnvoid mergeSort(int a[], int low, int high)rnrn int mid;rn if(high >= low)rn rn mid = (low + high)/2;rn mergeSort(a, low, mid);rn mergeSort(a, mid, high);rn merge(a, low, mid, high); rn rnrnrnrnrn[/code]rnrn代码很乱,大家凑合看
不知道哪里错了
[code=C#]rnrn protected void Button1_Click(object sender, EventArgs e)rn rn // int a = Convert.ToInt32(this.RadioButtonList1.SelectedValue);rn SqlConnection con = DB.createConnection();rn con.Open();rn SqlCommand cmd = new SqlCommand();rn cmd.Connection = con;rn cmd.CommandText = "update Title set titleID=Convert.ToInt32(this.RadioButtonList1.SelectedValue)";rn cmd.ExecuteNonQuery(); rn con.Close(); rn rnrnrn[/code]rn提示我“。”附近有错误。不知道是update写<em>错了</em>还是怎么了。rn之前我弄了个RadioButtonList,我想获得被选中项的this.RadioButtonList1.DataValueField的值,不知道this.RadioButtonList1.SelectedValue是不是这个值。rnrn我想用这个值更新一下下面的表[code=SQL]rncreate table Titlern(rn id int primary key, --编号rn titleID int default 1 not null --投票的标题序号rn)rnrninsert into Title values(1,1)rn[/code]rn之前还有一段我绑定控件的代码:rn[code=C#]rn protected void Page_Load(object sender, EventArgs e)rn rn SqlConnection con = DB.createConnection();rn con.Open();rn SqlCommand cmd = new SqlCommand("select * from voteMaster",con);rn SqlDataReader sdr = cmd.ExecuteReader();rn this.RadioButtonList1.DataTextField = "voteTitle";rn this.RadioButtonList1.DataValueField = "voteID";rn this.RadioButtonList1.DataSource = sdr;rn this.RadioButtonList1.DataBind();rn sdr.Close();rn con.Close();rn [/code]rnrn我就是想实现用voteMaster表中的voteID的值去更新Title表中的titleID。好心人帮帮忙吧,先谢了。
克鲁斯卡尔算法哪里错了??
//克鲁斯卡尔算法rntypedef structrnrnint u;int v;int w;rnEdge;rnvoid Kruskal(Edge E[],int n,int e)rnrn int i,j,m1,m2,sn1,sn2,k;rn int vset[MAXVEX];rn for(i=0;i
ObQueryNameString哪里错了
buf=*(ULONG*)irp->AssociatedIrp.SystemBuffer;rn pdev=(PDEVICE_OBJECT)buf;rn dev_name=(POBJECT_NAME_INFORMATION)ExAllocatePool(NonPagedPool,1024);rn status=ObQueryNameString((PVOID)pdev,dev_name,1024,rl);rn DbgPrint("%d",status);rn if(status==STATUS_INFO_LENGTH_MISMATCH)rn rn ExFreePool(dev_name);rn dev_name=(POBJECT_NAME_INFORMATION)ExAllocatePool(NonPagedPool,*rl);rn status=ObQueryNameString((PVOID)pdev,dev_name,*rl,rl);rn rn if(status==STATUS_SUCCESS)rn rn memcpy(irp->UserBuffer,(const void*)(dev_name->Name.Buffer),(dev_name->Name.Length));rn ExFreePool(dev_name);rn rn这儿buf是win32传进去的DEVICE_OBJECT的地址,地址是正确的,然后将设备名传出去rn编译正常但执行ObQueryNameString后它返回了-1073741819,怎么回事STATUS_INFO_LENGTH_MISMATCH应该是-1073741820
SQL语法哪里错了
<em>哪里</em>出<em>错了</em>。rn[code=SQL]rndeclarern tname varchar2(60);rn cname varchar(100);rn dlength number;rn maxlength number;rnbeginrn maxlength := 0;rn for idx in (select u.TABLE_NAME,rn u.COLUMN_NAME,rn u.DATA_LENGTH,rn decode(mod(u.DATA_LENGTH, 2), 0, 'EVEN', 'ODD') ODD_EVENrn from user_tab_columns urn where u.DATA_TYPE = 'VARCHAR2'rn and u.TABLE_NAME inrn (select t.table_namern from all_tables trn where t.num_rows > 0rn and t.owner = 'BXDB')) looprn tname := idx.TABLE_NAME;rn cname := idx.COLUMN_NAME;rn dlength := idx.DATA_LENGTH;rn execute immediate 'select max(lengthb(' || cname || ')) from ' || tnamern into maxlength;rn if (1.5 * maxlength) > dlength thenrn if idx.odd_even = 'ODD' thenrn dbms_output.put_line('alter table ' || tname || ' modify ' ||rnrn cname || 'varchar2(' || 2 * maxlength || ');');rn elsern dbms_output.put_line('alter table ' || tname || ' modify ' ||rn cname || 'varchar2(' || 1.5 * maxlength || ');');rn end if;rn end if;rn end loop;rnend;rn[/code]
请问哪里错了?
[code=C/C++]#include rntemplate rnvoid ShowArray (T arr[], int n);rnrntemplate rnvoid ShowArray(T * arr[], int n);rnrnstruct debts rnrn char name[50];rn double amount;rn;rnrnint main(void)rnrn using namespace std;rn int things[6] = 13,31,103,301,310,130;rn struct debts mr_E[3] = rn rn "Ima Wolfe", 2400,rn "Ura Foxe ", 1300,rn "Iby Stout", 1800rn ;rn double * pd[3];rn for (int i = 0; i < 3; i++)rn pd[i] = &mr_E[i].amount;rn cout << "Listing Mr.E's counts of things: \n";rn ShowArray(things, 6);rn cout << "Listing Mr.E's debts:\n";rn ShowArray(pd, 3);rn return 0;rnrnrntemplate rnvoid ShowArray(T arr[], int n)rnrn using namespace std;rn cout << "template A\n";rn for (int i = 0; i < n; i++)rn cout << arr[i] << ' ';rn cout << endl;rnrnrntemplate rnvoid ShowArray(T * arr[], int n)rnrn using namespace std;rn cout << "template B\n";rn for (int i = 0; i < n; i++)rn cout << *arr[i] << ' ';rn cout endl;rn[/code]
哪里错了?
错误类型:rnMicrosoft OLE DB Provider for ODBC Drivers (0x80004005)rn[Microsoft][ODBC Microsoft Access Driver]常见错误 不能打开注册表关键字 'Temporary (volatile) Jet DSN for process 0x4bc Thread 0x848 DBC 0x8f3fd4 Jet'。rn/QIANQIAN/connopen.asp, 第 7 行rn
哪里错了?求教!
rnclass kothread extends Threadrnrn int n;rn String st;rn public kothread(String ko)rn rn st=ko;rn rn public void run()rn rn for(n=0;n java.lang.NoSuchMethodError: kothread.start()Vrn at ko3.main(ko3.java:34)
哪里错了??
CREATE TABLE 门诊结算单(rn 结算单编号 CHAR(5) PRIMARY KEY,rn 诊疗费用 MONEY,rn 药品费用 MONEY )rnCREATE PROC consume;1rnASrnDECLARE @ total MONEY,rntotal=SELECT诊疗费用FROM门诊结算单+SELECT药品费用FROM门诊结算单
不知道哪里错了:(
我想复制一个标记块,但就是出不来~rnrnrn rnrnrn rnrnrnrn其中book.xml为:rnrnrn rn 我rn Carl Saganrn Ballantine Booksrn rn rn Catwingsrn Ursula K. Le Guinrn Scholasticrn rn rn Home Townrn Tracy Kidderrn Random Housern rnrnrn就是跳不出什么东西来啊~
分页程序哪里错了
这是我写的一段分页程序rndim MaxPerPage=10rnrnrs.MoveFirst rnrs.PageSize =MaxPerPagernhowmanyfields=rs.RecordCount-1rnif trim(request("page"))<>"" thenrn currentpage=Clng(request("page"))rn if currentpage>rs.PageCount thenrn currentpage=rs.PageCount rn end ifrnelsern currentpage=1rnend ifrn rnif rs.EOF thenrn Response.Write "记录录入中......"rnelsern totalput=rs.RecordCount rn if currentpage<>1 thenrn if (currentpage-1)*MaxPerPagern第 页 共记录rn<>1 thenrn Response.Write "["+"首页]"rn Response.Write "["+"上一页]"rn elsern Response.Write "[首页][上一页]"rn end ifrn if k<>n then rn Response.Write "["+"下一页]"rn Response.Write "["+"尾页]"rn elsern Response.Write "[下一页][尾页]"rn end if rn%>rnrnrn总共有34行,可是首页显示了1-34,然后第2页显示了11-34,然后....请问这是为什么?看了老半天了,
哪里错了
1.指出以下程序的错误,并说明原因rnvoid func2(int *value)rnrn *value = 2;rnrnvoid func1()rnrn int * p = 0;rn func2(p);rnrnrn2.rnint a = 9; int b = 10;rnvoid swap(int x,int y)rnrn int temp = x;rn x = y;rn y = x;rnrnswap(a,b);rnrn;rnrnint main()rnrn D cd;rn cd.a = 1000;rn cout << "a=" << cd.a << endl;rn return 0;rnrnrnrn3.class Exaplernrn public:rn Static double rate = 6.5;rn;rnrn
看看哪里错了
[code=C/C++]/*rn*图的邻接表存储rn*/rn#include/* EOF(=^Z或F6),NULL */rn#includern#includernrn#define MAX_VERTEX_NUM 20rn//#define MAX_NAME 5rnrntypedef int InfoType ;//存放网的权值rntypedef char VertexType[5];//字符串类型rnrntypedef enumrnrn DG,DN,UDG,UDNrnGraphKind;rntypedef struct ArcNode//表结点rnrn int adjvex;//弧所指向顶点的位置rn struct ArcNode *nextarc;//指向下条弧的指针rn InfoType info;//弧相关信息(权)rnArcNode;rntypedef struct VNode//头结点rnrn VertexType data;//顶点信息rn ArcNode *firstarc;//第一个表结点的地址,指向第一条依附该顶点的弧的指针 rnVNode,AdjList[MAX_VERTEX_NUM];rntypedef structrnrn AdjList vertices;rn int vexnum,arcnum;//图当前的顶点数和弧数rn int kind;rnALGraph;rnrnrn/* 采用邻接表存储结构,构造没有相关信息的图G*/rnvoid InitALGraph(ALGraph *G)rnrn printf("请输入图的类型(DG:0,DN:1,UDG:2,UDN:3)");rn scanf("%d",&(*G).kind);rn printf("请输入图的顶点数:");rn scanf("%d",&(*G).vexnum);rn printf("请输入图的边数:");rn scanf("%d",&(*G).arcnum);rn int i;rnrn printf("请输入定点向量:");rn for(i=0;iinfo=0;//初始化权值为0rn p1->nextarc=(*G).vertices[v1_site].firstarc;rn (*G).vertices[v1_site].firstarc=p1;rnrn switch((*G).kind)rn rn case DG:rn break;rn case DN:rn printf("请输入权值:");rn scanf("%d",&p1->info);rn break;rn case UDG:rn p2=(ArcNode *)malloc(sizeof(ArcNode));rn p2->adjvex=v1_site;rn p2->info=0;//初始化权值为0rn p2->nextarc=(*G).vertices[v2_site].firstarc;rn (*G).vertices[v2_site].firstarc=p2;//头插入rn break;rn case UDN:rn printf("请输入权值:");rn scanf("%d",&p1->info);rn p2=(ArcNode *)malloc(sizeof(ArcNode));rn p2->adjvex=v1_site;rn p2->info=p1->info;//初始化权值为0rn p2->nextarc=(*G).vertices[v2_site].firstarc;rn (*G).vertices[v2_site].firstarc=p2;//头插入rn break;rn default:rn exit(0);rn rn rnrnvoid printALGraph(ALGraph G)rnrn int i;rnrn for(i=0;iadjvex].data);rn break;rn case UDN:rn printf("%s --",G.vertices[i].data);rn printf("%s,%d",G.vertices[p->adjvex].data,p->info);rn break;rn case DG:rn printf("",G.vertices[i].data);rn printf("%s>",G.vertices[p->adjvex].data);rn break;rn case DN:rn printf("< %s ->", G.vertices[i].data);rn printf(" %s , %d >", G.vertices[p->adjvex].data, p->info);break;rn default:rn exit(0);rn rn p=p->nextarc;rn printf("\n\n");rn rn rnrnint main()rnrn ALGraph G;rnrn createALGraph(&G);rnrn printALGraph(G);rnrn return 0;rn[/code]
这个哪里错了
[code=C/C++]#includern#includernusing namespace std;rnint main()rnrn vector snum;rn int count;rn cout<>count)rn snum.push_back(count);rn int *pt= new int[snum.size()];rn int *pt2=pt;rn for(vector::iterator i=snum.begin();i!=snum.end();++i,++pt)rn *pt2=*i;rn delete [] pt;rn for(int a=0;a!=sizeof(pt2)/sizeof(int);a++)rn cout<
哪里错了~
rn为什么inputInteger1,inputInteger2输出的是4097、3840而不是15,16?rnrn[code=Java]/*rn * To change this template, choose Tools | Templatesrn * and open the template in the editor.rn */rnrnimport javax.microedition.midlet.*;rnimport javax.microedition.lcdui.*;rnimport javax.microedition.rms.*;rnimport java.io.*;rnrn/**rn * @author stcLhongrn */rnpublic class WriteReadExample extends MIDlet implements CommandListenerrn private Display display;rn private Alert alert;rn private Form form;rn private Command exit;rn private Command start;rn private RecordStore recordstore = null;rnrn public WriteReadExample()rn display = Display.getDisplay(this);rn exit = new Command("Exit",Command.EXIT,1);//sdfrn start = new Command("Start",Command.SCREEN,1);rn form = new Form("Record");rn form.addCommand(exit);rn form.addCommand(start);rn form.setCommandListener(this);rn rn public void startApp() rn display.setCurrent(form);rn rnrn public void pauseApp() rn rnrn public void destroyApp(boolean unconditional) rn rnrn public void commandAction(Command command,Displayable displayable)rn if(command == exit)rn destroyApp(true);rn notifyDestroyed();rn rn else if(command == start)rn tryrn recordstore = RecordStore.openRecordStore("myRecordStore", true);rn rn catch(Exception error)rn alert = new Alert("Error Creating",error.toString(),null,AlertType.WARNING);rn alert.setTimeout(Alert.FOREVER);rn display.setCurrent(alert);rn rn tryrn byte[] outputRecord;rn String outputString = "First Record";rn int outputInteger1 = 15;rn int outputInteger2 = 16;rn boolean outputBoolean = true;rn ByteArrayOutputStream outputStream = new ByteArrayOutputStream();rn DataOutputStream outputDataStream = new DataOutputStream(outputStream);rn outputDataStream.writeUTF(outputString);rn outputDataStream.writeInt(outputInteger1);rn outputDataStream.writeInt(outputInteger2);rn outputDataStream.writeBoolean(outputBoolean);rn outputDataStream.flush();rn outputRecord = outputStream.toByteArray();rn recordstore.addRecord(outputRecord, 0, outputRecord.length);rn outputStream.reset();rn outputStream.close();rn outputDataStream.close();rn rn catch(Exception error)rn alert = new Alert("Error Writing",error.toString(),null,AlertType.WARNING);rn alert.setTimeout(Alert.FOREVER);rn display.setCurrent(alert);rn rn tryrn String inputString = null;rn int inputInteger1 = 0;rn int inputInteger2 = 0;rn boolean inputBoolean = false;rn byte[] byteInputData = new byte[100];rn ByteArrayInputStream inputStream = new ByteArrayInputStream(byteInputData);rn DataInputStream inputDataStream = new DataInputStream(inputStream);rnrn for(int x = 1;x,error.toString(),null,AlertType.WARNING);rn alert.setTimeout(Alert.FOREVER);rn display.setCurrent(alert);rn rn rn rn rnrn[/code]
语法哪里错了
[code=SQL]rncreate table t_user rn(ID varchar2(20),rnName varchar2(20))rnrninsert into t_user values('1','張三');rninsert into t_user values('2','李四');rnrnCREATE OR REPLACE PACKAGE pkg_user ASrn --定义返回值(游标类型)rn TYPE myrctype IS REF CURSOR;rn --定义查询过程rn PROCEDURE sp_userlist(cur_result OUT myrctype);rnEND pkg_user;rnrnCREATE OR REPLACE PACKAGE BODY "PKG_USER" ASrn --查询过程rn PROCEDURE sp_userlist(cur_result OUT myrctype) ISrn sqlstr VARCHAR2(500);rn BEGINrn OPEN cur_result FORrn select * from t_user;rn END sp_userlist;rnEND pkg_user;rnrnbegin sp_userlist ; end; rn[/code]rnrn出现错误如下:rn--------------------------------------------------------------------------------rnrnORA-06550: 第 1 行, 第 7 列: rnPLS-00201: 必须声明标识符 'SP_USERLIST'rnORA-06550: 第 1 行, 第 7 列: rnPL/SQL: Statement ignored
这个哪里错了?
test.jsprnrnrnrnrn rntestrnrnrnrn rn夺rnrnrnrnrnrntest1.jsprnrnrnrn rntest1rnrnrnrnrnrnrnrnrn在jbuilder里面显示是:before:'ÎÒ°®Äã'after:'�Ұ���rn在ie显示是:before:'我爱ä½?rnafter:'我爱�? rnrn该怎么解决这个乱码问题?
看下哪里错了???
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
请问哪里错了
代码:rnrn错误:rnMicrosoft VBScript 编译器错误 错误 '800a03f6' rnrn缺少 'End' rnrn/iisHelp/common/500-100.asp,行242 rnrn服务器对象 错误 'ASP 0177 : 800401f3' rnrnServer.CreateObject 失败 rnrn/conn.asp,行4 rnrn无效的 ProgID。 若要获取关于此消息的更多的信息,请访问 Microsoft 联机支持站点: http://www.microsoft.com/contentredirect.asp 。 rn
代码哪里错了
[img=https://img-bbs.csdn.net/upload/201503/17/1426584852_757194.png][/img]
想知道哪里错了
代码如下:rn#include "stdio.h"rn#include "windows.h"rn#include "forC.h"rnrn#define re 10rnint main()rn rn int yr[re];rn int i,j,l;rn l=scanf("%d",&j);rn while(l)rn rn printf("Continue!\n");rn l=scanf("%d",&j);rn rn printf("Fail!%d\n",l);rn for(i=0;i);rn return 0;rnrn运行结果:rn4rnContinue!rn1rnContinue!rndrnFail!0rn-858993460rn-858993460rn-858993460rn-858993460rn-858993460rn-858993460rn-858993460rn-858993460rn-858993460rn-858993460rn请按任意键继续. . .rn按理来说while循环与下面的for循环没有关系的,为什么不进入到for的输入循环里?而且结果很奇怪
ifstream哪里错了
rn#include "stdafx.h"rn#include rn#include rnrnusing namespace std;rnrntypedef std::string String;rnrnvoid loadDirect(const String& filename)rnrn rn std::ifstream fp;//这句话编译的时候报错 “fp”使用未定义的 class“std::basic_ifstream”rn rn fp.open(filename.c_str(), std::ios::in | std::ios::binary);rn if(!fp)rn rn //..rn rn rnrnrnrnint _tmain(int argc, _TCHAR* argv[])rnrn cout<;rnrn return 0;rnrn
这个哪里错了
split函数rn格式: v=split(s,d])rn用法:把字符串s分割成字符串数组,分隔符为d.rn
fread哪里错了
abc.txt里面的内容是:rnthisisokrn想将字符窜三个三个字存进数组list里。rnthi存进list[0];rnsis存进list[1]。。。。;rnfread是不是<em>哪里</em>用<em>错了</em>?rnrnrn#include rn#include rn#include rnrnrn main( ) rnrnrnchar list[4][10];rnFILE *fp;rnfp=fopen("d://abc.txt","w");rnrnfor(int i =0;i ,list[1]);rn
哪里错了呢???
# include rn# include rn# include rn# include rn# include rnusing namespace std;rnstring read_file_into_string()rn ifstream ifile("xxh.txt");rn ostringstream buf;rn char ch;rn while(buf && ifile.get(ch))rn buf.put(ch);rn //cout< lines_of_text;rn string::size_type pos=0,npos;rn%%%%%%%%%%%%%%%%%%%?????????????rn while(pos!=npos)rn rn pos=text.find('\n',pos);rn //cout<<
这一段哪里错了
rnrn错误提示:rnrnrnMicrosoft VBScript 编译器错误 错误 '800a03f6'rnrn缺少 'End'rnrn/iisHelp/common/500-100.asp,行242rnrnMicrosoft JScript 编译错误 错误 '800a03ec'rnrn缺少 ';'rnrn/Web/menu/NewMenu.asp,行44rnrnresponse.write " "rn---------------^rn
指点下哪里错了
下面的程序调试没错,就是在运行是你输入10个数字后选择一个排序方法输出,输出的都是0 0 0…………这是怎么回事啊?谁帮我解决下rnusing System;rnrn//接口ISort1,ISort2,ISort3,ISort4rninterface ISort1rnrn double[] getnumber();rnrnrninterface ISort2rnrn double[] numSort();rnrnrninterface ISort3rnrn void outplay();rnrnrninterface ISort4rnrn void Maopao(ref double[] numberValue);rnrn void insertSort(ref double[] numberValue);rnrnrnclass SetCountrnrn public static int num_count = 0;rn public double[] numberValue = new double[num_count];rnrn //ISort1接口方法实现,设置数组的长度rn public void setCount(int NumberCount)rn rn num_count = NumberCount;rn numberValue = new double[num_count];rn rnrnrnclass GetNumber : SetCount, ISort1rnrn //验证输入的数字rn private bool isNumber(string str)rn rn for (int i = 0; i < str.Length; i++)rn rn if (!char.IsNumber(str,i) && str.Substring(i,1) != ".")rn rn return false;rn rn rnrn return true;rn rnrn //ISort2接口方法实现,输入数组元素rn public double[] getnumber()rn rn string strline;rnrn for(int num = 0;num < num_count;num++)rn rn Console.Write("Enter the Number: ");rn strline = Console.ReadLine();rnrn if (isNumber(strline))rn rn numberValue[num] = double.Parse(strline);rn rn elsern rn Console.WriteLine("error! Input again!");rn num = num - 1;rn rn rnrn return numberValue;rn rnrnrnclass SortMethod : SetCount, ISort4rnrn //冒泡排序rn public void Maopao(ref double[] numberValue)rn rn double temp;rn for(int j = 0; j < numberValue.Length; j++)rn for(int k = j+1; k< numberValue.Length; k++)rn if(numberValue[j] < numberValue[k])rn rn temp = numberValue[j];rn numberValue[j] = numberValue[k];rn numberValue[k] = temp;rn rn rnrn //插入排序rn public void insertSort(ref double[] numberValue) rn rn for(int i = 1;i < numberValue.Length; ++i) rn rn double l = numberValue[i]; rn int j = i; rn while((j > 0) && (numberValue[j-1] > l)) rn rn numberValue[j] = numberValue[j-1]; rn --j; rn rn numberValue[j] = l; rn rn rnrnrnclass NumSort : SortMethod, ISort2rnrnrn //ISort3接口方法实现,选择要排序的方法rn public double[] numSort()rn rn int t;rn SortMethod sm = new SortMethod();rnrn Console.WriteLine("Please Choose which method you want to:1)MaoPao,2)InsertSort:");rn string choice=Console.ReadLine();rn t=Int32.Parse(choice);rn if(t==1)rn rn sm.Maopao(ref numberValue);rn rn else if(t==2)rn rn sm.insertSort(ref numberValue);rn rn elsern rn Console.WriteLine("No such Method!");rn rnrn return numberValue;rn rnrnrnclass OutPlay : SetCount, ISort3rnrnrn //ISort4接口方法实现,输出排序好的数组rn public void outplay()rn rn foreach(double i in numberValue)rn Console.Write(" " + i + " ");rn rnrnrnclass Testrnrnrn //控制台显示rn public static void Main()rn rn SetCount sc = new SetCount();rn sc.setCount(10);rn GetNumber gn = new GetNumber();rn gn.getnumber();rn NumSort ns = new NumSort();rn ns.numSort();rn OutPlay op = new OutPlay();rn op.outplay();rn rn
端口监听到底哪出错了
ip xx.xx.xx.13的机器,局域网内ping的通,就是局域网telnet ip 1521端口不通,rnrn本机telnet ip 1521通,netstat -an显示也有xx.xx.xx.13 1521,应该是端口开通的,可是局域网连接接rnrn口,telnet,tnsping就是不通。rn用NetSpeedTest+-+TCP网络连接测试工具监听测试,发现ip xx.xx.xx.13的机器无法监听端口,除了80,8080,139等已开放的端rnrn口外,§监听其它任何端口§,都提示失败。telnet别的机器没问题,把ip换给别的电脑,别的电脑也没问题,端口<em>到底</em>哪出<em>错了</em>,郁闷啊,怎么回事啊?rn
问我到底错在哪里???????
我要实现的是搜索功能rn在文本框里不输入编号或者输入正确编号都能正确运行,但是输入一个不正确的编号,运行时候报意外错误,请问是怎么回事啊 rnrn rn <>"" thenrn exec = "SELECT id FROM mr_lj_photo where id="+aarn rs1.open exec,conn,3,3rn if trim(aa)=trim(rs1("id")) then rn response.Redirect "12345.asp?id="&aarn else rn response.write "您的输入有误" %>rn rn
求大神们看看哪里错了
ImageView img1; Button bt1, bt2; int j=0; Drawable d[] = { this.getResources().getDrawable(R.drawable.horse1), this.getResources().getDrawable(R.drawable.horse2), this.getResources().getDrawable(
此段代码哪里错了?求指导
# 将以数制定年、月、日的日期打印出来rnmonth=[rn 'january'rn 'february'rn 'march'rn 'april'rn 'may'rn 'june'rn 'july'rn 'august'rn 'september'rn 'october'rn 'november'rn 'december'rn ]rn# 一个列表,其中包含数1-31对应的结尾rnendings=['st','nd','rd']+17*['th']\rn +['st','nd','rd']+7*['th']\rn +['st']rnyear =input('year:')rnmonth =input('month(1-12):')rnday =input('day(1-31):')rnrnmonth_number=int(month)rnday_number=int(day)rnrn#别忘了将表示月和日的数减1,这样才能得到正确的索引rnmonth_name=months[month_number-1]rnordinal=day+endings[day_number-1]rnrnprint(month_name+''+ordinal+','+year)rnrn[img=https://img-bbs.csdn.net/upload/201805/17/1526539453_129405.png][/img]
哪里错了,求大神相救一下
#includenint main()nnprintf("Input simple:\n");nchar x;nx=getchar();nif(x='1'&&x='2'&&x='3'&&x='4'&&x='5'&&x='6'&&x='7'&&x='8'&&x='9'&&x='0')nprintf("It is a digit character.\n");nelse if((x>='a'&&x='A'&&x);nreturn 0;nn题目是让判断输入的是字符还是数字n不知道编译哪<em>错了</em>,看不懂编译错误
帮我看看 哪里错了,求大神!!
message rndescription The server encountered an internal error () that prevented it from fulfilling this request.rnexception rnjavax.servlet.ServletException: java.lang.NullPointerExceptionrn org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:515)rn org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419)rn com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:119)rn com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55)rn org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:99)rn org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)rn org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)rn org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)rnroot cause rnrnjava.lang.NullPointerExceptionrn com.demo.struts2.actions.LoginAction.execute(LoginAction.java:36)rn sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn java.lang.reflect.Method.invoke(Unknown Source)rn com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:404)rn com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:267)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229)rn com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:221)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rn com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)rn com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:150)rn org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:48)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rn com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)rn com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:123)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rn com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)rn com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:167)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rn com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)rn com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:105)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rn com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)rn org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:83)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rn com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)rn org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:207)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rn com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)rn com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:74)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rn com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)rn com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:127)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rn com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)rn org.apache.struts2.interceptor.ProfilingActivationInterceptor.intercept(ProfilingActivationInterceptor.java:107)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rn com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)rn org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:206)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rn com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)rn com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:115)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rn com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)rn com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:143)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rn com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)rn com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:121)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rn com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)rn org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:170)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rn com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)rn com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:123)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rn com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rn com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)rn rnnote The full stack trace of the root cause is available in the JBoss Web/2.1.1.GA logs.rn
TortoiseSVN-1.7.7.22907-x64-svn-1.7.5 64位英文安装包下载
TortoiseSVN-1.7.7.22907-x64-svn-1.7.5 64位英文安装包 相关下载链接:[url=//download.csdn.net/download/mysky2008/4356005?utm_source=bbsseo]//download.csdn.net/download/mysky2008/4356005?utm_source=bbsseo[/url]
JSP学生成绩管理系统下载
系统采用JAVA技术,数据库采用sqlserver2000,数据库用户和密码均为sa 系统超级管理员用户和密码均为admin,主要是提供了学生的成绩管理。 相关下载链接:[url=//download.csdn.net/download/shamu0729/4574297?utm_source=bbsseo]//download.csdn.net/download/shamu0729/4574297?utm_source=bbsseo[/url]
Ext+JS源码分析与开发实例宝典.part08下载
Ext3.0 JS源码分析与开发实例宝典 相关下载链接:[url=//download.csdn.net/download/bella20100531/3058817?utm_source=bbsseo]//download.csdn.net/download/bella20100531/3058817?utm_source=bbsseo[/url]
我们是很有底线的