myEclipse哪里出错了???!!! [问题点数:20分,结帖人youareruge]

Bbs1
本版专家分:0
结帖率 80%
Bbs7
本版专家分:12248
Bbs1
本版专家分:0
Bbs7
本版专家分:12248
Bbs6
本版专家分:6135
读取文件哪里错了
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
到底哪里错了
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'这种格式也不对,请问这究竟是怎么回事?
哪里错了
[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]
到底哪里错了?
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>?
请问哪里错了
在数据库的表中还有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
linux下安装Myeclipse出错了
如题,环境jdk1.5.05版本的。错误提示如下:rn[root@kimkim ldapsoft]# ./EnterpriseWorkbenchInstaller_4.0.2GA_E3.1.binrnPreparing to install...rntail: `-1' option is obsolete; use `-n 1'rnTry `tail --help' for more information.rn./EnterpriseWorkbenchInstaller_4.0.2GA_E3.1.bin: line 327: [: `)' expected, found -zrnWARNING! The amount of /tmp disk space required and/or availablerncould not be determined. The installation will be attempted anyway.rnExtracting the installation resources from the installer archive...rnConfiguring the installer for this system's environment...rnrnLaunching installer...rnrnWarning: -Xmx50331648 not understood. Ignoring.rnWarning: -Xms16777216 not understood. Ignoring.rnUnable to locate the application's 'main' class. The class 'com.zerog.ia.installer.Main' must be public and have a 'public static void main(String[])' method. (LAX)rnGUI-rn顶的有分。。
修改操作 出错了 !~ 哪里错了
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'contryTable_remark='jkkh' where contry_Id=1' at line 1rnrn请问这句话到底是什么意思啊 rnrn我是用 Hibernate + struts 修改但是在Hibernate里不能执行自己写的SQL我就用了 JDBCrn之后就出现了上边这个错误rnString s = "Update contrytable set contry_pronoun=?,contry_name=?,contry_en=?,contry_alphabetic=? contryTable_remark=? where contry_Id="+ ContryId;rn请问这条语句<em>哪里</em>出现错误了哦?rn高手帮帮忙!~
问下下面哪里错了
问下这样用不行吗,应该怎样用?rn const int ia = 3;rn int ib = 0;rn ib = const_cast(ia);rn cout <
我想知道哪里错了
#include "stdafx.h"rn#include rnrnusing namespace std;rnrndouble p(double x,double n);rnrnint main()rnrn double x,n,m;rn cout<<>x,n;rn m=p(x,n);rn cout<<1) return ((2*n-1)*p(x,(n-1))-(n-1)*p(x,n-2))/(double)n;rnrn【是不是递归是出<em>错了</em>】rn
这个程序哪里错了
/* 输入y或n就出现循环出错 */rnrn#include "stdio.h"rn#include "conio.h"rnrnint return1();rnint main()rnrn /* 求解k=N/2 */rn return1();rn /* return 0; */rn getch();rnrnrnint caculate(int x)rn/* 计算函数 */rnrn int k;rn k=x/2;rn printf("k is %d\n",k);rn return 0;rnrnint return1()rn int a,b;rn printf("please input k;\n");rn scanf("%d",&a);rn caculate(a);rn printf("again?(Y/N)\n");rn scanf("%d",&b);rn switch(b)rn rn case 'y':return1();rn case 'n':break;rn default:printf("Unknow charactor!Please input again!\n");rn return return1();rn rn /* 循环函数 */rn return 0;rn
GetWindowText哪里错了啊?
Handle是窗口句柄,不过显示不出标题,不知道<em>哪里</em>有问题啊rn[code=C/C++]rnint Len = GetWindowText(Handle, NULL, NULL);rn TCHAR* Name = new TCHAR[Len + 1];rn GetWindowText(Handle, Name, Len + 1);rn wcout<
这样的语句哪里错了
sql="select * from 外出 where wcdate=date() and wcname='"&rs("name")&"'"rnrn
问下哪里错了呢?
#includern typedef structint b, p;A; rn void f(A c)rn rn int j; c.b+=1; c.p+=2;rn rn void main(void)rn rn int i; rn A a=1,2;rn f(a);rn printf("%d,%d\n",a.b,a.p);rnrn本意是用f(a)让a.b,a.p加1和加2为啥运行结果没加呢?
poython 不知哪里错了
代码及提示如下:rn>>> srn'asdfadsf'rn>>> for i in [None] + range(-1, -len(s), -1):rn... print (s[:i])rn...rnTraceback (most recent call last):rn File "", line 1, in rnTypeError: can only concatenate list (not "range") to listrnrn非常感谢你的帮助。。。
帮忙看下哪里错了
[code=C/C++]rn#include rn#include rn#include rnrn#define TRUE 1rn#define FALSE 0rn#define OK 1rn#define ERROR 0rn#define INFEASIBLE -1rn#define OVERFALOW -2rnrntypedef int ElemType;rnrntypedef struct LNodernrn ElemType data;rn struct LNode *next;rnLNode,*LinkList;rnrnvoid CreateList_L(LinkList L,int n)rnrn /*--逆位序输入n个元素的值,建立带头节点的单链线性表L--*/rn LinkList p;rn int i;rn L->next=NULL;rn for (i=0;idata));rn p->next=L->next;rn L->next=p;rn rn rnrnrnvoid MergeList_L(LinkList La,LinkList Lb,LinkList Lc)rnrn LinkList pa;rn LinkList pb;rn LinkList pc;rn rn pa=La->next;rn pb=Lb->next;rn Lc=pc=La;rn rn while (pa&&pb)rn rn if(pa->datadata)rn rn pc->next=pa;rn pc=pa;rn pa=pa->next;rn rn rn elsern rn pc->next=pb;rn pc=pb;rn pb=pb->next;rn rn rn rn pc->next=pa ? pb:pa;rn rnrnrnvoid ListPrint_L(LinkList L)rnrn /*--打印单链表的所有元素--*/rn rn while(L->next)rn rn printf("%d ",L->next->data);rn L=L->next;rn rn printf("\n");rnrnrnvoid main() rn rn LNode La;rn LNode Lb;rn LNode Lc;rnrn CreateList_L(&La,3);/*--能创建能打印--*/rn ListPrint_L(&La); /*--输入3 2 1,打印1 2 3--*/rnrn CreateList_L(&Lb,3);/*--能创建能输出--*/rn ListPrint_L(&Lb);/*--输入6 5 4,打印4 5 6--*/rnrn MergeList_L(&La,&Lb,&Lc);/*--合并La,Lb成Lc,--*/rn ListPrint_L(&Lc);/*--期望打印出 1 2 3 4 5 6,但出错--*/rn rn[/code]
这段代码哪里错了
这段代码<em>哪里</em>出<em>错了</em>?form1 为表单ID,checkbox 为checkbox 的名字rnrnif form1.checkbox.checked=false and form1.checkbox2 =false and form1.checkbox3 =false and form1.checkbox4 =false thenrnmsgbox("please enter the service")rnend if
求救不知道哪里错了
#includernrnrnrnrnrnstruct clientdatarnrn int num;rn char lastname;rn char firstname;rn float balance;rn;rnrnrnrnrnrnint enterchoice(void);rnvoid textfile(FILE *);rnvoid updaterecord(FILE *);rnvoid newrecord(FILE *);rnvoid deleterecord(FILE *);rnrnrnrnint main()rnrn FILE *ptr;rn int choice;rnrn if((ptr=fopen("credit.dat","r+"))==NULL)rn printf("file can't be opened\n");rn elsern rn while((choice=enterchoice())!=5)rnrn rn switch (choice)rn rn case 1:rn textfile(ptr);rn break;rn case 2:rn updaterecord(ptr);rn break;rn case 3:rn newrecord(ptr);rn break;rn case 4:rn deleterecord(ptr);rn break;rn rn rn rnrn fclose (ptr);rn return 0;rnrnrnrnrnint enterchoice(void)rnrn int menuchoice;rnrnrn printf("\n enter your choice\n");rn printf("1- 储存所有格式化帐号到txt文档中\n");rn printf("2- 更新帐号\n");rn printf("3- 添加帐号\n");rn printf("4- 删除一条记录\n"); rn printf( "5- 结束\n");rn scanf ("%d",&menuchoice);rn return menuchoice;rnrnrnrnvoid textfile(FILE * readptr)rnrn FILE *writeptr;rn struct clientdata client;rn if((writeptr=fopen("accounts.txt","w"))==NULL)rn printf("file can't be opened\n");rn elsern rn rewind(readptr);rn fprintf(writeptr,"%-6s%-16s%-11s\n","acct","last name","first name","balance");rnrn while(!feof(readptr))rn rn fread(&client,sizeof(struct clientdata),1,readptr);rn if(client.num!=0)rn fprintf(writeptr,"%-6d%-16s%-11s%-10.2f%\n",client.num,client.firstname,client.lastname,client.balance);rn rn rnfclose(writeptr);rnrnrnrnrnrnrnvoid updtarecord(FILE *ptr)rnrn int account;rn float tran;rn struct clientdata client;rnrnrn printf("enter account to updata (1-100):");rn scanf("%d",&account);rn fseek(ptr,(account-1)*sizeof(struct clientdata),SEEK_SET);rn fread (&client,sizeof(struct clientdata),1,ptr);rnrn if(client.num==0)rn printf("account # %d has no information\n",account);rn elsern rn printf("%-6d%-16s%-11s%-10.2f%\n\n",client.num,client.firstname,client.lastname,client.balance);rn printf("enter charge (+) or payment(-):");rn scanf("%f",&tran);rn client.balance+=tran;rn printf("%-6d%-16s%-11s%-10.2f%\n\n",client.num,client.firstname,client.lastname,client.balance);rn fseek(ptr,(account-1)*sizeof(struct clientdata),SEEK_SET);rn fwrite(&client,sizeof(struct clientdata),1,ptr);rn rnrnrnrnrnvoid deleterecord(FILE *ptr)rnrn struct clientdata client;rn struct clientdata blankclient=0,' ',' ',0;rnrn int account;rnrnrn printf("enter account number to delete (1-100):");rn scanf("%d",&account);rn fseek(ptr,(account-1)*sizeof(struct clientdata),SEEK_SET);rn fread (&client,sizeof(struct clientdata),1,ptr);rn rnrn if(client.num==0)rn printf("不存在\n");rn elsern rn fseek(ptr,(account-1)*sizeof(struct clientdata),SEEK_SET);rn fwrite(&blankclient,sizeof(struct clientdata),1,ptr);rn rnrnrnrnrnrnrnvoid newrecord(FILE *ptr)rnrn struct clientdata client;rn int account;rn printf("enter new account number (1-100)\n");rn scanf ("%d",&account);rn fseek(ptr,(account-1)*sizeof(struct clientdata),SEEK_SET);rn fread(&client,sizeof(struct clientdata),1,ptr);rnrnrn if(client.num!=0)rn printf("已经包含信息\n");rn elsern rn printf("enter lastname,fristname,balance\n");rn scanf("%s%s%f",client.lastname,client.firstname,&client.balance);rn client.num=account;rn fseek(ptr,(client.num-1)*sizeof(struct clientdata),SEEK_SET);rn fwrite(&client,sizeof(struct clientdata),1,ptr);rn rnrnrn这个程序编译通过 但是组建出错rn结果。。。。。。rnLinking...rna.obj : error LNK2001: unresolved external symbol _updaterecordrnDebug/a.exe : fatal error LNK1120: 1 unresolved externalsrn执行 link.exe 时出错.rnrna.exe - 1 error(s), 0 warning(s)rn
请教这是哪里错了
出现Cannot compile the file'E\lianxi\time\MainFrm.h':no compile tool is rnassociated with the file extensionrn请教这是<em>哪里</em>出<em>错了</em>?
请问是哪里错了
vote_test.htm:rnrn[code=HTML]rnrn 讨个老婆需要多少钱rn rn rn rn rn rnrnrn rn rn 你认为结婚成本比去年增加了多少?rn rn rn rn投票总人数:1344 rnrn没增加,结婚一点压力也没有rnrn         rn2票 (2%) rnrn增加了,已经超出自己的承担rnrnrn         rn2票 (2%) rnrn不清楚rnrnrn         rn2票 (2%) rnrn增加了,但自己还可以承担rnrn         rn2票 (2%) rnrn面对生活成本压力,不想结婚了rnrn         rn2票 (2%) rn rn rn[投票截止时间:2008-12-05 14:19:39]rn rn rnrnrn[/code]rnrnrnvote_test.jsp:rn[code=Java]rnrn< 5; j++)rn if(j == voteid)rn str=str+j+",30%,";rn elsern str=str+j+",10%,";rnrnout.println(str);rn%>[/code]
帮我看看哪里错了??
给定一句英语,要求你编写程序,将句中所有单词的顺序颠倒输出。rnrn输入格式:测试输入包含一个测试用例,在一行内给出总长度不超过80的字符串。字符串由若干单词和若干空格组成,其中单词是由英文字母(大小写有区分)组成的字符串,单词之间用1个空格分开,输入保证句子末尾没有多余的空格。rnrn输出格式:每个测试用例的输出占一行,输出倒序后的句子。rnrn输入样例:rnHello World Here I Comern输出样例:rnCome I Here World Hellornrn这是题目rnrn[code=c]#include rn#include rn#define SIZE 80rnchar *s_gets(char *str,unsigned short n);rnrnint main(void)rn char a[SIZE];rn short i,j,k;rnrn s_gets(a,SIZE);rn i=strlen(a)-1;rn while(i)rn k=i;rn while(a[i]!=' ' && i>=0)rn i--;rn rn for(j=i+1;j)rn continue;rn rnrn return p;rnrn[/code]rnrn[img=https://img-bbs.csdn.net/upload/201804/13/1523590704_864240.png][/img]
这段代码哪里错了???
请高手帮忙把下面代码纠正,能运行就可以了,有些地方实在不行就删掉,谢谢啦!!!rnrnHELLOWIN.Crn/*------------------------------------------------------------------------rn rn HELLOWIN.C -- Displays "Hello, Windows 98!" in client arearn rn (c) Charles Petzold, 1998rn rn-----------------------------------------------------------------------*/rn#include rnLRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM) ; rnint WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,PSTR szCmdLine, int iCmdShow) rn rn static TCHAR szAppName[] = TEXT ("HelloWin") ; rn HWND hwnd; rn MSG msg; rn WNDCLASwndclass; rn wndclass.style = CS_HREDRAW | CS_VREDRAW ; rn wndclass.lpfnWndProc = WndProc ; rn wndclass.cbClsExtra = 0 ; rn wndclass.cbWndExtra = 0 ; rn wndclass.hInstance = hInstance ; rn wndclass.hIcon = LoadIcon (NULL, IDI_APPLICATION) ; rn wndclass.hCursor = LoadCursor (NULL, IDC_ARROW) ; rn wndclass.hbrBackground= (HBRUSH) GetStockObject (WHITE_BRUSH) ; rn wndclass.lpszMenuNam = NULL ; rn wndclass.lpszClassName= szAppName ; rn if (!RegisterClass (&wndclass)) rn rn MessageBox ( NULL, TEXT ("This program requires Windows NT!"),szAppName, MB_ICONERROR) ; rn return 0 ; rn rn hwnd = CreateWindow( szAppName, // window class namern rn TEXT ("The Hello Program"), // window captionrn rn WS_OVERLAPPEDWINDOW, // window stylern rn CW_USEDEFAULT,// initial x positionrn rn CW_USEDEFAULT,// initial y positionrn rn CW_USEDEFAULT,// initial x sizern rn CW_USEDEFAULT,// initial y sizern rn NULL, // parent window handlern rn NULL, // window menu handlern rn hInstance, // program instance handlern rn NULL) ; // creation parameters rn rn ShowWindow (hwnd, iCmdShow) ; rn UpdateWindow (hwnd) ; rn while (GetMessage (&msg, NULL, 0, 0)) rn rn TranslateMessage (&msg) ; rn DispatchMessage (&msg) ;rn rn return msg.wParam ; rnrn rnrnLRESULT CALLBACK WndProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) rnrn rn HDC hdc ; rn PAINTSTRUCT ps ; rn RECT rect ; rn switch (message) rn rn case WM_CREATE: rn PlaySound (TEXT ("hellowin.wav"), NULL, SND_FILENAME | SND_ASYNC) ; rn return 0 ; rn case WM_PAINT: rn hdc = BeginPaint (hwnd, &ps) ;rn GetClientRect (hwnd, &rect) ;rn DrawText (hdc, TEXT ("Hello, Windows 98!"), -1, &rect, DT_SINGLELINE | DT_CENTER | DT_VCENTER) ;rn EndPaint (hwnd, &ps) ; rn return 0 ; rn rn case WM_DESTROY: rn PostQuitMessage (0) ; rn return 0 ; rn rn return DefWindowProc (hwnd, message, wParam, lParam) ; rnrn
下面的代码哪里错了
rn rn rnrnrn rn rn rn hehern rn rnrnrndata.txt是直接在项目的目录下新建的。运行后,点击按钮什么反应也没有。。。
这个php代码哪里错了?
[code=php](' ');[/code]rn我这个php 输出以后,那个"怎么样没有显示rnrnrn$s['title'] 显示了rnrn<em>哪里</em><em>错了</em>吗?
请问哪里错了,谢谢
/**rn * rn */rnpackage com.crawl.zongheng;rnrnimport java.util.HashMap;rnimport com.util.RegexUtil;rnimport com.crawl.CrawlBase;rn/**rn * @author Administratorrn *rn */rn//提取某网站某本书的信息rnpublic class IntroPage extends CrawlBasernprivate String url;rnprivate static HashMap params;rnprivate static final String AUTHOR =" ";rnprivate static final String NAME=" ";rnprivate static final String DESC = " ";rnprivate static final String TYPE =" ";rnprivate static final String LASTCHAPTER ="(.*?) ";rnprivate static final String WORDCOUNT ="";rnprivate static final String KEYWORDS =" (.*?)";rnprivate static final String KEYWORD ="(.*?)";rnprivate static final String CHAPTERLISTURL =" ";rnrnstaticrn params=new HashMap();rn params.put("Referer", "http://book.zongheng.com");rn params.put("User-Agent", "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.104 Safari/537.36 Core/1.53.4033.400 QQBrowser/9.6.12624.400");rn params.put("Host","www.zongheng.com"); rnrnpublic IntroPage(String url)rn readPageByget(url,params,"utf-8");rn this.url=url;rnrn /**rn * @param argsrn */rnprivate String getName()rn return RegexUtil.getFirstString(getPageSourceCode(), NAME, 1);rnrnrnprivate String getAuthor() rn return RegexUtil.getFirstString(getPageSourceCode(), AUTHOR, 1);rnrnrnprivate String getDesc() rn return RegexUtil.getFirstString(getPageSourceCode(), DESC, 1);rnrnrnprivate String getType() rn return RegexUtil.getFirstString(getPageSourceCode(), TYPE, 1);rnrnrnprivate String getLastCharpter() rn return RegexUtil.getFirstString(getPageSourceCode(), LASTCHAPTER, 1);rnrnrnprivate int getWordCount() rn String wordCount = RegexUtil.getFirstString(getPageSourceCode(), WORDCOUNT, 1);rn return Integer.parseInt(wordCount.trim());rnrnrnprivate String getKeyWordStr() rn return RegexUtil.getFirstString(getPageSourceCode(), KEYWORDS, 1);rnrnrnprivate String getKeyWord() rn return RegexUtil.getString(getKeyWordStr(), KEYWORD, " ", 1);rnrnrnprivate String getChapterListUrl() rn return RegexUtil.getFirstString(getPageSourceCode(), CHAPTERLISTURL, 1);rnrn public static void main(String[] args) rn // TODO Auto-generated method stubrn IntroPage introPage = new IntroPage("http://book.zongheng.com/book/712549.html");rn System.out.println(introPage.getName());rn System.out.println(introPage.getAuthor());rn System.out.println(introPage.getDesc());rn System.out.println(introPage.getType());rn System.out.println(introPage.getLastCharpter());rn System.out.println(introPage.getWordCount());rn System.out.println(introPage.getKeyWord());rn System.out.println(introPage.getChapterListUrl());rn rnrn输出结果以及报错是:rn[img=https://img-bbs.csdn.net/upload/201711/13/1510562555_850249.png][/img]rn首先这些字符不知道为什么出现?还有应该有8个结果,可是我这里似乎只显示了5个。以及出现了其他异常。谢谢大神了。
这代码哪里错了
[b]想在启动界面显示checkbox的上一次勾选[/b]rnrnrn[code=vb]Private Sub Check1_Click()rnIf Ceck1.Value = 0 Thenrn Dim success As Longrn success = WritePrivateProfileString("AA", "BB", "0", App.Path & "\Config.ini")rnElsern Dim successa As Longrn successa = WritePrivateProfileString("AA "BB "1", App.Path & "\Config.ini")rnCheck1.Value = 1rnEnd IfrnEnd SubrnrnrnrnPrivate Sub Form_Load()rn Dim ret As Longrn Dim buff As Stringrn buff = String(255, 0)rn ret = GetPrivateProfileString("AA "BB "BB buff, 256, App.Path & "\Config.ini")rn if buff = 1 ThenrnCheck1.Value = TruernEnd IfrnEnd sub[/code]
MineSweeper-ACM不知道哪里错了
[code=C/C++]#includernusing namespace std;rnrnvoid writeSweeper(char **sweeper,unsigned short line,unsigned short row)rn for(unsigned short i=0;i>sweeper[i][j];rn rn rnrnrnvoid setNum(char **sweeper,unsigned short x,unsigned short y)rn if(sweeper[x][y]=='.')rn sweeper[x][y]='1';rn rn else if(sweeper[x][y]=='*')rn return;rn rn elsern unsigned short n=(unsigned short)sweeper[x][y];rn ++n;rn sweeper[x][y]=(char)n;rn rnrnvoid findMine(char **sweeper,unsigned short line,unsigned short row)rn for(int i=0;i=0)rn setNum(sweeper,i-1,j);rnrn if(j-1>=0)rn setNum(sweeper,i-1,j-1);rn rn if(j+1=0)rn setNum(sweeper,i+1,j-1);rn rn if(j+1=0)rn setNum(sweeper,i,j-1);rn rn if(j+1>line>>row)rn if(line==0&&row==0)break; //if line equals to 0 and row equels to 0, input is end;rn if(line>0&&line0&&row<=100)rn time++;rn char **sweeper=new char*[line]; //minesweeper arrary;rn //create minesweeper array;rn for(unsigned short i=0;i
这段程序哪里错了
#include rn#include rnrnrnint main()rnrn int word_num=0;rn char ch;rn printf("请输入英文句子:");rn while (ch!='\r')rn rn scanf("%c",&ch);rn if (ch==' ') rn word_num++;rn rn printf("\n您输入的句子的字数为:%d\n",word_num);rn rn system("pause");rn return 0;rn
帮帮忙,看看哪里错了~!
import java.io.*; //从键盘输入一个整数,求100除以它的商,并显示。rnpublic class Test1 rn public static void main(String[] args)throws Exception rn tryrn byte buf[] = new byte[50];rn System.out.print("input:"); //输入小于100整数rn int count = System.in.read(buf);rn String strBuf = new String(buf,0,count);rn System.out.println(strBuf);rn int n=Integer.parseInt(strBuf);rn System.out.println("n:"+n);rn int m = 100/n;rn System.out.println(m);/**/rn rn catch(Exception e)System.out.print("Error:"+e.getMessage()); rn rn
帮忙看看哪里错了
[code=c]int InitStack(SqStack &S)rn S.base=(int *)malloc(STACK_INIT_SIZE*sizeof(int));rn if (!S.base) return 1;rn S.top = S.base;rn S.stacksize = STACK_INIT_SIZE;rn return 0;rn[/code]rnrngcc编译信息:rnrnhope@hope-Think:~/study/homework$ gcc -o link link.cpprnlink.cpp: 在函数‘int InitStack(SqStack&)’中:rnlink.cpp:49:23: 错误: expected ‘)’ before ‘;’ tokenrnlink.cpp:49:49: 错误: 一元 ‘*’参数类型无效(有‘long unsigned int’)rnlink.cpp:49:50: 错误: expected ‘;’ before ‘)’ tokenrnlink.cpp: 在函数‘int Push(SqStack&, int)’中:rnlink.cpp:58:45: 错误: expected ‘)’ before ‘;’ tokenrnlink.cpp:58:45: 错误: expected ‘)’ before ‘;’ tokenrnlink.cpp:58:59: 错误: expected primary-expression before ‘)’ tokenrnlink.cpp:58:59: 错误: expected ‘;’ before ‘)’ tokenrnrnrn代码就是包含49行的那一部分。这部分之前的代码没有错误(之前经过编译了)。rn错误出在<em>哪里</em>啊?
以下代码哪里错了
/*rn * Tests function scalern */rnrn #include rn rn /* Function prototypes */rn double scale(double x, int n);rn rn int rn main(void)rn rn double num_1;rn int num_2rn rn /* Get values for num_1 and num_2*/rn printf("Enter a real number> ");rn scanf("%1f", &num_1);rn printf("Enter an integer> ");rn scanf("%d", &num_2);rn rn /* Call scale and display result. */rn printf("Result of call to function scale is %f\n",rn scale(num_1, num_2));rn rn return (0);rn rn rn doublern scale(double x, int n)rn rn double scale_factor; /* local variable - 10 to power n*/rn scale_factor = pow(10, n);rn return (x * scale_factor);rn
求解哪里错了 运算符重载
[code=c]#include rn#include rnusing namespace std;rnclass MyTimern private:rn int hours;rn int mins;rn public:rn MyTime();rn MyTime(int h,int m);rn void addMins(int m);rn void addHours(int h);rn void display();rn MyTime operator-(const MyTime& mt)const ;rn MyTime operator+(const MyTime& mt)const ;rn bool operator>=(const MyTime& mt) const;rn bool operator=0)rn hours+=mins/60;rn mins%=60;rn rnelsern hours--;rn hours-=abs(mins)/60;rn mins=abs(mins)%60;rnrn cout=(mt.hours*60+mt.mins);rnrnrnbool MyTime::operator<=(mt.hours*60+mt.mins);rnrnrnbool MyTime::operator!=(const MyTime & mt) constrn return (hours*60+mins)!=(mt.hours*60+mt.mins);rnrn[/code]
求救语句哪里错了
根目录下install文件夹里的a.php 内容:rn[code=php]define('WEB_ROOT',dirname(dirname(__FILE__)).'/');rndefine('WEB_INC',WEB_ROOT.'inc/');rn$insLockfile = WEB_ROOT.'install/lock.txt';rn$configfile = WEB_INC."config.php";rnif(!is_writable("WEB_INC")rn echo "不可写";rnelsern echo "可写";rnrnclearstatcache();[/code]rn运行没反应,请问<em>哪里</em>出<em>错了</em>?谢谢![img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/001/face/83.gif][/img]
看看这个哪里错了
在左键单击时保存位置到pt[]数组中,rn然后在右键单击时,让窗口重绘,rn在wm_paint消息中绘制图形.rnrn窗口过程如下:rn[code=C/C++]LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)rnrn int wmId, wmEvent;rn PAINTSTRUCT ps;rn HDC hdc;rn TCHAR szHello[MAX_LOADSTRING];rn static POINT pt[MAXPOINT];rn static int nCount=0;rn int i,j;rnrnrn switch (message) rn rn case WM_COMMAND:rn wmId = LOWORD(wParam); rn wmEvent = HIWORD(wParam); rn // Parse the menu selections:rn switch (wmId)rn rn case IDM_ABOUT:rn DialogBox(hInst, (LPCTSTR)IDD_ABOUTBOX, hWnd, (DLGPROC)About);rn break;rn case IDM_EXIT:rn DestroyWindow(hWnd);rn break;rn default:rn return DefWindowProc(hWnd, message, wParam, lParam);rn rn break;rn case WM_LBUTTONDOWN:rn pt[nCount].x=LOWORD(lParam);rn pt[nCount].y=LOWORD(lParam);rn SetPixel(hdc,LOWORD(lParam),HIWORD(lParam),RGB(255,0,0));rn nCount++;rn break;rn case WM_RBUTTONDOWN:rn InvalidateRect(hWnd,NULL,TRUE);rn break;rnrnrn case WM_PAINT:rn hdc = BeginPaint(hWnd, &ps);rn // TODO: Add any drawing code here...rn SetCursor(LoadCursor(NULL,IDC_WAIT));rn ShowCursor(TRUE);rn for (i=0;i
请问哪里错了?急
我在oracle 8i上面写了一个触发器rn创建的时候没有错误提示rn但是在使用的时候却有问题了rn请帮忙看看rnrn使用时候的代码如下:rnrnupdate shenpyj set spbj='1' where gwid='1' and spr='10001' and bzid='100';rnrn出错提示如下:rnrnupdate shenpyj set spbj='1' where gwid='1' and spr='10001' and bzid='100'rn *rnERROR 位于第 1 行:rnORA-04091: 表 HUAXIAN.SHENPYJ 发生了变化,触发器/函数不能读rnORA-06512: 在"HUAXIAN.SHENPI", line 26rnORA-04088: 触发器 'HUAXIAN.SHENPI' 执行过程中出错rnrn触发器代码如下:rnrncreate or replace trigger shenpi After rnupdate on shenpyj rnfor each rowrnrndeclarern--声明一个ref游标rntype refcur_t is ref cursor;rnrefcur refcur_t;rnrn--本步骤里面未完成审批的人数rnunfinished_person_count number;rnrn/*当前步骤的并或关系*/rnnow_buz_relation char(1);rnrn/*下一个步骤的ID,当这个步骤是最后一个步骤的时候rn该值与当前步骤的步骤ID一致*/rnnext_buz_id number;rnrn/*下一步骤的人员列表*/rnnext_buz_ids varchar2(1000);rnrn/*下一个步骤的人员数*/rnnext_buz_id_count number;rnrnspr varchar2(30);rnbeginrnrn/*初始化next_buz_id*/rnselect min(bzid) into next_buz_id from shenpyj where gwid=:new.gwid and bzid>=:new.bzid;rnrn--初始化now_buz_relationrnselect bh into now_buz_relation from liucxj where bzid=:new.bzid;rnrnrn--初始化unfinished_person_countrnselect count(*) into unfinished_person_count from shenpyj where gwid=:new.gwid and bzid=:new.bzid and spyj=0;rnrn--初始化next_buz_idsrnopen refcur forrn select spr from shenpyj where gwid=:new.gwid and bzid=next_buz_id order by 1;rnwhile refcur%found loop rn fetch refcur into spr;rn next_buz_ids:=next_buz_ids||','||spr;rnend loop;rnclose refcur;rnrn--当这个步骤只有一个人的时候rnif now_buz_relation='2' thenrn update gongw set yspr=yspr||','||:new.spr where gwid=:new.gwid;rn --如果是最后一个步骤的话rn if next_buz_id=:new.bzid thenrn update gongw set wjbj='2' where gwid=:new.gwid;rn elsern --如果不是最后一个步骤rn update gongw set dspr=next_buz_ids where gwid=:new.gwid;rn end if;rn--如果当前步骤是或关系的话rnelsif now_buz_relation='1' thenrn update gongw set yspr=yspr||','||:new.spr where gwid=:new.gwid;rn --如果是最后一个步骤的话rn if next_buz_id=:new.bzid thenrn update gongw set wjbj='2' where gwid=:new.gwid;rn elsern update gongw set dspr=next_buz_ids where gwid=:new.gwid;rn end if;rn--当前步骤的关系是顺序关系的话 rnelsif now_buz_relation='0' thenrn update gongw set yspr=yspr||','||:new.spr where gwid=:new.gwid;rn --如果本步骤中所有的人都已经处理完的话rn if unfinished_person_count=0 thenrn --如果是最后一个步骤的话rn if next_buz_id=:new.bzid thenrn update gongw set wjbj='2' where gwid=:new.gwid;rn elsern --如果不是最后一个步骤的话rn update gongw set dspr=next_buz_ids where gwid=:new.gwid; rn end if;rn elsern --在待审批人中删除本人rn update gongw set dspr=replace(dspr,:new.spr||',') where gwid=:new.gwid; rn end if; rnend if;rnend;
递归冒泡排序法,出错了,在哪里??
[code=C/C++]rn#include rn void gnum(int *,int );rn void gnum(int *p,int n)rn rn int temp=0;rnrn if(n>0)rn rn if(*(p+n) > *(p+n-1))rn rn temp=*(p+n-1);rn *(p+n-1)=*(p+n);rn *(p+n)=temp;rn rn n--;rn gnum(p,n);rn rnrnrnrnint main(void)rnrn int num[10]=2,9,3,4,1,7,6,8,10,5;rnrn int *ip=num;rn int a=0;rnrnrn for(;a,*(ip+a));rn rnrnreturn(0);rn[/code]rnrnrn当循环gnum(ip,9)时,能够算出最大值保存在num[0]。但是第二次循环gnum(ip+1,8)时,就出<em>错了</em>。为什么??
排序函数哪里错了
[code=c]rn#include "stdio.h"rn#define N 10rnint sc(int zz[],int c);rnint zj(int sc[],int c);rnint px(int px[]);rnint sc(int zz[],int c)rnrn int i,k;rn for(i=0;i=i;k--)rn rn if(px[k]
懵了,到底哪里错了
运行到下面这段子程序时报错,编译器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初学者求助
这个语句哪里错了
sql = "select * from Device where DeviceName="+CString("'") + dlg.m_strDevice + CString("'") + "and ProgID =" + CString("'") + iProgID + CString("'");
uva12412,找不到哪里错了
不执行删除操作都没有问题,一执行删除操作就会导致添加信息模块无法判断是否已有当前输入的学号,不知道是<em>哪里</em>出了问题,有没有大神帮忙看一下,另外这个是UVA12412的题目。rn[code=c]#includern#includern#includernusing namespace std;rn#define maxn 1000rnint n=0;rnint cid,Chinese,Mathematics,English,Programming;rnchar sid[15],name[15],s[15];rnconst char* course_name[] = "Chinese", "Mathematics", "English", "Programming";rnstruct studentrnrn int cid,del;rn int score[5];//Chinese,Mathematics,English,Programming,total按顺序rn double average;rn char name[10],sid[10];rnstu[maxn];rnvoid Print_Menu()rnrn printf("Welcome to Student Performance Management System (SPMS).\n\n");rn printf("1 - Add\n");rn printf("2 - Remove\n");rn printf("3 - Query\n");rn printf("4 - Show ranking\n");rn printf("5 - Show Statistics\n");rn printf("0 - Exit\n\n");rnrnint vaild()//判断是否有相同学号已经存在rnrn for(int i=0;istu[k].score[4])rn rn cnt++;rn rn return cnt+1;rnrnvoid Add()//添加信息rnrn for(;;)rn rn printf("Please enter the SID, CID, name and four scores. Enter 0 to finish.\n");rn scanf("%s",sid);rn if(strcmp(sid,"0")==0) break;rn scanf("%d%s%d%d%d%d",&cid,name,&Chinese,&Mathematics,&English,&Programming);rn if(!vaild())rn printf("Duplicated SID.\n");rn elsern rn strcpy(stu[n].sid,sid);rn stu[n].cid=cid;rn strcpy(stu[n].name,name);rn stu[n].score[0]=Chinese;rn stu[n].score[1]=Mathematics;rn stu[n].score[2]=English;rn stu[n].score[3]=Programming;rn stu[n].score[4]=stu[n].score[0]+stu[n].score[1]+stu[n].score[2]+stu[n].score[3];rn stu[n].average=stu[n].score[4]*1.0/4;rn stu[n].del=0;rn n++;rn rn rnrnvoid Remove()//删除信息rnrn for(;;)rn rn printf("Please enter SID or name. Enter 0 to finish.\n");rn scanf("%s",s);rn if(strcmp(s,"0")==0) break;rn int cnt=0;rn for(int i=0;i=60)rn passed++;rn elsern failed++;rn rn rn printf("%s\n",course_name[i]);rn printf("Average Score: %.2f\n",total*1.0/cnt);rn printf("Number of passed students: %d\n",passed);rn printf("Number of failed students: %d\n\n",failed);rn rn for(i=0;i=60)rn cnt1++;rn rn for(int k=1;k);rn if(choice==5) Statistics();//显示整体信息rn rn return 0;rn[/code]
无法判断 哪里错了
rnrnrn胶内容rnrnrn玻璃内容rnrn rn
IAR for MSP430 V4.11+注册机.part05.rar下载
IAR for MSP430 V4.11+注册机.part05.rar 相关下载链接:[url=//download.csdn.net/download/wjq5588/2612429?utm_source=bbsseo]//download.csdn.net/download/wjq5588/2612429?utm_source=bbsseo[/url]
Visual C# 2008程序设计经典案例设计与实现下载
Visual C# 2008程序设计经典案例设计与实现.里面有很多挺好的案例,大家可以看一下,希望对朋友们有帮助 相关下载链接:[url=//download.csdn.net/download/fengyucaihong11/3641240?utm_source=bbsseo]//download.csdn.net/download/fengyucaihong11/3641240?utm_source=bbsseo[/url]
cad弱电图例下载
cad图例,共享给大家使用 相关下载链接:[url=//download.csdn.net/download/goodcat1/4814008?utm_source=bbsseo]//download.csdn.net/download/goodcat1/4814008?utm_source=bbsseo[/url]
相关热词 c# 去空格去转义符 c#用户登录窗体代码 c# 流 c# linux 可视化 c# mvc 返回图片 c# 像素空间 c# 日期 最后一天 c#字典序排序 c# 截屏取色 c#中的哪些属于托管机制
我们是很有底线的