求高手解答,实在是不知道怎么做只能让高手给点思路了。

图片说明

页面:getRtspToIDC.jsp
功能:基于广信开发的项目,主动鉴权
用法:通过iframe标签引入此页面 ,父页面执行回调函数

说明:
1、 地址:http://125.88.70.16:8082/EPG/jsp/defaulthdcctv/gx2/page/toidc/getRtspToIDC.jsp
2、 第一点中的地址是16服务器上的测试地址,如要项目上线,需将更换为现网地址

样例:
1、 http://125.88.70.16:8082/EPG/jsp/defaulthdcctv/gx2/page/toidc/getRtspToIDC.jsp?foreignId=4244&contentType=4243&callback=getRtspURL
2、 回调函数:
function getRtspURL (rtsp){
//函数体…
}

0

2个回答

目的是能获取到rtsp地址。

0

会返回一个json格式的数据

0
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
高手给点思路
VC从ftp服务器上下载文件问题,VC怎么实现显示ftp服务器上指定路径下的所有文件呢,望高手指点指点!rn之前在网上看到的例子都是,静态路径给定一个文件然后实现下载到本地。。。怎么动态由自己选择一个文件然后下载到本地上
请高手给点思路?
给出一列数据,把它们分成两组,rn且一组中各数据的和与另一数组rn中数据的和的差最小,怎么划分这例数据?
高手给点思路~分类管理
现在写一个文档下载这么一个系统,但是分类那块遇到问题,一点思路也没有,请问有没有人做过或有实例,请告诉我,e-mail:jlstgy14@126.com
高手给点思路,谢谢
问题描述:rn“用VC做一个软路由在WIN98下用两个网卡连接不同的网段。”rnrn请问:rn1.关于双IP:比如说现在装上了双IP,现在我们开始浏览网页.IE给网站对方发IP包,这IP包该包括源IP吧,那IE在形成IP包的时候,这个源IP字段它用哪个IP填充?还是可以用户设置?rn或者是两个中要有一个是缺省IP?rnrn2.关于软路由:假设它已经做好了.那它应该是个什么样子呢?rn..它用不用透过协议栈直接截获最底层的IP包,然后再发给另一块网卡?rn..它应该工作在什么层?rn..EXE能完成这个功能么?还是要VxD?rnrn3.我有个新想法,但不知道98支持不?就是作一个EXE,用一个特殊端口的套接字,可以收到所有端口的数据.98里有没有一个这样的端口?若有,这种想法可行么?rnrn谢谢大家. rn
高手们给点思路
我想在窗口打开word(可以在word编辑,也可以在ole控件内部编辑),然后保存到数据库rn中的image项,然后可以打开这个blob项,(主要不知道用什么显示这一项)谁能告诉我怎么做?谢谢啦
高手请进!!给点思路!!
有一objectrn 通过 objectname.value可以读出它的值 rn 通过 objectname.value="you write something "可以给它的赋值rn (以上在javascript中)rnrn(以下在ASP中)rn怎样将数据库中的某一值读出后赋给它rn>不行 rnrnrn<%=rs("22") %>也不行 rn
高手请进,给点思路
我要做一个模拟数据库管理系统,要求能实现基本的插入数据,查询,删除等,rn请问如何做一个可视化的命令输入窗口,就像dos 下的?,如果有做过的,请给点思路
实在是看不懂,需高手解答
6、A real polynomial P(x) of degreen or less is given byrnP(x) = a0 a1x a2x平方.. anxn次方 rnWith coefficients a0,a1,a2,...,an representing real numbers.rnYou are part of a design team and your task is to define a class to represent P(x) and to evaluate the value of the polynomial P(x) at x.rnrna) Providing that the value of n is always less than 100, what is the most suitable data structure to store coefficients a0,a1,a2,...,an ? Define this data structure and name it a.rnb) Define the class ‘Polynomial’ that contains the following three data items(private data):rn• a Answer to part a.rn• n Polynomial degree.rn• xrnThe class ‘Polynomial’ also contains three member functions:rn• setn sets the value of n ( passed as a parameter) and returns nothing.rn• SetCoefficients sets a0,a1,a2,...,an by asking the user to enter them. This function has no parameter and returns nothing;rn• Evaluate evaluates the value of polynomial p at x (passed as a parameter) and returns the result as an integer value.rnNote that you just need to write the definition of the class. Do not write body of the functions in this part.rnc) Give the implementation of the function ‘Evaluate’.rnAssume that the function ‘setCoefficient’ is always called before calling the function ‘Evaluate’ so you are sure that a0,a1,a2,...,an were set before the function ‘Evaluate’ and you can use them in your function.rn
实在是不知道怎么回事 了。。求救高手
在打开的时候老是出现错误窗口弹出来 实在是没办法了。。rn附上程序rn[url=http://ishare.iask.sina.com.cn/f/11176257.html]PMC.zip[/url]rn
求高手给点思路——信号量问题
题目:rn假设你开了家租船公司,你公司有10艘游艇可以提供给客户。请编写程序来模拟船公司和客户。如果有大于10个客户同时想向船公司租船,那么必须等待。rnrn我的思路:rn先fork然后子进程作为客户端程序(客户),父进程作为服务器程序(租船公司),但是具体不懂怎么写~请高手指点下~rnrn[code=C/C++]rn#include rn#include rn#include rn#include rn#include rnrnint semid; //全局变量rnunion semun rn int val; /* Value for SETVAL */rn struct semid_ds *buf; /* Buffer for IPC_STAT, IPC_SET */rn unsigned short *array; /* Array for GETALL, SETALL */rn struct seminfo *__buf; /* Buffer for IPC_INFOrn (Linux specific) */rn;rnrnint sem_p(void);rnint sem_v(void);rnint sem_init(void);rnvoid sem_del(void);rnrnint main(int argc, char *argv[])rnrn pid_t pid;rn pid = fork();rnrn if (pid == -1)rn rn perror("fork");rn exit(-1);rn rn else if (pid == 0) //child processrn rnrn rn else //parent processrn rn rn return 0;rnrnrnint sem_init(void) //信号量初始化rnrn union semun sem;rn sem.val = 10;rnrn if (semctl(semid, 0, SETVAL, sem) == -1)rn rn perror("semctl");rn exit(-1);rn rn return 0;rnrnrnint sem_p(void) //P操作rnrn num--;rn struct sembuf sem;rn sem.sem_num = 0;rn sem.sem_op = -1;rn sem.sem_flg = SEM_UNDO;rnrn if (semop(semid, &sem, 1) == -1)rn rn perror("semop p");rn exit(-1);rn rn printf("还有%d个\n",num);rn fflush(stdout);rn return 0;rnrnrnint sem_v(void) //V操作rnrn num++;rn struct sembuf sem;rn sem.sem_num = 0;rn sem.sem_op = +1;rn sem.sem_flg = SEM_UNDO;rnrn if (semop(semid, &sem, 1) == -1)rn rn perror("semop v");rn exit(-1);rn rn return 0;rnrnrnvoid sem_del(void) //删除信号rnrn union semun semval;rn if (semctl(semid, 0, IPC_RMID, semval) == -1)rn rn perror("semdel");rn exit(-1);rn rnrnrn[/code]
求java swing 高手给点思路
http://zhidao.baidu.com/question/351697095.htmlrnrn问题描述在这个网址上,csdn不知道要怎么发图,所以就把这个网址粘过来了,求高手给点思路啊。rn如果方便,可以加我QQ:87574619rn谢谢了
求高手帮忙,给点思路,真的没有办法了!
系统:http://www.e-gain.net/temp/peak 帐号:rollce1983@126.com 密码:123456 rnrn系统功能描述:用户根据帐号和密码进入系统,然后开始下定单,定好了以后,就发送邮件到自己的电子邮件中.当然系统在创建过程中,所有的数据都是动的,全部数据是后台生成的!rnrn现在遇到的问题:rn1用户在下定单的时候,开始的时候数据为零,然后用户选择产品以后,就进入购物篮中,但是现在是用户购买物品后,那些为购买数量为零的产品也进入了购物篮中,现在客户想要的是那些为零的数据不要出现在购物篮中.rn2就是在前台的时候,如果如果该产品对应的尺码为Singer的时候,就显示出颜色的选择,具体的效果要和尺码的效果一样,我这个真的不知道怎么做,请高手指教!在线等!rnrn代码如下:rn产品显示的代码:rn[code=HTML]rnrn rn rn rn rn rnrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn <%rn if Cint(Session("Purview11"))=4 Thenrn Response.Redirect("error.asp?emg=Please Comfirm Your Power!")rn End Ifrn If Session("Purview11")<>"" thenrn Set RS=Server.CreateObject("Adodb.Recordset")rn SQL="select * from [B] Where [B4]="&Cint(Session("Purview11"))&""rn RS.Open SQL,Conn,1,3rn Rs.pagesize=12rn If Not (RS.Eof And RS.Bof) thenrn ID=RS("ID")rn End Ifrn RS.Closern 'if ID="" Thenrn 'SQL="Select * From [D] Order by [D17] Desc"rn 'Elsern SQL="Select * From [D] Where [BID] = "&ID&" Order by [D17] Desc"rn 'End Ifrn i=1rn RS.Open SQL,Conn,1,3rn If RS.Eof OR RS.Bof Thenrn Response.Redirect("error.asp?emg=Add wait products, please wait patiently!")rn End Ifrn %>rn rn rn rn rn rn rn <%rn for m=1 to RS.pagesizern if not RS.eof thenrn C1=RS("D1")rn %>rn rn rn rn rn " />rn rn <%=RS("D1")%>" alt="" />rn rn rn <%rn Set RS1=Server.CreateObject("Adodb.Recordset")rn 'SQL="Select * From [C] Where [ID] = "&RS("CID")&""rn 'RS1.Open SQL,Conn,1,3rn 'If not (RS1.EOF AND RS1.BOF) Thenrn 'C1=RS1("C1")rn 'End Ifrn 'RS1.Closern SQL="Select * From [G] Where [G1] = '"&C1&"'"rn 'Response.Write(SQL)rn RS1.Open SQL,Conn,1,3rn if RS1.Eof thenrn a=""rn end ifrn Do while not RS1.eofrn GID=RS1("ID")rn Set RS2=Server.CreateObject("Adodb.Recordset")rn SQL="Select * from [Q] Where [GID]="&GID&""rn RS2.Open SQL,Conn,1,3rn do while not RS2.Eofrn %>rn <%=RS2("Q1")%>rn <%=RS("ID")%>" type="text" id="acount<%=RS2("Q1")%><%=RS("ID")%>" value="0" size="5" /> rn <%rn RS2.movenextrn Looprn RS2.Closern RS1.movenextrn Looprn RS1.Closern %>rn rn rn rn <%rn if m mod 1=0 then response.write "" rn RS.movenextrn 'response.write("")rn end ifrn nextrn %>rn rn rn rn rn rn rn rn rn rn rn rn <%rn End Ifrn %>rn rn rn rn rn rn rn rnrn rn rn rn rnrnrnrnrn[/code]rn求高手帮忙啊
该怎么做给点思路
[img=file://C:\Documents and Settings\Administrator\桌面\未命名.jpg][/img]
高手进来看看,给点思路
已知 邮编1: String str1="343200-343299";rn 邮编2: String str2="343200-343219,343240";rn 求出 邮编1-邮编2 = 后剩下来的邮编,(结果应该是:343220-343239,343241-343299)rn 高手写下实现过程,效率要高点,为有的邮编范围挺大的,jdk1.4版本的,
50分~~~~高手给点思路吧~~~~~
我想控制本机的端口~~~~比如3054端口~~~~rnrn当有通过此端口发送和接受数据的时候~~~rnrn我可以控制此端口~是否允许传输数据~~rnrn请高手给点思路~~~rnrn技术越简单越好~~~~rnrn来者有分~~~~~
求高手解答一个查询的逻辑思路
今天在网上下了一个SQL查询练习题,其中有这样一个查询。 表OrderItem(顾客号,商品号,数量。日期) 要求如下:rn/* 检索这样的顾客号,他们至少订购了顾客号为“0002”所订购的所有商品 (除法)*/rnrn给出的答案是:[code=SQL]select distinct 顾客号 from OrderItem X where not exists rn(select * from OrderItem Y where 顾客号='0002' and not existsrn(select * from OrderItem Z where Z.顾客号=X.顾客号 and Z.商品号=Y.商品号))rn[/code]rnrnrn在这里请教下各位高手,这个答案的逻辑是怎么样的。不甚感激啊!
java web 高手给点思路??
系统ssh集成:rn 现在有个问题 数据库数据量比较多,在某一个时间段并发访问量很高,操作是读入数据到一个txt文件,执行update和insert 很多时候在读数据的时候就中断,高手给点解决该问题详细思路?rn
【求助】请高手给点思路
编写一个程序,输出诗歌“Ninety-nine bottles of beer on the wall”的全部99个诗节。程序应该用英文而不是数字输出瓶子的个数: rnNinety-nine bottles of beer on the wall, rnNinety-nine bottles of beer, rnTake one down,pass it around, rnNinety-eight bottles of beer on the wall, rn.......... rnOne bottle of beer on the wall, rnone bottle of beer, rnTake one down,pass it around, rnZero bottle of beer on the wall. rn不要在程序中使用99种不同的输出语句rn谢谢
请高手们给点思路
rn 1 问题我有一个工程组现在我要在一个工程组中的一个工程中使用另一个工程中的模块,界面,控件。注意不是activex工程,只是标准的exe工程,有没有办法。rnrn 2如何在一个执行的EXE文件界面中注册控件,并在EXE中记录,下次在调用此EXE能的自动加入。还有怎样做到这样的功能(我在界面上用代码创建了一个控件注意只有操作时才会创建如点某一按钮时等。我怎样才能在EXE文件打开的界面中保存它的位置,类型,大小;下次使用EXE时它将存在。就有点像windows在桌面创建了快捷图标,下一次启动WINDOWS时快捷图标就显示在哪儿)能给思路就行 并不局限于vb
不知道有什么问题,求个位高手解答
#include rn#include rnusing namespace std;rnrntemplate rnint indexOfKey(T list[], int low, int high, T key);rnrntemplaternint indexOfKey(T list[], T key, int size);rnrnint main()rnrn int list1[10] = 0, 1, 2, 3, 4, 5, 6, 7, 8, 9;rn int index1 = indexOfKey(list1, 2, 10);rn cout << "The index of the key is " << index1 << endl;rnrn double list2[10] = 1.2, 2.5, 3.1, 4, 5, 6, 7, 8.1, 9.5;rn int index2 = indexOfKey(list2, 8.1, 10);rn cout << "The index of the key is " << index2 << endl;rnrn string list3[4] = "BeiJing", "ShangHai", "HuNan", "ChenZhou";rn int index3 = indexOfKey(list3, "BeiJing", 4);rn cout << "The index of the key is " << index3 << endl;rnrn return 0;rnrnrnrntemplate rnint indexOfKey(T list[], int low, int high, T key)rnrn int low = 0;rn int high = size - 1;rnrn if (low > high)rn return -1 - low;rn elsern rn int mid = (low + high) / 2;rn if (key > list[mid])rn return indexOfKey(list, mid + 1, high, key);rn elsern return indexOfKey(list, low, mid + 1, key);rn rnrnrntemplate rnint indexOfKey(T list[], T key, int size)rnrn int low = 0;rn int high = size - 1;rn return indexOfKey(list, low, mid + 1, key);rn
求高手给点指示
同志们:rn 谁可以帮我一个忙,在一组数据中,比如:rn rn #OPERATIONSTART# rnGlass Judgement,SrnGlass Fail reason,MU2FSrnPre Layer Fail panel counts,2rnFail panel counts,1rnRework panel counts,3rnTotal Fail panel counts,3rnGood panel counts,9rnMura map Name,1P400101230020050817134412rn#OPERATIONEND#rn,rn#PANELDATASTART# rnSerial No,Panel ID,Pre Layer Panel judgement,Pre Layer Panel Fail Reason,Panel Judgement,Panel Fail reason,Mura 1,Mura 2,Mura 3rn1,1P 40000101A,G,,G,,,,rn2,1P 40000101B,N,DO3CA,N,MU2CA,,rn3,1P 40000101C,G,,G,MU1ER,,rn4,1P 40000101D,G,,N,CH3Sc,Mu3CA,CH3Sc,rn5,1P 40000101E,G,,R,MU3PP,Mu3CA,MU3PP,MU3CSrn#PANELDATAEND#rnrn 编写一个小程序,怎么样能把他们的值和名称抓取出来,并让它们相等?
我怎么做报表啊?哪位高手给点思路我?
现在我的毕业设计是vb+accessrn数据库都建好了,也连好了rn我要把已输入数据变成表格形式,打印出来rn同学告诉我要做个报表rn这个怎么做啊?rn还有打印的程序怎么编写?
求高手指点思路
[img=http://hi.csdn.net/attachment/201106/23/1950766_1308794125O593.jpg][/img]rn我这有如上两个表,我想找出下表中district中的一个或多个区域被包含在上表中的district的下表记录,该怎么查?rn注:上表中的区域个数为1到10个,下表中的区域个数为1到3个。rn现在知道上表中一条记录的ID,求下表符合条件的记录。rn请大侠给出思路,当然最好有简单代码。可以是sql,也可C#或Linq。谢谢诶rn
高手来,求思路
公司的网站以前的商家页面是点击进入以后直接显示商家的信息,现在需要添加模板的功能,商家的数据是直接读数据库得到的。如果在每个模板上都加上程序代码,然后判断是使用哪个模板再链接过去,感觉优点笨。求一个好的解决办法,最好全面点。。。。。
求思路,来个高手!
小弟想编写一个程序,可以对电脑里面安装的软件进行禁用和启用。rnrn目前没一点思路,不知道那位高手可以帮小弟解决这个问题。rnrn感激不尽!
思路不对,求高手
原题:rnrn在马克思手稿中有一道趣味的数学问题:一共有30个人,可能包括男人,女人和小孩。他们在一家饭馆吃饭共花了50先令,其中每个男人花了3先令,每个女人花2先令,每个小孩花1先令。请问:女人和男人,小孩分别是几个人,请编写一个程序来计算。rnrn[b]利用for循环实现[/b]rnrn提示:rnrn定义三个变量men , women 和 kids 分别表示男人数,女人数和小孩数,可以得到如下两个关系:rnrnmen+ women+kids = 30 ; 3*men+2*women+kids=50rnrn男人数i的范围是0<=men<=10,利用for循环实现.rnrn========================================================rnrn我的思路:rnrn让men,women进入循环,将kids直接嵌入表达式,使其的值为:总人数-(men+women),在分数的循环上,因kids不用乘以任何数,因此也符合其不用进入循环。rnrn【这个思路是错的,因为写出来的代码根本不对】rnrn我的代码:rnrn[code=Java]/*rn * 错误。。。待纠正rn */rnpublic class P142_4rn public static void main (String[]args)rn int men =0 ;rn int women=0;rn int kids=0;rn int a = women+kids;rn for ( int i = 1 ;i <=10 ;i++,men++,kids++ )rn for ( women = 1; women <=30-(men+kids);women++)rn int money = men*3 + women*2 +kids ;rn System.out.println("****************");rn System.out.println("男人有:"+men);rn System.out.println("女人有:"+women);rn System.out.println("小孩有:"+kids);rn System.out.println("****************");rn System.out.println("分数是:"+money);rn int people = men + a ;rn System.out.println("****************");rn System.out.println("人数是:"+people);rn if ( people == 30 && money==50 )rn System.out.println("男人有:"+men);rn System.out.println("女人有:"+women);rn System.out.println("小孩有:"+kids);rn break;rn rn rn System.out.println("程序结束!");rn rn[/code]rnrn求高手给思路,顺带给代码。。。谢谢了。
求高手解决思路
我现在刚接触这一行, 公司比较小 要我做优化这方面, rn我们现在做的是一个办公OA 用户登陆后 会显示他的待阅文件等一些信息(新的页面中) 求高手解决如何优化他, 因为每次都要读数据库会很慢 除了用freemarker 还有其他的办法吗? 在线求解
求高手解答,大家帮忙看看这个题目可以用javascript解答吗?给点思路
DescriptionrnIt is often helpful for computer users to see a visual representation of the file structure on their computers. The "explorer" in Microsoft Windows is an example of such a system. Before the days of graphical user interfaces, however, such visual representations were not possible. The best that could be done was to show a static "map"of directories and files, using indentation as a guide to directory contents. For example: rnROOTrnrn| DIR1rnrn| File1rnrn| File2rnrn| File3rnrn| DIR2rnrn| DIR3rnrn| File1rnrnFile1rnrnFile2rnrnrnThis shows that the root directory contains two files and three subdirectories. The first subdirectory contains 3 files, the second is empty and the third contains one file.rnInputrnWrite a program that reads a series of data sets representing a computer file structure. A data set ends with a line containing a single *, and the end of valid data is denoted by a line containing a single #. The data set contains a series of file and directory names. (The root directory is assumed to be the starting point.) The end of a directory is denoted by a ']' Directory names begin with a lower case 'd' and file names begin with a lower case 'f' File names may or may not have an extension (such as fmyfile.dat or fmyfile). File and directory names may not contain spaces. rnOutputrnNote that the contents of any directory should list any subdirectories first, followed by files, if any. All files should be in alphabetical order within each directory. Note that each data set output is marked by the label "DATA SET x:" where x denotes the number of the set, beginning at 1. Note also the blank line between the output data sets. Each level of indentation should show a '|' followed by 5 spaces. rnSample Inputrnfile1rnfile2rndir3rndir2rnfile1rnfile2rn]rn]rnfile4rndir1rn]rnfile3rn*rnfile2rnfile1rn*rn#rnSample OutputrnDATA SET 1:rnROOTrn| dir3rn| | dir2rn| | file1rn| | file2rn| dir1rnfile1rnfile2rnfile3rnfile4rnrnDATA SET 2:rnROOTrnfile1rnfile2rn
求JAVA高手解答?
各位大哥,小弟刚学JAVA谁能给我讲讲这些题,越详细越好!rn1、写出输出rnpublic class Jtestrnint m=1;rnint i=3;rnvoid Jtest()rnm=2;rni=4;rnrnpublic static void main(String[] args)rnJtest app=new Jtest();rnSystem.out.println(app.m+","+app.i);rnrnrn1,3rnrnrn2、写出输出rnpublic class Jtestrnint m=1;rnint i=3;rnJtest()rnm=2;rni=4;rnrnpublic static void main(String[] args)rnJtest app=new Jtest();rnSystem.out.println(app.m+","+app.i);rnrnrn2,4rnrnrn传实参:rn3、public class Test rn public static void main(String[] args) rnint a=99;rnrnoper(a);rnSystem.out.print(a);rnrn static void oper(int b)rn rn b=b+100;rn rnrn99rnrnrn4、写出输出rnpublic class Test rn public static void main(String[] args) rnString a=new String("A");rnString b=new String("B");rnoper(a,b);rnSystem.out.print(a+","+b);rnrn static void oper(String c,String d)rn c.concat("B");rn d=c;rn rnrnA,Brnrnrn5、写出输出rnpublic class Test rn public static void main(String[] args) rnStringBuffer a=new StringBuffer ("A");rnStringBuffer b=new StringBuffer ("B");rnoper(a,b);rnSystem.out.print(a+","+b);rnrn static void oper(StringBuffer c,StringBuffer d)rn c.append("B");rn d=c;rn rnrnAB,Brnrn
求高手解答
运行Ajax网站时报下面的错误是什么原因呢?该如何解决?rn找不到方法:“Void System.Web.UI.ScriptManager.RegisterStartupScript(System.Web.UI.Page, System.Type, System.String, System.String, Boolean)”。
急求高手解答
buffer[0] ^= buffer[1];rnbuffer[2] ^= buffer[3];rn rnbuffer[0] ^= buffer[2];rnbuffer[0] ^= ( buffer[0] >> 16 );rnbuffer[0] ^= ( buffer[0] >> 8);rnbuffer里储存的是一个128位的二进制数,请问如何将以上程序用公式表达出来呢?请高手不吝赐教!rn 我试着这样表达rn buffer1=buffer ( buffer*2(-64次方) ) rn buffer2=buffer1 ( buffer1*2(-32次方) ) rn buffer3=buffer2 ( buffer2*2(-16次方) ) rn buffer4=buffer3 ( buffer3*2(-8 次方)) rn但是,这样,2(-64次方)数太小,无法表示,请问有什么办法表示出来呢?
求高手解答!!
老师出了这么个题n=a!+b!+c! n为三位数,a,b,c,分别为百位十位个位,要求用自定义函数求阶乘rnrn我是个菜鸟,希望有老手帮我解决一下这个代码为什么不行!rn#include rnusing namespace std;rnlong fac(int n);rnint main()rnrn int n,a,b,c;rn for(n=100;n<1000;++n)rn rn a=n/100; //三位数的百位rn b=n%10/10;//三位数的十位rn c=n%10;//三位数的个位rn if (n==fac(a)+fac(b)+fac(c))rn cout<
求高手解答!!!!!!!!!!!!
[code=sql] select rn A.MO_NUMBER,rn (decode(A.GROUP_NAME , 'PACKING', count(*))) PACKING,rn (decode(A.GROUP_NAME, 'MAC INPUT', count(*))) MAC_INPUT,rn (decode(A.GROUP_NAME, 'FT2', count(*))) FT2,rn (decode(A.GROUP_NAME, 'AOI II', count(*))) AOI_II,rn (decode(A.GROUP_NAME, 'MAC COMPARE', count(*))) MAC_COMPARE,rn (decode(A.GROUP_NAME, 'ASY-1', count(*))) ASY_1,rn (decode(A.GROUP_NAME, 'VISUAL INSPECT', count(*))) VISUAL_INSPECTrnfrom rn SFISM4.R_WIP_TRACKING_T a rn where A.MO_NUMBER='005700000405-1'rngroup by A.MO_NUMBER, A.GROUP_NAME[/code]rnrn輸出如下:rn005700000405-1 20 rn005700000405-1 4 rn005700000405-1 1 rn005700000405-1 9 rn005700000405-1 4 rn005700000405-1 rn005700000405-1 2 rn005700000405-1 18
求高手解答错误
rn rn 贵美商城rn rn rn rn rn rn rn rn rn rn 手机充值-IP卡-电话卡rn 网游-点卡-金币-代练rn rn rn 移动rn 联通rn 魔兽rn 跑跑卡丁车rn rn rn rn rn
求高手解答,急~~~~
[code=C#]rnstring countryDHLId = "Area" + countryInfo.DHLArea.ToString();rnrnvar info = from df in db.DHLFreightsrn where df.WeightMax >= weight && df.WeightMin <= weightrn select newrn rn countryDHLIdrn ;rnrndouble dhlFreight = double.Parse(info.First().countryDHLId);rnrnrn[/code]rnrn我想查DHLFreights 的某一个字段 countryDHLId 可能是Area1~~~Area9,可是为什么不能把这个字段的数据查出来呢
求jsp高手解答
小弟使用spring +mybatis+ druid 进行jsp开发 rn刚搭好环境。出现以下错误。麻烦大神指点rnrn[DEBUG] 2014-05-08 15:55:08 :Looking up JNDI object with name [java:comp/env/spring.liveBeansView.mbeanDomain]rn[DEBUG] 2014-05-08 15:55:08 :Converted JNDI name [java:comp/env/spring.liveBeansView.mbeanDomain] not found - trying original name [spring.liveBeansView.mbeanDomain]. javax.naming.NameNotFoundException: Name [spring.liveBeansView.mbeanDomain] is not bound in this Context. Unable to find [spring.liveBeansView.mbeanDomain].rn[DEBUG] 2014-05-08 15:55:08 :Looking up JNDI object with name [spring.liveBeansView.mbeanDomain]rn[DEBUG] 2014-05-08 15:55:08 :JNDI lookup for name [spring.liveBeansView.mbeanDomain] threw NamingException with message: Name [spring.liveBeansView.mbeanDomain] is not bound in this Context. Unable to find [spring.liveBeansView.mbeanDomain].. Returning null.rn[DEBUG] 2014-05-08 15:55:08 :Searching for key 'spring.liveBeansView.mbeanDomain' in [systemProperties]rn[DEBUG] 2014-05-08 15:55:08 :Searching for key 'spring.liveBeansView.mbeanDomain' in [systemEnvironment]rn[DEBUG] 2014-05-08 15:55:08 :Could not find key 'spring.liveBeansView.mbeanDomain' in any property source. Returning [null]rn[DEBUG] 2014-05-08 15:55:08 :Published root WebApplicationContext as ServletContext attribute with name [org.springframework.web.context.WebApplicationContext.ROOT]rn[INFO ] 2014-05-08 15:55:08 :Root WebApplicationContext: initialization completed in 2755 ms
求java高手解答
阅读下列程序,回答问题。rnimport java.awt.*;rnimport java.awt.event.*;rnimport java.applet.*;rnimport javax.swing.*;rnrnpublic class TestChange extends JApplet rn JButton button;rn public void init()rn rn button = new JButton("click here ");rn getContentPane().add(button);rn rnclass ButtonListener implements ActionListener //内部类rn public void actionPerformed(ActionEvent evt)rn JButton b= (JButton)evt.getSource();rn b.setText("you have clicked");rn rn rnrnrn该程序创建包含一个按钮的applet,当点击按钮时将改变按钮的标题。rn为满足要求,对上面代码来说以下哪一个为真?rnA) 监听类需注册到button控件,为此,在JApplet类的init方法中编写以下代码。rn ButtonListener bListener=new ButtonListener();rn button.addActionListener(bListener);rnB) 监听类需注册到button控件,为此,在JApplet类的init方法中编写以下代码rn ButtonListener bListener=new ButtonListener();rn bListener.addActionListener(button);rnC) 不需要改动代码,上述程序将按照要求正常运行得出结果rnD) 按下面给出的,从init方法调用JApplet类的addActionListener方法rn addActionListener(button);rn
问题 求高手解答
不知道为什么 前面不能带 .. 带了页面就显示不了了 我想把index.asp这个放到一个文件夹里
面试题,求高手解答
题目大概是这样的:rnrn一百位以上长整数四则运算,可用链表或数字组或栈实现,用文件的形式完成输入输出,要求用C++实现。rnrn希望达人能帮帮忙,在线等。。今天晚上就得交上了。。急~~
求超级高手解答
原表:rn日期 号码1 号码2 序号 标记 其它字段rn20060101 A1 B1 1 Yrn20060101 C1 D1 3 Nrn20060102 C1 D1 1 Yrn20070101 E1 F1 4 Nrn20070101 E1 F1 3 Nrn20080101 P1 Q1 6 Nrn20080101 P1 Q1 9 Yrnrn要求得到:rn日期 号码1 号码2 序号 标记 其它字段rn20060101 A1 B1 1 Yrn20060102 C1 D1 1 Yrn20070101 E1 F1 4 Nrn20070101 E1 F1 3 Nrn20080101 P1 Q1 9 Yrnrn说明:当号码1+号码2+日期唯一时 选该记录rn 当号码1+号码2相同,日期不同时,选日期大的记录rn 当号码1+号码2相同,日期也相同时:序号若相临,序号相临的记录都要;序号不相临时,选序号大的记录rnrn 刚学习SQL ,没有思路rn请高手帮忙看看rnrn