请大神帮忙解决批量结算累加 [问题点数:20分,无满意结帖,结帖人plx2425]

Bbs1
本版专家分:0
结帖率 100%
Bbs3
本版专家分:628
Bbs5
本版专家分:3761
Blank
红花 2019年7月 VB大版内专家分月排行榜第一
2019年5月 VB大版内专家分月排行榜第一
2019年3月 VB大版内专家分月排行榜第一
Bbs9
本版专家分:69536
版主
内存错误,急!!!请大神帮忙解决!!!
程序运行堆栈如下:rn*** glibc detected *** /home/VideoRecoServer/MobileEcop/MobileEcop: double free or corruption (!prev): 0x08a682a8 ***rn[New Thread 0x72302b70 (LWP 6753)]rn[Thread 0x72302b70 (LWP 6753) exited]rnnot into pthread2rn======= Backtrace: =========rn/lib/libc.so.6[0x387a231]rn/usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0x2aa53f1]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x865e545]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x865e584]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x865e6a2]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x865e765]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x865e819]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x865e83d]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x865d376]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x865b548]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x865be04]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x8694389]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x80a774b]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x8072fee]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x80d1100]rn/lib/libpthread.so.0[0x45a935]rn/lib/libc.so.6(clone+0x5e)[0x38e882e]rn======= Memory map: ========rn00110000-00158000 r-xp 00000000 fd:00 144455 /home/VideoRecoServer/lib/libTDCameraManager.sorn00158000-00159000 rw-p 00048000 fd:00 144455 /home/VideoRecoServer/lib/libTDCameraManager.sorn00159000-0018f000 r-xp 00000000 fd:00 144438 /home/VideoRecoServer/lib/libqwtmathml.so.6rn0018f000-00199000 rw-p 00035000 fd:00 144438 /home/VideoRecoServer/lib/libqwtmathml.so.6rn00199000-001e2000 r-xp 00000000 fd:00 144456 /home/VideoRecoServer/lib/libQtXml.so.4rn001e2000-001e4000 rw-p 00049000 fd:00 144456 /home/VideoRecoServer/lib/libQtXml.so.4rn001e4000-001eb000 r-xp 00000000 fd:00 144473 /home/VideoRecoServer/lib/libCYNET_API.sorn001eb000-001ec000 rw-p 00006000 fd:00 144473 /home/VideoRecoServer/lib/libCYNET_API.sorn001ec000-001fb000 r-xp 00000000 fd:00 12885 /usr/lib/libXext.so.6.4.0rn001fb000-001fc000 rw-p 0000f000 fd:00 12885 /usr/lib/libXext.so.6.4.0rn001fc000-00200000 r-xp 00000000 fd:00 145383 /lib/libgthread-2.0.so.0.2000.1rn00200000-00201000 rw-p 00003000 fd:00 145383 /lib/libgthread-2.0.so.0.2000.1rn00203000-0020b000 r-xp 00000000 fd:00 144501 /home/VideoRecoServer/lib/libTDSDK.sorn0020b000-0020c000 rw-p 00007000 fd:00 144501 /home/VideoRecoServer/lib/libTDSDK.sorn0020c000-00214000 r-xp 00000000 fd:00 10067 /lib/libcrypt-2.10.1.sorn00214000-00215000 r--p 00007000 fd:00 10067 /lib/libcrypt-2.10.1.sorn00215000-00216000 rw-p 00008000 fd:00 10067 /lib/libcrypt-2.10.1.sorn00216000-0023d000 rw-p 00216000 00:00 0 rn0023d000-00244000 r-xp 00000000 fd:00 145381 /lib/librt-2.10.1.sorn00244000-00245000 r--p 00006000 fd:00 145381 /lib/librt-2.10.1.sorn00245000-00246000 rw-p 00007000 fd:00 145381 /lib/librt-2.10.1.sorn00246000-00248000 r-xp 00000000 fd:00 145409 /usr/lib/libXau.so.6.0.0rn00248000-00249000 rw-p 00001000 fd:00 145409 /usr/lib/libXau.so.6.0.0rn00249000-0024b000 r-xp 00000000 fd:00 145442 /usr/lib/libXinerama.so.1.0.0rn0024b000-0024c000 rw-p 00001000 fd:00 145442 /usr/lib/libXinerama.so.1.0.0rn0024c000-00276000 r-xp 00000000 fd:00 12368 /lib/libgcc_s-4.4.0-20090506.so.1rn00276000-00277000 rw-p 00029000 fd:00 12368 /lib/libgcc_s-4.4.0-20090506.so.1rn00279000-0027e000 r-xp 00000000 fd:00 105536 /usr/lib/libXtst.so.6.1.0rn0027e000-0027f000 rw-p 00004000 fd:00 105536 /usr/lib/libXtst.so.6.1.0rn0027f000-00287000 r-xp 00000000 fd:00 145412 /usr/lib/libXrender.so.1.3.0rn00287000-00288000 rw-p 00007000 fd:00 145412 /usr/lib/libXrender.so.1.3.0rn00288000-0028a000 r-xp 00000000 fd:00 10344 /usr/lib/gconv/UTF-16.sorn0028a000-0028b000 r--p 00001000 fd:00 10344 /usr/lib/gconv/UTF-16.sorn0028b000-0028c000 rw-p 00002000 fd:00 10344 /usr/lib/gconv/UTF-16.sorn0028c000-002ac000 r-xp 00000000 fd:00 145378 /lib/ld-2.10.1.sorn002ac000-002ad000 r--p 0001f000 fd:00 145378 /lib/ld-2.10.1.sorn002ad000-002ae000 rw-p 00020000 fd:00 145378 /lib/ld-2.10.1.sorn002ae000-00307000 r-xp 00000000 fd:00 144471 /home/VideoRecoServer/lib/libQtSvg.so.4rn00307000-00309000 rw-p 00059000 fd:00 144471 /home/VideoRecoServer/lib/libQtSvg.so.4rn00309000-00324000 r-xp 00000000 fd:00 145410 /usr/lib/libxcb.so.1.1.0rn00324000-00325000 rw-p 0001b000 fd:00 145410 /usr/lib/libxcb.so.1.1.0rn00rnProgram received signal SIGABRT, Aborted.rn[Switching to Thread 0x71901b70 (LWP 6752)]rn0x00b9c424 in __kernel_vsyscall ()rnMissing separate debuginfos, use: debuginfo-install GConf2-2.26.0-2.fc11.i586 ORBit2-2.14.17-1.fc11.i586 PackageKit-gtk-module-0.4.6-8.fc11.i586 alsa-lib-1.0.20-1.fc11.i586 atk-1.25.2-2.fc11.i586 audiofile-0.2.6-10.fc11.i586 avahi-0.6.25-1.fc11.i586 avahi-glib-0.6.25-1.fc11.i586 bug-buddy-2.26.0-2.fc11.i586 cairo-1.8.6-2.fc11.i586 dbus-glib-0.80-2.fc11.i586 dbus-libs-1.2.12-1.fc11.i586 e2fsprogs-libs-1.41.4-10.fc11.i586 elfutils-libelf-0.140-2.fc11.i586 esound-libs-0.2.41-2.fc11.i586 expat-2.0.1-6.i586 fontconfig-2.6.99.behdad.20090508-1.fc11.i586 freetype-2.3.9-3.fc11.i586 gamin-0.1.10-4.fc11.i586 glib2-2.20.1-1.fc11.i586 glibc-2.10.1-2.i686 gnome-keyring-2.26.1-1.fc11.i586 gnome-vfs2-2.24.1-2.fc11.i586 gtk-nodoka-engine-0.7.2-4.fc11.i586 gtk2-2.16.1-4.fc11.i586 gvfs-1.2.3-2.fc11.i586 ibus-gtk-1.1.0.20090423-1.fc11.i586 ibus-libs-1.1.0.20090423-1.fc11.i586 keyutils-libs-1.2-5.fc11.i586 krb5-libs-1.6.3-20.fc11.i586 libICE-1.0.4-7.fc11.i586 libSM-1.1.0-4.fc11.i586 libX11-1.2-3.fc11.i586 libXau-1.0.4-5.fc11.i586 libXcomposite-0.4.0-7.fc11.i586 libXcursor-1.1.9-4.fc11.i586 libXdamage-1.1.1-6.fc11.i586 libXext-1.0.99.1-2.fc11.i586 libXfixes-4.0.3-5.fc11.i586 libXi-1.2.1-1.fc11.i586 libXinerama-1.0.3-4.fc11.i586 libXrandr-1.2.99.4-3.fc11.i586 libXrender-0.9.4-5.fc11.i586 libXt-1.0.5-2.fc11.i586 libXtst-1.0.3-5.fc11.i586 libart_lgpl-2.3.20-4.fc11.i586 libattr-2.4.43-3.fc11.i586 libbonobo-2.24.1-1.fc11.i586 libbonoboui-2.24.1-1.fc11.i586 libcanberra-0.12-1.fc11.i586 libcanberra-gtk2-0.12-1.fc11.i586 libcap-2.16-2.fc11.i586 libgcc-4.4.0-4.i586 libgnome-2.26.0-1.fc11.i586 libgnomecanvas-2.26.0-1.fc11.i586 libgnomeui-2.24.1-1.fc11.i586 libjpeg-6b-45.fc11.i586 libogg-1.1.3-11.fc11.i586 libpng-1.2.35-1.fc11.i586 libselinux-2.0.80-1.fc11.i586 libstdc++-4.4.0-4.i586 libtdb-1.1.3-14.fc11.i586 libtool-ltdl-2.2.6-11.fc11.i586 libvorbis-1.2.0-7.fc11.i586 libxcb-1.2-3.fc11.i586 libxml2-2.7.3-2.fc11.i586 linuxwacom-0.8.2.2-11.fc11.i586 nss-softokn-freebl-3.12.3-4.fc11.i586 openssl-0.9.8k-1.fc11.i686 pango-1.24.1-1.fc11.i586 pixman-0.14.0-2.fc11.i586 popt-1.13-5.fc11.i586 zlib-1.2.3-22.fc11.i586rn(gdb) btrn#0 0x00b9c424 in __kernel_vsyscall ()rn#1 0x038357c1 in raise () from /lib/libc.so.6rn#2 0x03837092 in abort () from /lib/libc.so.6rn#3 0x03873dad in __libc_message () from /lib/libc.so.6rn#4 0x0387a231 in malloc_printerr () from /lib/libc.so.6rn#5 0x02aa53f1 in operator delete(void*) () from /usr/lib/libstdc++.so.6rn#6 0x0865e545 in __gnu_cxx::new_allocator::deallocatern (this=0x8a6801c, __p=0x8a682a8)rn at /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/ext/new_allocator.h:94rn#7 0x0865e584 in std::_Deque_base >::_M_deallocate_node (this=0x8a6801c, __p=0x8a682a8)rn at /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_deque.h:419rn#8 0x0865e6a2 in std::_Deque_base >::_M_destroy_nodes (this=0x8a6801c, __nstart=0x8a6828c, rn __nfinish=0x8a68290)rn at /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_deque.h:524rn#9 0x0865e765 in std::_Deque_base >::~_Deque_base (this=0x8a6801c, rn __in_chrg=)rn at /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_deque.h:445rn#10 0x0865e819 in std::deque >::~deque (this=0x8a6801c, __in_chrg=)rn at /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_deque.h:725rn#11 0x0865e83d in std::stack > >::~stack (rn this=0x8a6801c, __in_chrg=)rn at /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_stack.h:111rn#12 0x0865d376 in sql::mysql::MySQL_DebugLogger::~MySQL_DebugLogger (this=0x8a68018, rn---Type to continue, or q to quit---rn __in_chrg=) at mysql_debug.cxx:75rn#13 0x0865b548 in sql::mysql::util::my_shared_ptr::~my_shared_ptrrn (this=0x8a68078, __in_chrg=) at ./include/mysql_util.h:103rn#14 0x0865be04 in sql::mysql::util::my_shared_ptr::freeReference (rn this=0x8a68078) at ./include/mysql_util.h:96rn#15 0x08694389 in sql::mysql::MySQL_Statement::~MySQL_Statement (this=0x76900468, rn __in_chrg=) at mysql_statement.cxx:60rn#16 0x080a774b in std::auto_ptr::~auto_ptr (this=0x719012d4, rn __in_chrg=)rn at /usr/lib/gcc/i586-redhat-linux/4.4.0/../../../../include/c++/4.4.0/backward/auto_ptr.h:168rn#17 0x08072fee in CLS_DBManage::GetInfoForUpdateBtnState (this=0x8a67f20, _iCurrentLogID=76359, rn _CSZPChannelID=1, _iKaKouMode=1) at /home/VideoRecoServer/MobileEcop/CLS_DBManage.cpp:1815rn#18 0x080d1100 in UpdateBtnStateThread () at /home/VideoRecoServer/MobileEcop/CSZPFrame.cpp:510rn#19 0x0045a935 in start_thread () from /lib/libpthread.so.0rn#20 0x038e882e in clone () from /lib/libc.so.6
netbpm-0.8.3.1中配置问题,请大神帮忙解决
按照install.pdf文档配置完毕,http://localhost:8080/intro/index.rails也能进入登陆页,选择user和password登陆,就是登陆不进入,我查看了一下数据库,发现就没有登陆账号的表格,不知道这里的登陆账号信息来源于何处。
VB报错462,请大神帮忙解决
[code=vb]Private Sub CommandButton输出通知到Word文件_Click()rn Dim Word对象 As New Word.Application, 当前路径, 导出文件名, 导出路径文件名, i, jrn Dim Str1, Str2rn 当前路径 = ThisWorkbook.Pathrn 最后行号 = Sheets("数据").Range("B65536").End(xlUp).Rowrn 判断 = 0rn For i = 2 To 最后行号rn 导出文件名 = "标准说明-"rn FileCopy 当前路径 & "\模板.docx", 当前路径 & "\" & 导出文件名 & Sheets("数据").Range("A" & i) & ".doc"rn 导出路径文件名 = 当前路径 & "\" & 导出文件名 & Sheets("数据").Range("A" & i) & ".doc"rn With Word对象rn .Documents.Open 导出路径文件名rn .Visible = Falsern rn With ActiveDocument.Sections(4).Headers(wdHeaderFooterPrimary)‘调用第二次在这爆出462rn .Range.Text = VBA.Replace(.Range.Text, "项目名称", Sheets("数据").Range("A" & i).Text, 1, 1, vbTextCompare)rn End Withrn Do While .Selection.Find.Execute("项目名称") '寻找客户这个关键词,将其用表格中的姓名来代替rn .Selection.Text = Sheets("数据").Range("A" & i).Textrn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("设计编号值")rn .Selection.Text = Sheets("数据").Range("E" & i).Textrn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("项目编码")rn .Selection.Text = Sheets("数据").Range("F" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("月份一")rn .Selection.Text = Sheets("数据").Range("G" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("月份二")rn .Selection.Text = Sheets("数据").Range("H" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("工程描述")rn .Selection.Text = Sheets("数据").Range("I" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("工程总投资值")rn .Selection.Text = Sheets("数据").Range("J" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("安装工程费值")rn .Selection.Text = Sheets("数据").Range("K" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("设备购置费值")rn .Selection.Text = Sheets("数据").Range("L" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("勘察设计费值")rn .Selection.Text = Sheets("数据").Range("M" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("地勘费值")rn .Selection.Text = Sheets("数据").Range("N" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("检测费值")rn .Selection.Text = Sheets("数据").Range("O" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("工程监理费值")rn .Selection.Text = Sheets("数据").Range("P" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("安全生产费值")rn .Selection.Text = Sheets("数据").Range("Q" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("机构审计费值")rn .Selection.Text = Sheets("数据").Range("R" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("基站机房装修值")rn .Selection.Text = Sheets("数据").Range("S" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("外电引入值")rn .Selection.Text = Sheets("数据").Range("T" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("选址费值")rn .Selection.Text = Sheets("数据").Range("U" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("增值税总计")rn .Selection.Text = Sheets("数据").Range("W" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("设备税金")rn .Selection.Text = Sheets("数据").Range("X" & i).Textrn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("勘察税金")rn .Selection.Text = Sheets("数据").Range("Y" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("地勘税金")rn .Selection.Text = Sheets("数据").Range("Z" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("检测费税金")rn .Selection.Text = Sheets("数据").Range("AA" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("监理费税金")rn .Selection.Text = Sheets("数据").Range("AB" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("审计费税金")rn .Selection.Text = Sheets("数据").Range("AC" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("地址值")rn .Selection.Text = Sheets("数据").Range("D" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("经度值")rn .Selection.Text = Sheets("数据").Range("B" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("纬度值")rn .Selection.Text = Sheets("数据").Range("C" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("运营商值")rn .Selection.Text = Sheets("数据").Range("AD" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("塔桅信息")rn .Selection.Text = Sheets("数据").Range("AE" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("其他费用值")rn .Selection.Text = Sheets("数据").Range("V" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("项目名称") '查找到指定字符串rn .ActiveWindow.ActivePane.View.SeekView = wdSeekCurrentPageHeader '设置位置在页眉rn .Selection.HomeKey Unit:=wdStory '光标置于文件首rn .Selection.Text = Sheets("数据").Range("A" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn End Withrn Word对象.Documents.Savern Word对象.Quitrn Set Word对象 = Nothingrn Next irnEnd Sub[/code]
菜鸟问题,请大神帮忙解决
代码如下:rn显示的数据是 16:1600,25:2500rnpublic static ArrayList SelectedSelectframesize()rn rn tryrn rn using (SqlConnection conn = new SqlConnection(DBHelp.conn))rn rn conn.Open();rn string sql = "select F1008_PARADESC from TB1008_PARAMETER where F1008_PARACODE='壳架等级'";rn using (SqlCommand comm = new SqlCommand(sql, conn))rn rn SqlDataReader sdr = comm.ExecuteReader();rn ArrayList list = new ArrayList();rn while (sdr.Read())rn rnrn PARAMETER parameter = new PARAMETER();rn parameter.F1008_PARADESC = sdr[0].ToString();rn string[] strs = parameter.F1008_PARADESC.Split(new char[] ':' );rn foreach (var item in strs)rn rnrn list.Add(item);rn rnrn rn return list;rn rnrn rn rn catch (Exception)rn rnrn throw;rn rn rnrn页面加载事件:rn if (!IsPostBack)rn rn this.framesize.DataSource = DAL.PARAMETERDAL.Selectframesize();rn this.framesize.DataBind();rn rnrn protected void ListBox1_SelectedIndexChanged(object sender, EventArgs e)rn rn rn rn if(framesize.SelectedValue!=null)rnrn this.TextBox1.Text +=framesize.SelectedValue + ",";rn rn问:rn我在选择值的时候listbox的text显示的是 16:1600 25:2500,怎么把16和25当成值显示在text的文本上面,而不是显示16:1600这样的。rnrn
Lotus Notes4.6出错,请大神帮忙解决
Lotus Notes4.6因用户标识符提示验证字过期,在服务器上操作验证标识符操作,现在客户端都发不了邮件了,提示“连接被拒绝,您请求的是xx,但连接到了xxx”请<em>大神</em><em>帮忙</em>看看,万分感谢!
大神帮忙解决
import java.io.*;rnpublic class Calculator rn // 定义相关变量rn private String sum = null;rn private String qbrc = null;rn private double qbr1 = 1;rn private double qbr2 = 1;rn String abr1;rn String abr2;rn public Calculator()rn rn rn public void sumT()rn /*rn * 接口功能:进行相关的输入和类型转换 rn * 接口输入:空 rn * 接口输出:空 rn */rn tryrn System.out.println("欢迎使用!!!/n此计算器除可以进行数字各种相关运算还可以进行字符串的相加");rn System.out.print("请您输入您的第一次输入:");rn BufferedReader br1 = new BufferedReader(new InputStreamReader(System.in));rn System.out.print("请输入您的第二次输入:");rn BufferedReader br2 = new BufferedReader(new InputStreamReader(System.in));rn System.out.print("请选择符号(+、—、*、/):");rn BufferedReader brc = new BufferedReader(new InputStreamReader(System.in));rn qbrc = brc.toString();rn abr1 = br1.toString();rn abr2 = br2.toString();rn catch(Exception e)rn e.printStackTrace();rn System.err.println("操作有误,请重新操作!!!");rn rn tryrn qbr1 = Double.parseDouble(abr1);rn qbr2 = Double.parseDouble(abr2);rn rn rn catch(Exception e)rn e.printStackTrace();rn System.err.println("***"+abr1+abr2+"***");rn rn /*rn * 接口功能:进行相关运算并输出结果 rn * 接口输入:空 rn * 接口输出:空 rn */rn tryrn if(qbrc=="+")rn double resultOf = qbr1+qbr2;rn System.out.println("第一个数:"+abr1+"\n第二个数:"+abr2+"\n结果为:"+resultOf);rn rn if(qbrc=="-")rn double resultOf = qbr1-qbr2;rn System.out.println("第一个数:"+abr1+"\n第二个数:"+abr2+"\n结果为:"+resultOf);rn rn if(qbrc=="*")rn double resultOf = qbr1*qbr2;rn System.out.println("第一个数:"+abr1+"\n第二个数:"+abr2+"\n结果为:"+resultOf);rn rn if(qbrc=="/")rn double resultOf = qbr1/qbr2;rn System.out.println("第一个数:"+abr1+"\n第二个数:"+abr2+"\n结果为:"+resultOf);rn rn catch(Exception e)rn e.printStackTrace();rn System.err.println("**********\n您的除数不能为零!!!\n**********");rn rn rn rn rn /**rn * @param argsrn */rn public static void main(String[] args) rn Calculator calculator = new Calculator();rn calculator.sumT();rn rnrnrn
大神们,帮忙解决
输出一个字符串中子字符串(相同字符组成)出现的做多的次数。其中子字符串的字符相同的 。 rn比如 输入aaabbbbaaa,输出2;输入abab,输出0,给出代码(c语言)
大神帮忙解决!!!
学习到jsp内置对象的时候,发现内置对象调用的都是抽象方法,查看源码也没看见被什么方法给实现,为什么它还可以调用这些方法???(查看源码的时候还发现一个问题:public abstract interface ServletResponse 这是什么???)请哪位<em>大神</em>讲解清楚!!!
大神帮忙 怎么解决
[img=https://img-bbs.csdn.net/upload/201505/07/1431012129_907772.png][/img]rnjava-ADT eclips中出的问题
大神帮忙解决
C#在一个个控件上鼠标按下不放,另一个控件上鼠标弹起怎么?
vue购物车商品累加结算代码.zip
vue购物车商品<em>累加</em><em>结算</em>代码是一款支持商品全选,商品<em>累加</em>统计,支持收藏等功能,是一款非常全面的购物车<em>结算</em>表单代码。 vue购物车商品<em>累加</em><em>结算</em>代码截图
购物车商品累加结算效果.zip
<!DOCTYPE html> &lt;html&gt; &lt;head&gt; &lt;meta charset="UTF-8"&gt; &lt;meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0, user-scalable=no"&gt; &lt;title&gt;vue购物车商品<em>累加</em><em>结算</em>代码  &lt;/title&gt; &lt;!--css类引用--&gt; &lt;link rel="stylesheet" href="js/layui/css/layui.css?3.1.64" /&gt; &lt;link rel="stylesheet" href="js/eleme-ui/index.css?3.1.64" /&gt; &lt;link rel="stylesheet" href="css/ShoppingCart.css?3.1.64" /&gt; &lt;/head&gt; &lt;body&gt; &lt;!--主要内容--&gt; 全选 商品或服务名称 单价 数量 小计 操作 供应商: 发货地: {{tabledatas.price | moneyFiler}} - &lt;input v-model="tabledatas.num" type="text" class="form-control numInput" aria-label="..."&gt; {{tabledatas.price*tabledatas.num | moneyFiler}} 删除 移到我的收藏 加入收藏 取消收藏 全选 删除选中的商品或服务 移到我的收藏 已选择{{goodsNum}}件商品{{serviceNum}}项服务 总价:{{totalMoney | moneyFiler}} 去<em>结算</em> &lt;!--js类引用--&gt; [removed][removed] [removed][removed] [removed][removed]   &lt;/body&gt; &lt;/html&gt; 这是一个j购物车商品<em>累加</em><em>结算</em>效果,需要的朋友可以直接下载使用,更多特效代码尽在PHP中文网。
一个批量结算任务的demo
<?php class BaseBatchSettleCommand extends CConsoleCommand{ protected $maxProcessNum = 5; protected $pid=0; protected $numFlag = 50000; protected $loopNum = 1000; protected $start
帮忙解决VB中条件累加的代码
如题, 具体逻辑如下:rnrn数据库有一串Data String有99个循环值(每个值叫Data Line),而在每个Data Line中又有10个值分别为5组的循环值(Code & Amount)。rnrn要实现的是,把所有99个Data Line内 相同的 Code所对应的Amount进行<em>累加</em>,而且在输出行里 相同的Code 只能输出一次。rnrn如:DataLine1 C1, 100, D1, 200, E1, 300, F1, 400, G1, 500; rn DataLine1 C1, 80, D1, 90, E1, 120, F1, 180, G1, 260;rnrn实现为 C1*180rn D1*290rn E1*420rn F1*580rn G1*760rnrn因为里面有2个循环,请各位高手不吝赐教。rnrn谢谢。
大神帮忙看看
有一张纸,需要切割二半,纸放在平台上的位置不一样(有时纸歪了一点),但每次都要从纸的中心点切,先用相机拍摄纸的轮郭,然后在得到一个中心线,以及它的长度,rn然后用工控机来调用这个OPENCV里的DLL,来控制步进带动刀片去切割。rnrn用OPENCV怎么计算这个纸的中心线,以及它要切割的长度呢?一定要标定么?rn用距离变换可以吗?rn
大神帮忙检查一下
#includernusing namespace std;rnint main()rnrn const size_t array=10;rn int ix;rn const unsigned array_size=20;rn int ia[array_size];rn for(size_t ix=0;ix!=array_size;++ix)rn ia[ix]=ix;rn cout<
Python 大神帮忙
xiapus=[]rnxiapu='xiapu1':24,'xiapu2':10,'xiapu3':13rnfor xia in range(10):rn xiapus.append(xiapu)rnfor xiapu4 in xiapus[0:8]:rn print(xiapu4) rnprint("\n"+'yi gong you '+ str(len(xiapus))+" ge xiapu")rnrnfor g in xiapus[0:5]:rn if g['xiapu1']==24:rn g['xiapu1']=26rn g['xiapu2']=15rn g['xiapu3']=18rn rnfor xia in xiapus[0:10]:rn print(xia)rnrn为啥上面的这些运行完结果是下面这样?rn'xiapu1': 24, 'xiapu2': 10, 'xiapu3': 13rn'xiapu1': 24, 'xiapu2': 10, 'xiapu3': 13rn'xiapu1': 24, 'xiapu2': 10, 'xiapu3': 13rn'xiapu1': 24, 'xiapu2': 10, 'xiapu3': 13rn'xiapu1': 24, 'xiapu2': 10, 'xiapu3': 13rn'xiapu1': 24, 'xiapu2': 10, 'xiapu3': 13rn'xiapu1': 24, 'xiapu2': 10, 'xiapu3': 13rn'xiapu1': 24, 'xiapu2': 10, 'xiapu3': 13rnrnyi gong you 10 ge xiapurn'xiapu1': 26, 'xiapu2': 15, 'xiapu3': 18rn'xiapu1': 26, 'xiapu2': 15, 'xiapu3': 18rn'xiapu1': 26, 'xiapu2': 15, 'xiapu3': 18rn'xiapu1': 26, 'xiapu2': 15, 'xiapu3': 18rn'xiapu1': 26, 'xiapu2': 15, 'xiapu3': 18rn'xiapu1': 26, 'xiapu2': 15, 'xiapu3': 18rn'xiapu1': 26, 'xiapu2': 15, 'xiapu3': 18rn'xiapu1': 26, 'xiapu2': 15, 'xiapu3': 18rn'xiapu1': 26, 'xiapu2': 15, 'xiapu3': 18rn'xiapu1': 26, 'xiapu2': 15, 'xiapu3': 18rnrnrn------------------rn(program exited with code: 0)rnrn请按任意键继续. . .
大神帮忙
alter table HOUSErn drop constraint FK_HOU_ST;rnrnalter table HOUSErn drop constraint FK_HOU_US;rnrnalter table HOUSErn drop constraint FK_HOU_TY;rnrnalter table STREETrn drop constraint FK_STR_DI;rnrndrop table DISTRICT cascade constraints;rnrndrop table HOUSE cascade constraints;rnrndrop table STREET cascade constraints;rnrndrop table TYPES cascade constraints;rnrndrop table USERS cascade constraints;rnrndrop sequence SEQ_ID;rnrncreate sequence SEQ_ID;rnrncreate table DISTRICT (rn ID NUMBER(4) not null,rn NAME NVARCHAR2(50) not null,rn constraint PK_DISTRICT primary key (ID)rn);rnrncreate table HOUSE (rn ID NUMBER(6) not null,rn USER_ID NUMBER(4),rn TYPE_ID NUMBER(4),rn TITLE NVARCHAR2(50),rn DESCRIPTION NVARCHAR2(2000),rn PRICE NUMBER(10, 2),rn PUBDATE DATE,rn FLOORAGE NUMBER(4),rn CONTACT NVARCHAR2(100),rn STREET_ID NUMBER(4),rn constraint PK_HOUSE primary key (ID)rn);rnrncreate table STREET (rn ID NUMBER(4) not null,rn NAME NVARCHAR2(50) not null,rn DISTRICT_ID NUMBER(4),rn constraint PK_STREET primary key (ID)rn);rnrncreate table TYPES (rn ID NUMBER(4) not null,rn NAME NVARCHAR2(50) not null,rn constraint PK_TYPES primary key (ID)rn);rnrncreate table USERS (rn ID NUMBER(4) not null,rn NAME NVARCHAR2(50) not null,rn PASSWORD NVARCHAR2(50) not null,rn TELEPHONE NVARCHAR2(15),rn USERNAME NVARCHAR2(50),rn ISADMIN NVARCHAR2(2),rn constraint PK_USERS primary key (ID)rn);rnrnalter table HOUSErn add constraint FK_HOU_ST foreign key (STREET_ID)rn references STREET (ID);rnrnalter table HOUSErn add constraint FK_HOU_US foreign key (USER_ID)rn references USERS (ID);rnrnalter table HOUSErn add constraint FK_HOU_TY foreign key (TYPE_ID)rn references TYPES (ID);rnrnalter table STREETrn add constraint FK_STR_DI foreign key (DISTRICT_ID)rn references DISTRICT (ID);rn请问这段代码哪里有问题
大神帮忙
xp系统繁体中文版对一些软件的安装有影响吗?比如乱码问题,怎么<em>解决</em>这个问题,要安装简体中文语言包吗,还是有其他更好的办法?
各位大神帮忙
我现在在写个程序,需要用到ffmpeg的功能,就是把视频中的音频部分提取出来,这个功能很简单[code=c]system("F:\\ffmpeg.exe -i C:\\Users\\dell\\Desktop\\HorrorVideoDetector\\2.flv -vn F:\\1.mp3 -vn");[/code]rn这样就搞定了,可是运行后dos界面中出现很多类似于help这类的冗余信息,我想问的是这个功能,能不能直接用ffmpeg中的代码实现,不调用系统命令,不知道各位<em>大神</em>有没有办法,谢谢大家!!
请各位大神帮忙
[code=c]#includern#includernusing namespace std;rnconst double PI = 3.1415;rnrnclass Shapernprotected:rn double xCoord, yCoord;rnrnpublic:rn Shape(double x = 0, double y = 0) :xCoord(x), yCoord(y)rn rn virtual double area() = 0;rnrn;rnclass Rectangle : public Shapernprotected:rn double length, width;rnpublic:rn Rectangle(double x = 0, double y = 0, double l = 1, double w = 1) :Shape(x, y), length(l), width(w)rn rn double area()rnrn return length*width;rn rnrn double peri()rn return 2 * (length + width);rnrn rn rn rn;rnrnclass Circle :public Shapernprivate:rn double radius;rnpublic:rn Circle(double x = 0, double y = 0, double r = 1) :Shape(x, y), radius(r)rnrn rn double area()rn return PI*radius*radius;rn rn double peri()rn return 2 * PI*radius;rn rn rnrn;rnclass Triangle : public Shapernprivate:rn double sideA, sideB, sideC;rnpublic:rn Triangle(double x = 0, double y = 0, double sa = 3, double sb = 4, double sc = 5) :Shape(x, y), sideA(sa), sideB(sb), sideC(sc)rn rn double area()rn double d = (sideA + sideB + sideC) / 2;rn return sqrt(d*(d - sideA)*(d - sideB)*(d - sideC));rnrn rn double peri()rn return sideA + sideB + sideC;rn rnrnrn;rnclass Cubiod :public Rectangle//长方体rnprivate:rn double hight;rnpublic:rn Cubiod(double x = 0, double y = 0, double l = 1, double w = 1, double h = 1) :Rectangle(x, y, l, w), hight(h)rn rn double area()rnrn return 2 * Rectangle::area() + Rectangle::peri()*hight;rn rn double volume()rn return Rectangle::area()*hight;rn rn rn;rnclass Cylinder :public Circle//圆柱rnprivate:rn double hight;rnpublic:rn Cylinder(double x = 0, double y = 0, double r = 1, double h = 1) :Circle(x, y, r), hight(h)rn rn double area()rnrn return 2 * Circle::area() + Circle::peri()*hight;rn rn double volume()rn return Circle::area()*hight;rnrn rn rn;rnclass Triprism :public Triangle//三菱柱rnprivate:rn double hight;rnpublic:rn Triprism(double x = 0, double y = 0, double sa = 3, double sb = 4, double sc = 5, double h = 1) :Triangle(x, y, sa, sb, sc), hight(h)rnrn rn double area()rn return 2 * Triangle::area() + Triangle::peri()*hight;rn rn double volume()rnrn return Triangle::area()*hight;rn rn rn;rnvoid show(Shape * ps)rnrnrn Circle * pc;rn rn Rectangle * pr;rnrn Triangle * pt;rnrn Cylinder *pcy;rnrn Cubiod *pcu;rnrn Triprism *ptr;rnrn if (pcy = dynamic_cast(ps))rn cout << "圆柱:" << endl;rn cout << "圆柱的体积:" << pcy->volume() << endl;rn rnrn else if (pcu = dynamic_cast(ps)) rn cout << "长方体:" << endl;rn cout << "体积:" < volume() << endl;rn rnrn else if (ptr = dynamic_cast(ps)) rn cout << "三菱柱:" << endl;rn cout << "三菱柱的体积:" < volume() << endl;rn rn rnrn else if (pc = dynamic_cast(ps)) rn cout << "圆形:" << endl;rn cout << "周长:" << pc-> peri() << endl;rn rnrn else if (pr = dynamic_cast(ps)) rn cout << " 矩形:" << endl;rn rn cout << "周长:" < peri() << endl;rn rnrn else if (pt = dynamic_cast(ps))rn cout << " 三角形:" << endl;rnrn cout << "周长:" << pr->peri() << endl;rn rn cout << "面积:" << ps->area() << endl;rnrnint main()rn Shape **s = new Shape *[6];rn s[0] = new Circle(0, 0, 5);//圆形rn s[1] = new Rectangle(0, 0, 6, 8);//矩形rn s[2] = new Triangle(0, 0, 12, 13, 15);//三角形rn s[3] = new Cylinder(0, 0, 5, 10);//圆柱rn s[4] = new Cubiod(0, 0, 6, 8, 10);rn s[5] = new Triprism(0, 0, 12, 13, 15, 10);rn for (int i = 0; i<6; i++)rnrn show(s[i]);rn delete s[i];rn rn delete[] s;rnrn编译没有问题,运行的时候总是在调试,打不到我想要的结果,请求讨教。谢谢啊[/code]
数据库问题请大神解决
访问服务器时候数据库服务器坏了怎么<em>解决</em>减少用户的等待时间 也就是说数据服务器在架设的时候有几种什<em>解决</em>方案, 举个例子 有2台服务器 一台是web服务器 一台是数据库服务器 现在要子web、服务器做一个standby 来备份数据服务的日志 当数据库服务器硬件坏掉了我们马上转接到这个standby服务器来充当数据库服务器 但是这样可能需要1-2个小时的时间用的请求一些数据丢失(灾难性的) 有没有...
帮忙解决解决
我在WIN2000中玩游戏时出现的问题:rn1.应用程序正常初始化(0xc0000142)失败。请单击“确定”,终止应用程序。rn2.Dx7_creatzbuffer,Creat Surface failure!rn Dx7 Error Code:DDERR_INVALIDPARAMS(80070057)rn FILE\3rash\dx7\dx7dev.c,line 1070rn [FILE=(null),LINE=0]rn而我装的游戏,在局域网上其他WIN2000中能运行,这是为什么?rn 请<em>帮忙</em>,<em>解决</em><em>解决</em>。谢谢。
请高手帮忙,一个关于累加的问题。
姓名 工资rn高小明 30rn李磊 20rn高小明 32rnrnrnrn以上是数库库中表的结构,我想在数据窗口中这样显示rn rn姓名 工资rn高小明 62rn李磊 20rnrn就是,姓名相同时,工资<em>累加</em>。rn我是个菜鸟,哪位帮<em>帮忙</em>,这个用数据窗口能实现吗?
关于数字累加的问题,请高手帮忙
AI BI rn11 KN 20rn11 SU 30rn23 MM 40rn90 DD 50rnrn上面表有两字段AI,BI,如果给出一个数字10,想增加一列内容为在10的基础上进行<em>累加</em>,如上面第三列字段内容。rn不知语句如何写,请高手<em>帮忙</em>。TKS!
关于数据累加的问题!!!很简单!!请帮忙
表结构:rnrnproj_id res_id task_id starttime availabilityrn-------------------------------------------------------------rn1 101 1 2006-4-30 30rn1 101 1 2006-5-1 100rn1 101 1 2006-5-2 90rn1 101 2 2006-4-30 50rn1 101 2 2006-5-1 50rn1 101 3 2006-4-30 40rn1 101 3 2006-5-1 20rn1 101 3 2006-5-2 60rn2 101 4 2006-4-30 20rn2 101 4 2006-5-1 20rn2 101 5 2006-5-2 10rnrn说明:在不同项目上,同一个资源在同一天可能有几个任务分配。得到每天资源的总的可用可用性,与资源初始定义的可用性比较(初始值100),看资源是否有过度分配任务量。rn要求:得到这个资源在每一天的availability 之和rnrn想要得结果集结构如下:rnrn res_id starttime availabilityrn-------------------------------------------------------------rn 101 2006-4-30 140rn 101 2006-5-1 190rn 101 2006-5-2 160 rnrnrn如有表述不清楚的地方请提出来。。。rn在线等答案rn谢谢各位!!!!rn更希望没有答案的时候各位能<em>帮忙</em>顶一下。这个问题我实在是想不出来解法,可能很简单。本人蔡鸟!!请走过路过的指点!!rn
请大家帮忙,关系数据计算累加的问题。。。。。
现有结构rnrnid pid cheng chu jisuanrn1 0 1 6rn2 1 2 6rn3 1 3 6rnrnrn想得到如下结果,从外部给一个变量,然后参与计算,公式如下:rnrnid pid cheng chu jisuanrn1 0 1 6 变量*cheng/churn2 1 2 6 面的结果继承下来rn3 1 3 6 以此类推rnrnrn谢谢大家了。。。。。。。。rn
大神帮忙解决异常问题
ERROR: HHH000319: Could not get database metadatarnorg.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Access denied for user 'root'@'localhost' (using password: YES))rn at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)rn at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)rn at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)rn at org.hibernate.service.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:141)rn at org.hibernate.tool.hbm2ddl.SuppliedConnectionProviderConnectionHelper.prepare(SuppliedConnectionProviderConnectionHelper.java:51)rn at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:219)rn at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:203)rn at org.hibernate.internal.SessionFactoryImpl.(SessionFactoryImpl.java:509)rn at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1799)rn at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)rn at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:242)rn at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:372)rn at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:357)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1545)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1483)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:589)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)rn at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4887)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5381)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1113)rn at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1671)rn at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)rn at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)rn at java.util.concurrent.FutureTask.run(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn at java.lang.Thread.run(Unknown Source)rn
急需大神帮忙解决
typedef struct flightnumberrn int number; rn int date; rn int clock;rn int seat;rn float charge;rn float discount; rnflightnum;rnrntypedef struct airlinern char *startcity;rn char *arrivecity;rn flightnum num[MAX];rnairline;rn上面写的是航班信息的结构体,假如1:北京,2:上海,3:南京,4:合肥rn1至2为航线1,2至3为航线2,3至4为航线3,4至1为航线4,1至3为航线5,2至3为航线6;rn每个航线有三个航班,就是那个num【MAX】的取值了,每个航班分别每月有三天航运时间,每天3趟,怎么存储这些信息啊,rn想将航班信息保存在里面 达到胰腺癌效果:rn 航班 日期 时间 座位数量 票价 折扣rn 1 5 9:00 100 20 9rn 1 5 9:00 100 20 9rn 1 5 9:00 100 20 9rn 1 15 15:00 100 20 9rn 1 15 15:00 100 20 9rn 1 15 15:00 100 20 9rn 1 25 21:00 100 20 9rn 1 25 21:00 100 20 9rn 1 25 21:00 100 20 9rn航班2,3铜上一样,我用airline声明了一个line【MAX】来存航线,但是那个date和clock不会存啊,怎么做啊 rn求<em>大神</em>救命啊!!!rn
算法设计 求大神 帮忙解决
设给出了如下字母表及其相应的频率,试作出其Huffman树和相应的字母的编码:rnrn字母 a b c d e f g rn频数 12 2 4 7 23 14 9 rnrn
大神帮忙解决一下
[img=https://img-bbs.csdn.net/upload/201408/28/1409228843_418446.png][/img]rn请问这个是什么原因出现的提示:如何让它取消掉?求<em>大神</em><em>解决</em>,
有没有大神帮忙解决一下
下面的代码为什么会出现异常rnimport java.awt.*;rnimport javax.swing.*;rnrnpublic class yhdl extends JFramern JPanel mb1,mb2,mb3;rn JButton an1,an2;rn JLabel bq1,bq2;rn JTextField wbk;rn JPasswordField mmk;rn rn public static void main(String[] args) rn yhdl a=new yhdl();rn rn rn yhdl()rn mb1=new JPanel();rn mb2=new JPanel();rn mb3=new JPanel();rn bq1=new JLabel("用户名");rn bq2=new JLabel("密 码");rn an1=new JButton("登录");rn an2=new JButton("取消");rn wbk=new JTextField(10);rn mmk=new JPasswordField(10);rn rn this.setLayout(new GridLayout(3,2));rn rn mb1.add(bq1); mb1.add(wbk);rn mb2.add(bq2); mb2.add(mmk);rn mb3.add(an1); mb3.add(an2);rn rn this.add(mb1); this.add(mb2); this.add(mb3);rn rn this.setTitle("用户登录");rn this.setSize(230,150);rn this.setLocation(500,500);rn this.setResizable(false);rn this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);rn this.setVisible(true);rn rn rn rnrnrnrn异常代码rnException in thread "main" java.lang.StackOverflowErrorrn at java.awt.Insets.(Unknown Source)rn at sun.awt.windows.WToolkit.getScreenInsets(Native Method)rn at sun.awt.windows.WToolkit.getScreenInsets(Unknown Source)rn at java.awt.Window.init(Unknown Source)rn at java.awt.Window.(Unknown Source)rn at java.awt.Frame.(Unknown Source)rn at java.awt.Frame.(Unknown Source)rn at javax.swing.JFrame.(Unknown Source)rn at JPanel.(JPanel.java:12)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn
大神帮忙解决 SQL
表SC 有字段S#学生ID,Sname 学生姓名,C#学科,Score 分数 取各科成绩排前2的学生信息rn这个该怎么写?rn假设表数据如下rn[img=https://img-bbs.csdn.net/upload/201403/12/1394597616_649990.png][/img]rnrn需要得到如下结果[img=https://img-bbs.csdn.net/upload/201403/12/1394597862_173446.png][/img]
系统问题求大神帮忙解决
windows系统,执行cmd命令窗口闪一下就关闭rn网上有人说执行regedit命令 但是我在执行这个命令的时候也自动关闭了,根本来不及看注册表信息。rn各种方法都试过了,求<em>大神</em><em>帮忙</em><em>解决</em>。
大神们来帮忙
最近在学习 windows核心编程这本书,感觉这本书名不虚传那,现在想找一些能与核心编程相关的项目来练练手,请<em>大神</em>们推荐!!rn单个项目可以(不要过大哦),书籍也可以~ 先谢谢啦~
我的疑惑,请大神帮忙
我想做个门户网站,能不能全部用强力型dataset,就是OBJECTdatesourCE这个控件来绑定数据源,而不用SQLDATASOURCE,就是绑定listview等控件时,全部用这个,而不是用代码来绑定,全部网站能实现吗?如果不能,为什么很多人在用,如果能,请问为什么我们所有下的源码还是弱类型的源码,求详细解答,谢谢
内存泄露,请大神帮忙看下
[code=c]rnrn//类定义rnclass t_satObs rn public:rn t_satObs() rn t_satObs(const t_satObs& old) // copy constructor (deep copy)rn _staID = old._staID;rn _prn = old._prn;rn _time = old._time;rn for (unsigned ii = 0; ii < old._obs.size(); ii++) rn _obs.push_back(new t_frqObs(*old._obs[ii]));rn rn rn ~t_satObs() for (unsigned ii = 0; ii < _obs.size(); ii++) delete _obs[ii];rnrn std::string _staID;rn t_prn _prn;rn bncTime _time;rn std::vector _obs;rn;rn//出现问题的循环,如果加上这段代码,内存总是一直增加,可是没有发现什么问题呀!rnwhile(true)rnrn if (_rnx)rn rn long iSec = long(floor(obs._time.gpssec()+0.5));rn if (_rnx->samplingRate() == 0 || iSec % _rnx->samplingRate() == 0)rn rn _rnx->deepCopy(obs);rn rn _rnx->dumpEpoch(format, obs._time);rn rn rn//调用的函数rnvoid deepCopy(t_satObs obs) rn _obs.push_back(obs); //_obs为_rnx成员变量,定义:QList _obs;rnrnvoid dumpEpoch(const QByteArray& format, const bncTime& maxTime) rn QList obsList;rn QMutableListIterator mIt(_obs);rn while (mIt.hasNext()) rn t_satObs obs = mIt.next();rn if (obs._time < maxTime) rn obsList.push_back(obs);rn mIt.remove();rn rn rnrn[/code]rn大家费心了,如果能指出错误,会补分,跪谢!
空指针求助.请大神帮忙
空指针求助.请<em>大神</em><em>帮忙</em>rn[img=https://img-bbs.csdn.net/upload/201412/21/1419161330_662821.jpg][/img]rnrn相关说明:本人新手,刚刚学完SSH框架,就试开发一个网站.上面的问题是cookie处理过程中出现的.rn对于cookie本人的思路是这样的:用户登录时在action向客户端写入cookie(内容为 id和密码),然后再jsp页面取到cookie的id和密码,取得id和密码后到数据库验证id密码是否正确(使用了缓存).rn上面的问题是取到cookie后将id密码传到Java class进行验证是否正确.
大神帮忙,ibatis问题
调用存储过程,返回两个结果集,我只用一个结果集,用这个方法(List )hashMap.get("R_RESULT1")接结果集,数据为空,但是别人调用同一个存储过程,换不同参数,就能接到,他接的是两个结果集
委托问题,请大神帮忙
为什么我直接用线程指向 zhuangHua方法winform程序不会未响应,而我用了将方法放入委托中,程序却假死了呢?不明白,请<em>大神</em><em>帮忙</em>。。 rn Thread _thread = null;//定义线程rn delegate void SetLabelText(string str);//定义委托,用来完成线程的赋值 rn public Form1()rn rn InitializeComponent();rn listBox1.Items.Add(Math.Pow(4, 2));rn rn private void button1_Click(object sender, EventArgs e)rn rn _thread = new Thread(new ThreadStart(setNum));rn _thread.IsBackground = true;rn _thread.Start();rn rn rn //委托rn private void setNum()rn rn //委托方法rn SetLabelText st = new SetLabelText(zhuangHua);rn //用invoke 方法来达到线程间操作的目的 rn this.Invoke(st, "参数");rn //休眠rn //Thread.Sleep(500);rn
菜鸟问题,请大神帮忙
下边这段代码我应该怎么去判断他的二次选择? 让新选的值替换旧的值? Numberofpoles:listbox控件 ,希望能贴出代码rnrnprotected void Numberofpoles_SelectedIndexChanged(object sender, EventArgs e)rn rntextbox="";rn string[] listbox_value = textbox.Split(new char[] ',' );rn if (this.Numberofpoles.SelectedItem.Selected)rn rn string ins = this.Numberofpoles.Text;rn string[] Numberofpoles = ins.Split(new char[] ':' );rn foreach (var item in Numberofpoles)rn rn this.Numberofpoles.DataValueField = item;rn textbox += "," + item;rn this.TextBox1.Text = textbox;rn this.RatedCurrent.Visible = true;rn break;rnrn rn rn
大神帮忙看下代码
本人小白一个,今天再查看一个网页源文件时遇到下面的代码,格式太复杂了,但看起来又不像是加密的,请各<em>大神</em><em>帮忙</em>鉴定一下是否是经过特殊处理的过代码?如果是该如何转换为通俗的易懂的格式。rn完整代码太长了,请看链接:http://szjj.ky51.cn/Public/Js/jquery-1.11.1.min.jsrnrn部分代码如下:rn/*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */rn!function(a,b)"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a)if(!a.document)throw new Error("jQuery requires a window with a document");return b(a):b(a)("undefined"!=typeof window?window:this,function(a,b)var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h=,i=h.toString,j=h.hasOwnProperty,k=,l="1.11.1",m=function(a,b)return new m.fn.init(a,b),n=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,o=/^-ms-/,p=/-([\da-z])/gi,q=function(a,b)return b.toUpperCase();m.fn=m.prototype=jquery:l,constructor:m,selector:"",length:0,toArray:function()return d.call(this),get:function(a)return null!=a?0>a?this[a+this.length]:this[a]:d.call(this),pushStack:function(a)var b=m.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b,each:function(a,b)return m.each(this,a,b),map:function(a)return this.pushStack(m.map(this,function(b,c)return a.call(b,c,b))),slice:function()return this.pushStack(d.apply(this,arguments)),first:function()return this.eq(0),last:function()return this.eq(-1),eq:function(a)var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[]),end:function()return this.prevObject||this.constructor(null),push:f,sort:c.sort,splice:c.splice,m.extend=m.fn.extend=function()var a,b,c,d,e,f,g=arguments[0]||,h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||,h++),"object"==typeof g||m.isFunction(g)||(g=),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(m.isPlainObject(c)||(b=m.isArray(c)))?(b?(b=!1,f=a&&m.isArray(a)?a:[]):f=a&&m.isPlainObject(a)?a:,g[d]=m.extend(j,f,c)):void 0!==c&&(g[d]=c));return g,m.extend(expando:"jQuery"+(l+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a)throw new Error(a),noop:function(),isFunction:function(a)return"function"===m.type(a),isArray:Array.isArray||function(a)return"array"===m.type(a),isWindow:function(a)return null!=a&&a==a.window,isNumeric:function(a)return!m.isArray(a)&&a-parseFloat(a)>=0,isEmptyObject:function(a)var b;for(b in a)return!1;return!0,isPlainObject:function(a)var b;if(!a||"object"!==m.type(a)||a.nodeType||m.isWindow(a))return!1;tryif(a.constructor&&!j.call(a,"constructor")&&!j.call(a.constructor.prototype,"isPrototypeOf"))return!1catch(c)return!1if(k.ownLast)for(b in a)return j.call(a,b);for(b in a);return void 0===b||j.call(a,b),type:function(a)return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a,globalEval:function(b)b&&m.trim(b)&&(a.execScript||function(b)a.eval.call(a,b))(b),camelCase:function(a)return a.replace(o,"ms-").replace(p,q),nodeName:function(a,b)return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase(),each:function(a,b,c)var d,e=0,f=a.length,g=r(a);if(c)if(g)for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)breakelse for(e in a)if(d=b.apply(a[e],c),d===!1)breakelse if(g)for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)breakelse for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a,trim:function(a)return null==a?"":(a+"").replace(n,""),makeArray:function(a,b)var c=b||[];return null!=a&&(r(Object(a))?m.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c,inArray:function(a,b,c)var d;if(b)if(g)return g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return creturn-1,merge:function(a,b)var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a,grep:function(a,b,c)for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e,map:function(a,b,c)var d,f=0,g=a.length,h=r(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i),guid:1,proxy:function(a,b)var c,e,f;return"string"==typeof b&&(f=a[b],b=a,a=f),m.isFunction(a)?(c=d.call(arguments,2),e=function()return a.apply(b||this,c.concat(d.call(arguments))),e.guid=a.guid=a.guid||m.guid++,e):void 0,now:function()return+new Date,support:k),m.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b)h["[object "+b+"]"]=b.toLowerCase());function r(a)var b=a.length,c=m.type(a);return"function"===c||m.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in avar s=function(a)var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+-new Date,v=a.document,w=0,x=0,y=gb(),z=gb(),A=gb(),B=function(a,b)return a===b&&(l=!0),0,C="undefined",D=1<b;b++)if(this[b]===a)return b;return-rn
大神---请帮忙,紧急
我知道一条语句,怎么查出这条语句请求的客户端。rn比如:[code=sql]SELECT COUNT (1)rn FROM dbo.[tblOrders] WITH (NOLOCK)rn WHERE OrderNo = @OrderNo AND ProxyerID = @ProxyerIDrn[/code]rn我需要怎么样才能查出这条语句请求的客户端?有什么DMV会记录吗?
高手、大侠、大神帮忙
我想做的功能是用struts2+jquery实现一个简单的查询功能,查询完后将数据显示在页面上,数据不止一条,所以需要将数据循环出来,以下是我的代码,我贴出来,请看看我代码哪里错了,不知道怎么回事就是出不来效果,请高手指点!谢谢了rnjsp页面rnjson.jsprnrnrnrnrn rn 显示学生信息rn rn rn rn rn rn rn rn rn rn rn rn rn rn 编号rn rn rn 用户名rn rn rn 证件号rn rn rn 邮箱rn rn rn 电话rn rn rn 地址rn rn rn 操作rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rnrnaction页面rnStudentAction.javarn这里只有一个查询方法rnpackage com.vstsoft.action;rnrnimport java.io.PrintWriter;rnimport java.util.List;rnrnimport javax.servlet.http.HttpServletResponse;rnrnimport net.sf.json.JSONObject;rnrnimport org.apache.struts2.ServletActionContext;rnrnimport com.opensymphony.xwork2.ActionSupport;rnimport com.vstsoft.model.Student;rnimport com.vstsoft.service.StudentService;rnrnpublic class StudentAction extends ActionSupport rnrn private StudentService ss ;rnrn public StudentService getSs() rn return ss;rn rnrn public void setSs(StudentService ss) rn this.ss = ss;rn rnrnrn HttpServletResponse response = ServletActionContext.getResponse();rn rn public String queryAll() throws Exception rn System.out.println("****************");rn List list = ss.queryAll();rn JSONObject json = new JSONObject();rn json.put("list", list);rn System.out.println(">>>>>>>list="+list);rn System.out.println(">>>>>>>json="+json);rn String s = json.toString();rn System.out.println(">>>>>>>s="+s);rn return null;rn rn rn rnrn请各位大哥大姐看看到底是怎么回事,谢谢了!
大神帮忙看下错。
应用抽象类rnrn#includernclass listrnrnpublic:rn list *head;rn list *tail;rn list *next;rn int num;rn list()rn rn head=tail=next;rn rn virtual void store(int i)=0;rn virtual int retrieve()=0;rn;rnclass queuernrnpublic:rn int retrieve();rn void store(int i); rn;rnvoid queue::store(int i)rnrn list *item;rn item=new queue;rn if(!item)rn rn coutnext=NULL;rn if(!head)rn head=tail;rnrnint queue::retrieve()rnrn int i;rn list *p;rn if(!head)rn rn coutstore(1);rn p->store(2);rn p->store(3);rn cout<<<<<<<
小弟新手,请大神帮忙
为什么我的Eclipse中的 Windows->Show View->other ->Android->File Explorer下面没有data、sdcard、system这三个目录啊??这个问题怎么<em>解决</em>啊!!!我是新手,刚开始玩Android~~~小弟先谢过各位大虾了
jmeter问题 请大神帮忙
我一运行jmeter的脚本,测试服务器就断开了,怎么回事呀??之前就是好的,突然一次断开后,就一直不行,一运行就断开!
大神帮忙一个查询
有两张表A,B.rn[img=https://img-bbs.csdn.net/upload/201804/27/1524817991_168888.jpg][/img]rn需要查询的条件,A.fty=b.fty and a.code=b.code ,然后a的年份,要>=b的年,a的月份>=b的月份,如果有多个月份,选最大的那个。rn例如图中,a.code=80560003 a.date=10/17/2017,对应的b的date有三个,要选符合条件最大的那个也就是17-10-01.rn怎么做查询,最终是要以A表记录为准,连接B表。多谢。rn
大神帮忙,在线跪求!
rnrn请<em>大神</em><em>帮忙</em>解释下上面的这段脚本文件。跪谢!
着急,请大神帮忙~急~~~~~~~~~~~~~~~~~~~~~~
现在有两张表 rnA表 rnksdm zjern01 100rn02 200rn03 250rnrnB表rnksdm zjern02 150rn03 100rn04 500rnrn怎么得到表rnksdm zje rn01 100rn02 350rn03 350rn04 500rn
请java的大神帮忙
<em>帮忙</em>写下下面这两个的java,麻烦了。就只写了个task1的,这两个不会写了。。。十分感谢各位<em>大神</em>了。[img=https://img-bbs.csdn.net/upload/201702/22/1487739303_289088.png][/img][img=https://img-bbs.csdn.net/upload/201702/22/1487739312_125860.png][/img]
急!!!!请各位大神帮忙!!
请各位<em>大神</em>把下面SQL2012的分页语句改成SQL2008 r2的。。。感谢rnrn selectrn rn from T_BAS_SUPPLIER_CERT_CLASS_BIDVALUErn rn 1 = 1rn rn rn order byrn rn $sortParam.column $sortParam.orderrn rn rn offset (#_begin - 1) row fetch next #_pagesize rows onlyrn
请各位大神帮忙解答。
假设有A表 B表rncode name code name rn1 a 1 aaa rn2 b 3 cccrn3 c 5 eeern4 drn5 ern现在我想参照B表将A表更新为rncode name rn1 aaa rn2 b rn3 ccc rn4 drn5 eeern请各位<em>大神</em>帮<em>帮忙</em>,用一条SQL语句搞定。
大神帮忙编个程序
我是大一新手rn现在老师留了期末作业 要求编写一个程序要求如下:rn编写一个有关于设备管理的C程序rn要求有信息录入、读取、保存、查找等功能rn运行环境:C++6.0rn求<em>大神</em><em>帮忙</em>编写rn老师要求讲解rn所以希望<em>大神</em>可以附上注释rn谢谢
程序崩溃问题,请大神帮忙
进行五路视频播放,大概播放1个小时候,程序崩溃(win32异常),vs上无任何异常记录及日志里也没看到rn[img=https://img-bbs.csdn.net/upload/201801/15/1515987378_916720.png][/img]rn有没有<em>大神</em>能<em>帮忙</em>看看,说一下可能的<em>解决</em>方案
ondraw不执行,请大神帮忙
ondraw不执行,请<em>大神</em><em>帮忙</em>
IIS常见错误,请大神解决
这是我的VS下网站的目录结构[img=http://img.my.csdn.net/uploads/201303/15/1363330438_9739.JPG][/img]rn首页是login.aspx,点击登陆后跳转到default.aspx,我代码是这样写的:[img=http://img.my.csdn.net/uploads/201303/15/1363330513_4099.JPG][/img]rn我的IIS结构是这样的[img=http://img.my.csdn.net/uploads/201303/15/1363330538_6667.JPG][/img],用VS浏览页面正常,可以跳转到那个页面,发布之后就不行了,报的错误是这样的:[img=http://img.my.csdn.net/uploads/201303/15/1363330649_5055.JPG][/img],请问如何<em>解决</em>我的问题?
帮忙解决个asp批量选择修改数据的问题
在此先谢谢!rn目的:<em>批量</em>有选择的修改数据。rn目前问题:只能够修改1个选择,其他的多项选择提示错误:第 1 行: ',' 附近有语法错误rn代码:rnrnrnrnrnrnrn rn 无标题文档rnrnrnrn rn rn rn 选择rn IDrn 名称rn 数量rn 水票rn 备注rn rn <> 0) AND (NOT rs.EOF)) rn%> rn rn " />rn rn rn " />rn rn " type="text" id="mingcheng" value="" />rn " type="money" id="shuliang" value="" />rn " type="money" id="shuipiao" value="" />rn " type="text" id="beizhu" value="" />rn rn rn rn rn rn rn rn rn rn rn rn rn rnrnrnrn传递到下一页代码rnrnrnrnrnrnrn rn 无标题文档rnrnrnrn管理成功返回rnrnrnrnrn请问如何修改。rn谢谢?
PHP关于大数据的批量结算总结
一般php都不会去处理大量数据的<em>结算</em>,php是网页脚本语言! 不合适执行时间较长的操作! 我们一般都会交到后端给其他程序处理 如:python java C等其他服务端去处理 然后中间返回给我们想要的结果和数据!可能根据业务和现实的情况需要,我们可能会用php 处理一些量大数据<em>结算</em>!如收益<em>结算</em>,交易<em>结算</em>等。在处理之前我们要梳理清楚业务流程,保证业务流程的正确性和<em>结算</em>的准确性。我们可以根绝我们的实...
程序问题,请帮忙解决
以下的程序是抄MSDN上,但是有错误,初学不知道错在哪里,请大家指点,谢了!rn#include "stdio.h"rn#include "icrsint.h"rn#import "c:\program files\common files\system\ado\msado15.dll" no_namespace rename("EOF","adoEOF")rnrnrn_COM_SMARTPR_TYPEDEF(IADORecordBinding,__uuidof(IADORecordBinding));rnrninline void TESTHR(HRESULT _hr)if FAILED(_hr) _com_issue_error(_hr);rnrnclass CCustomRs:public CADORecordBindingrnrn BEGIN_ADO_BINDING(CCustomRs)rn ADO_VARIABLE_LENGTH_ENTRY2(2,adVarChar,m_ch_fname,rn sizeof(m_ch_fname),m_ul_fnameStatus,false)rn ADO_VARIABLE_LENGTH_ENTRY2(4,adVarChar,m_ch_lname,rn sizeof(m_ch_lname),m_ul_lnameStatus,false)rn END_ADO_BINDING()rnpublic:rn CHAR m_ch_fname[22];rn CHAR m_ch_lname[32];rn ULONG m_ul_fnameStatus;rn ULONG m_ul_lnameStatus;rn;rnrnvoid main(void)rnrn ::CoInitialize(NULL);rn tryrn rn _RecordsetPtr pRs("ADODB>Recordest");rn CCustomRs rs;rn IADORecordBindingPtr picRs(pRs);rnrn pRs->Open("SELECT *FROM zhenwu","Provider=Microsoft.Jet.OLEDB.4.0;Data Source=zhenwu.mdb",adOpenStatic,adLockOptimistic,adCmdText);rn TESTHR(picRs->BindToRecordset(&rs));rn while(!pRs->adoEOF)rn rn printf("%s, %s\n",(rs.m_ul_fnameStatus==adFldOK?rs.m_ch_fname:"ERROR"),(rs.m_ul_lnameStatus==adFldOK?rs.m_ch_lname:"ERROR"));rn pRs->MoveNext;rn rn rn catch (_com_error &e)rn rn printf("ERROE:\n");rn rn ::CoUninitialize();rnrn
请高手帮忙解决!!!
我要实现的是在Action中实现生成XML文件,然后下载,这些都已经实现,rn可是下载后页面中表单其他按钮都失效(调用JavaScript的代码失效,其他的正常)rn如果不点击下载按钮则一切正常,请高手<em>帮忙</em><em>解决</em>...代码如下(Action中)rnConnectionManager connectionManager = ConnectionManager.getConnectionManager();rn IndustryXMLInfo tradeXMLInfo = IndustryHelper.TradeXMLForm2Info(form);rn Connection con = connectionManager.openConnection();rn ArrayList list = IndustryXMLDao.find(con,tradeXMLInfo,cpCode);rn IndustryXMLDao.update(con,tradeXMLInfo);rn response.setContentType("text/xml");rn response.setHeader("Content-Disposition","attachment;filename=\"bgd.xml\"");rn XMLParser paser = new XMLParser();rn ByteArrayOutputStream out = (ByteArrayOutputStream)paser.XMLCreate(list);rn rn try rn out.writeTo(response.getOutputStream());rn out.flush();rn rn rn catch (IOException e) rn loggerrn .error(rn "busiExcute(HttpServletRequest, HttpServletResponse, Form)",rn e);rnrn // TODO 帺摦惗惉偝傟偨 catch 僽儘僢僋rn loggerrn .error(rn "busiExcute(HttpServletRequest, HttpServletResponse, Form)",rn e);rn rn rnrn if (logger.isDebugEnabled()) rn loggerrn .debug("busiExcute(HttpServletRequest, HttpServletResponse, Form) - end");rn
新问题,请帮忙解决
在EXCEL中,有个工作表,请问怎么在这个工作表中做菜单?谢谢了。
请大家帮忙解决
if ($gp_from != "")rn rn Header("Location:$gp_from");rn rn elsern rn Header("Location:/");rn rnrnrn运行后提示错误信息:Header may not contain more than a single header, new line detectedrn请问该如何<em>解决</em>。
帮忙解决
未能加载视图状态。正在向其中加载视图状态的控件树必须与前一请求期间用于保存视图状态的控件树相匹配。例如,当以动态方式添加控件时,在回发期间添加的控件必须与在初始请求期间添加的控件的类型和位置相匹配。rnrn说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 rnrn异常详细信息: System.Web.HttpException: 未能加载视图状态。正在向其中加载视图状态的控件树必须与前一请求期间用于保存视图状态的控件树相匹配。例如,当以动态方式添加控件时,在回发期间添加的控件必须与在初始请求期间添加的控件的类型和位置相匹配。rnrn源错误: rn执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。 rnrn堆栈跟踪: rnrnrn[HttpException (0x80004005): 未能加载视图状态。正在向其中加载视图状态的控件树必须与前一请求期间用于保存视图状态的控件树相匹配。例如,当以动态方式添加控件时,在回发期间添加的控件必须与在初始请求期间添加的控件的类型和位置相匹配。]rn System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +483rn System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +195rn System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +424rn System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +195rn System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +424rn System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +195rn System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +424rn System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +195rn System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +424rn System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +195rn System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +424rn System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +195rn System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +424rn System.Web.UI.Page.LoadAllState() +559rn System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2238rnrn rnrnrn--------------------------------------------------------------------------------rn版本信息: Microsoft .NET Framework 版本:2.0.50727.832; ASP.NET 版本:2.0.50727.832
高手请帮忙解决
"ox6ee37f8a"指令引用的“0x0000003c"内存。给内存不能为“read”.rn要终止程序,单击“确定”。rn要调试程序,单击“取消”。rn运行oracle时,出现上面的对话框,是怎么回事?如何<em>解决</em>?rn谢谢
帮忙解决
好久以前建立了一个html页面,上面就一些链接和表格什么的,是用frontpage 2000 做的,但最近打开发现出现了错误,提示是:类型不匹配:‘KJ_start’,不知道什么意思,后见html源文件中有这样一句话:,这是什么意思呢?
帮忙解决一下!!!
用JAVA编写一程序 rn 根据用户输入的利润发奖金 要求:rn 利润S低于10万元时奖金可提成10% rn 利润高于10万元低于20万元时 低于10万元的部份按10%提成,高于10万元部份可提成7.5% rn 20万元到40万元之间时 高于20万的部份可提成5% rn 40到60万元之间时 高于40万部份提成3% rn 高于100万元时按1%提成 rn 根据用户输入当月利润计算出应发奖金总数并输出.
请各位帮忙解决!!
sqlserver中有一字段为:T_namern在我的 sql查询分析器中,查出T_name字段下,某一记录为:"TOM\"rnrn在php中,用rnecho str_replace("\","\\",T_name);rn页面显示如下错误:rnWarning: Unexpected character in input: '\' (ASCII=92) state=1 in c:\apache\info.php on line 84rnrnWarning: Unexpected character in input: '\' (ASCII=92) state=1 in c:\apache\info.php on line 84rnrnParse error: parse error, unexpected '\"' in c:\apache\info.php on line 84rnrn是为什么?如何<em>解决</em>呀???rnrn鞠躬!鞠躬!鞠躬!
帮忙解决!!!
请<em>大神</em>们指点错误,我运行这段代码后,后面的那个输出函数,Print老出问题,具体错误提示是这样的:rn [C++ Warning] Unit1.c(36): W8065 Call to function 'clrscr' with no prototypern [C++ Error] Unit1.c(62): E2140 Declaration is not allowed herern [C++ Warning] Unit1.c(64): W8004 'head' is assigned a value that is never usedrn [C++ Warning] Unit1.c(69): W8065 Call to function 'clrscr' with no prototypern [C++ Warning] Unit1.c(78): W8065 Call to function 'gotoxy' with no prototypern [C++ Warning] Unit1.c(78): W8065 Call to function 'getch' with no prototypernrnrnrnrn#include rn#include rn#define NULL 0rn#define LEN sizeof(struct mcd)rn#pragma argsusedrnstruct data /*声明一个日期的结构体类型*/rnrn int year;rn int month;rn int day;rn;rnstruct mcdrnrn int number;rn char name[20];rn int weight;rn int height;rn struct data birth;rn char address[50];rn struct mcd *next;rn;rnint main(int argc, char* argv[])rnrn int n; /*记录链表有几条数据*/rn struct mcd *head; /*声明链表头的指针*/rn struct mcd *p1,*p2; rn n=0;rn p1=p2=(struct mcd *)malloc(LEN); /*开辟一个新单元存放信息*/rn head=p1;rn loop: rn clrscr();rn printf("商品录入系统\n");rn printf("录入号:%d\n",n+1);rn printf("员工编号:");rn scanf("%d",&p1->number);rn printf("员工姓名:");rn scanf("%s",&p1->name);rn printf("员工体重:");rn scanf("%ld",&p1->weight);rn printf("员工身高:");rn scanf("%d",&p1->height);rn printf("员工生日:");rn scanf("%d-%d-%d",&p1->birth.year,&p1->birth.month,&p1->birth.day);rn printf("员工地址:");rn scanf("%s",&p1->address);rn rn while(p1->number!=0)rn rn n=n+1;rn if(n==1)head=p1;rn else p2->next=p1;rn p2=p1;rn p1=(struct mcd *)malloc(LEN);rn goto loop;rn rnrn void print( );rn return 0;rnrnvoid print(struct mcd *head)rn rn int m=0;rn struct mcd *p;rn clrscr();rn printf("员工编号||员工姓名||员工体重||员工身高|| 员工生日 ||员工地址\n");rn p=head;rn if(head!=NULL)rn dorn rn printf("%-10d%-14s%-12ld%-10d%-4d-%-2d-%-2d-22s%\n",p->number,p->name,p->weight,p->height,p->birth.year,p->birth.month,p->birth.day,p->address);rn p=p->next;rn m=m+1;rn if(m%23==0)gotoxy(10,25);printf("按任意键继续.");getch();rn while(p!=NULL);rn
请大家帮忙解决
在C++的类中例如:rnclass D2 : public CDialogrnrnpublic:rnrnchar *parseServiceType_getProcedence(BYTE b);rn}rnrn我该怎样在类外定义该函数呢?
帮忙解决一下!!
我这儿有几个文件:rnmain.htmrnrnrn Untitled Documentrn rnrnrnrn rn rn rn rnrnrn rnrn rnrnrnrn请问如何改写menu.htm中的链接,同时更换left.htm和source/input.php两个文件为其它两个文件rnmenu.htmrnrnrnrn rn rn rn rnrnrn rn rn rn rn rnrnrn谢谢各位
请高手帮忙解决
我想用程序得到一个指定界面内指定控件的内容如何做?例如:我想得到OICQ登陆界面中密码输入框中的内容如何做?rn不用钩子或者向远程进程注入DLL的方法如何作到呢?rn利用钩子又如何作到呢?rn请高手帮助。
帮忙解决!!
rnrn 留言板rn rnrnrnrn自由在线留言板rnrn rn rn 名称:rn我有话要说... rnrn rnrn rnrn rn检查所有留言rnrnrnrnrnrn这是个留言析的首页,可是按过"写好了"就和没按效果一样。是不是DATACHECK函数有问题呀。请帮我<em>解决</em>!谢谢啦。rnrn
帮忙解决一下
如何让一张自己的图片做为form的背景
请朋友们帮忙解决
我用的是Developer.Express.NET.WindowsForms.Component.Collection.For Visual Studio 2005 这个租件,现在这些页面在写程序时一点就包下面的错误,打不开设计界面了,只能看到代码界面,真不知道怎么办,朋友们帮看看.rn找不到类型“DevExpress.XtraEditors.SimpleButton”。请确保已引用包含此类型的程序集。如果此类型为开发项目的一部分,请确保已成功生成该项目。
帮忙解决乱码问题.
运行环境:window 2000 server+tomcat5.08+mysql4.1+j2sdk1.4.1_07rnrn写入数据库的中文字符在数据库里显示为乱码,读出来也是乱码,rn而我直接在数据库里输入中文字符,不会出现乱码,显示也正确。rn请问是什么原因? 该怎么<em>解决</em>?rn
急,请帮忙解决!!!!!!
我有一张表A,表中的字段为”Item1”, ”Item2”, ”Item3”, ”Item4”, ”Item5”rnrnItem1 Item2 Item3 Item4 Item5rn2 5 4 10 6rn1 3 2 5 0rnrn另外一张表B, 表中的字段为”Item Name”, ”Item Type”rnrnItem Name Item TypernItem1 食品rnItem2 食品rnItem3 药品rnItem4 食品rnItem5 药品rnItem6 补品rnrn如何实现这样一个要求?即如何得到如下数据:rnrn食品总共: 2+5+10=14rn食品不合格总共: 1+3+4=8rn食品不合格率:8/14=57%rn药品,..补品的计算一样rn
帮忙解决一下。
string ls_copymrnstring ls_2rnstring ls_3rnlong irndatastore lds_1rnlds_1 = create datastorernlds_1.dataobject = "[color=#008000]d_g_sn[/color]"rnlds_1.insertrow(0)rnls_copym = upper(trim(gf_getfirstletter(gs_coname)))rnif len(ls_copym) > 6 and ((mid(ls_copym,1,3) = "HEB") or (mid(ls_copym,1,3) = "HLJ")) thenrn ls_copym = mid(ls_copym,4,6)rnend ifrnls_copym = left(ls_copym + ls_copym + ls_copym + ls_copym,8)rnfor i = len(ls_copym) to 1 step -1rn ls_3 = ls_3 + string(asc(mid(ls_copym,i,1)) - 27)rnnextrnlds_1.setitem(1,"coname",mid(ls_3,1,16))rnlds_1.setitem(1,"mac",as_mac)rnfor i = 1 to 6rn if i < 6 thenrn lds_1.setitem(1,i + 1,long(mid(as_mac,1,pos(as_mac,",") - 1)))rn elsern lds_1.setitem(1,i + 1,long(as_mac))rn end ifrnrn as_mac = mid(as_mac,pos(as_mac,",") + 1,50)rnnextrnfor i = len(as_disk) to 1 step -1rn ls_2 = ls_2 + string(asc(mid(as_disk,i,1)) - 22)rnnextrnlds_1.setitem(1,"disk1",mid(ls_2,1,16))rnreturn lds_1.getitemstring(1,"sn")rn[color=#008000]d_g_sn[/color]里重要的内容如下:rn普通列有:rnmac-mac6 disk1 disk2rn计算列:rnmac_id=mid(string(mac6*2+12)+string(mac4*2+13)+string(mac2*2+7)+string(mac5*4+5)+string(mac3*3+3)+string(mac1*2+21)+string(mac4*3+18)+string(mac2*2+3),1,16)rnsn_id=mid(string(double(disk1)*7+double(coname)*2+double(mac_id)*3,'0'),1,16)rnsn=mid(sn_id,1,4)+'-'+mid(sn_id,5,4)+'-'+mid(sn_id,9,4)+'-'+mid(sn_id,13,4)rn机器中得到的(网卡MAC:00-25-64-F4-B8-79;公司名称:HLJYHDTYYYXGS;硬盘序列号:-WCAV2F422784WD)rn软件序列号:5280-7007-6803-2066rn兄弟是新手,算了好几次,也没算出这个软件序列号,求哪儿位大哥给出算法,不胜感激。rnrnrnrnrnrn
!!!!请高手帮忙解决!!!!!
各位高手,我遇到一调用dll的问题,我用vc++编写.dll,然后用pb进行调用但是总出现类型不匹配的问题,我在vc里面定义的数组是char型的,pb里面也是char型的,但是一编译便会出现下面的错误提示:specified argument type differs from required argument type at runtime in DLL function fndesDll(fndesDll是用vc生成的动态库)(invalid stack pointer on return from function call)at line 3 in clicked event of object cb_1 of w_run.请<em>帮忙</em>看一下吧,我做了很长时间也没有<em>解决</em>,是不是pb中的char与vc中的不一样?该怎么<em>解决</em>!!我用int型可以调用的,请指点迷津!!!
请大家帮忙解决
开机自动进入选择进入安全模式、带网络的安全模式。。。。。正常启动windows那个界面,键盘不能选择进入哪个模式,倒计时30秒后自动进入windows,然后没到十秒钟,还没有进入系统的时候,就黑屏了。rn每次都是这样rn请问这是为什么?如何<em>解决</em>?rn谢谢
请大家帮忙解决~~~~
是这样子的:我做了一个分类查询,并且分页显示。第一次操作:按某一条件查询,分页显示所有符合条件的记录,并且上一页、下一页都能正常显示。问题出在下面:第二次操作,我按另一条件查询,记录集能正确的返回到所有符合当前条件的记录,第一页也能正常显示,但当我按“下一页”时,会转到第一次操作时的第二页,而且往下显示的都是第一次的记录集。不知是什么原因?请大家<em>帮忙</em>~~~
问题,请帮忙解决
我是新手,现在有一个问题,请问如何实现:rn我现在有SQL2000服务器,上面有run、his、msdb等几个库rnrn现在要建一个用户CS,此用户拥有权限如下:rnrun和his:只能读 其他的都不能做rnmsdb库:读、且可以用into table建表,请问如何设置权限
请高手帮忙解决
我有一个c#.net的源程序,能够打开、运行。但是,如果打开.aspx文件时,只能看到其中的html代码,如果转到设计模式(查看界面),出现错误如下:rn《 未能在“设计”视图中打开。用引号将“〈% %〉”块括起来,rn该块用做属性值或用在〈select〉元素中。》。rnrn不知道什么原因,很急阿,在学习中,请高手解答。rnrn
请大家帮忙解决
我在SQL-Server2000中作数据得导出,存为文本格式,完全成功,但是当我把信息导入,我运行,却不能够显示,虽然没有显示,但是已经存储在了数据库中(已经证明),请问为什么?如何<em>解决</em>?
帮忙解决一下.
1)MASKEDIT中的(>L!99999;1;_)是什么意思?rnrn
银行家算法c语言编写下载
纯C语言编写,操作系统中的一种算法,自己编写的,好不好看看就知道了 相关下载链接:[url=//download.csdn.net/download/jwx0819/2175635?utm_source=bbsseo]//download.csdn.net/download/jwx0819/2175635?utm_source=bbsseo[/url]
CAD批量加载打印插件下载
CAD批量加载打印插件 增加效率,操作简便 相关下载链接:[url=//download.csdn.net/download/qtw132506/5095924?utm_source=bbsseo]//download.csdn.net/download/qtw132506/5095924?utm_source=bbsseo[/url]
百度视频搜索下载
百度视频搜索 相关下载链接:[url=//download.csdn.net/download/cysm01/5151183?utm_source=bbsseo]//download.csdn.net/download/cysm01/5151183?utm_source=bbsseo[/url]
相关热词 c# gdi 占用内存 c#中遍历字典 c#控制台模拟dos c# 斜率 最小二乘法 c#进程延迟 c# mysql完整项目 c# grid 总行数 c# web浏览器插件 c# xml 生成xsd c# 操作sql视图
我们是很有底线的