java光盘刻录 求大神指点 在线等 急需 谢谢大佬们啦求求求 10C

java光盘刻录 求大神指点 在线等 急需 谢谢大佬们啦求求求 要代码

1个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
求大神们指点谢谢
Exam类 考试类rn属性: 若干学生 一张考卷 [img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/001/face/12.gifrn提示:学生采用HashSet存放rnPaper类 考卷类 rn属性:若干试题rn提示:试题采用HashMap存放,key为String,表示题号,value为试题对象rnStudent类 学生类rn属性:姓名 一张答卷 一张考卷 成绩rnQuestion类 试题类rn属性:题号 rn题目描述 若干选项 rn正确答案提示:若干选项用 ArrayListrnAnswerSheet类 答卷类rn属性:每道题的答案 rn提示:答卷中每道题的答案用HashMap存放,rn key为String,表示题号,value为学生的答案问题:rn为Exam类添加一个方法,用来为所有学生判卷,并打印成绩排名(名次、姓名)
求大神们的指点!
[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/onion/9.gif][/img]rn刚毕业不久,之前做毕业作品的时候都是一点一点在网上找的ios控件自定义方法~~rn1.求助(1)--有没有类似于自定义控件说明的书籍呢?只想像大神们一样用代码完成软件的设计与完善~[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/onion/16.gif][/img]~真不想把控件拖来拖去,弄到卡屏~求推荐书籍。rn2.求助(2)--关于开发时,数据库,服务器,前端链接的资料,要从何开始呢?最近面试都会问我,能不能做到3者的链接。。。。rn弄的我一头雾水啊~我目前只想先做好前端的东西,我不是学霸啊~我只是靠前端功能的设计才过的毕业审核啊!所以,大神们 有没有推荐的书籍呢?rnrn还有一个问题~ rn我选择了 IOS 没有选择html5 ,只是感觉html5 虽然比较好入手,但是前景一般般~而且现在对于html5来说,辅助工具太多~没有学过的都可以做一个出来~rn最近对于求职问题,确实难以决定啊~rn
求各位大神指点指点!!!在线等!!!
//打开PDF文件rnrnModifyStyle(0, WS_CLIPCHILDREN);rn // 获取对话框的客户区矩形rn CRect rt;rn GetClientRect(&rt);rn // 利用CWnd::CreateControl创建PDF控件窗口rn // Acrobat (Reader) 5.x/6.x的控件类ID为"PDF.PdfCtrl.5",7.x为"AcroPDF.PDF.1"rn m_wndPDF.CreateControl((IID &)"PDF.PdfCtrl.5", NULL, WS_CHILD | WS_VISIBLE, rt, this, 0);rnrn // 获取IDispatch接口指针rn LPUNKNOWN lpUnknown = m_wndPDF.GetControlUnknown();rn LPDISPATCH lpDispatch;rn lpUnknown->QueryInterface(IID_IDispatch, (void**)&lpDispatch);rnrn // 把获得的接口指针传递给组件驱动对象m_drvPDF,通过它调用控件的属性和方法rn // 当m_drvPDF销毁时,会自动释放接口指针rn m_drvPDF.AttachDispatch(lpDispatch);rnrn // 弹出一个“打开”对话框,选择要显示的PDF文件rn CFileDialog dlg(TRUE);rn if (dlg.DoModal() == IDOK)rn rn // 利用控件的方法LoadFile读取并显示PDF文件rn m_drvPDF.LoadFile(dlg.GetPathName());rn rnrn我想请问,为什么我获取IDispatch接口指针时候,lpUnknown 总是NULL。主要看一下我的获取IDispatch借口指针!!!
求大神指点!谢谢
[img=https://img-bbs.csdn.net/upload/201312/10/1386654407_153499.jpg][/img]我想实现如图中间游戏房间那一块界面。但是还差点什么呢?求大神指点,label button上的图片还没加上去rn程序如下:rnimport javax.swing.JButton;rnimport javax.swing.JFrame;rnimport javax.swing.JLabel;rnrnpublic class ScendGui extends JFrame rn private static int num = 1;rn private int jb_size=40;rn private int jl_size=45;rn private int fgap = 20;//行间隔rn private int fgap2 = 20;//列间隔rn private int rgap = 35;//两房间间隔rn private int mgap =2*jb_size+jl_size+rgap; //两桌子间隔rn private int fjb2gap = fgap+jl_size+jb_size;//jb2的首距离rn private int fjlgap = fgap+jl_size; //jl的首距离rn public ScendGui(String s)rn super(s);rn rn this.setLocation(100, 100);rn this.setSize(600, 600);rn for(int i = 1;i<=5;i++)rn for(int j= 0;j<=2;j++)rn rn JButton jb1= new JButton("椅子");rn jb1.setBounds(fgap+j*mgap, fgap2, jb_size, jb_size);rn JButton jb2= new JButton("椅子"); rn jb2.setBounds(fjb2gap+j*mgap, fgap2, jb_size, jb_size);rn JLabel jl= new JLabel("桌子");rn jl.setBounds(fjlgap+j*mgap, fgap2,jl_size, jl_size);rn String str = Integer.toString(num); rn JLabel label = new JLabel("-"+str+"-");rn num = Integer.parseInt(str);rn label.setBounds(mgap/2+j*mgap, 2*jb_size, 20, 20);rn this.add(jb1);rn this.add(jb2);rn this.add(jl);rn this.add(label);rn rn num++;rn fgap2 = (fgap2+2*jb_size)*i+20;rn rn this.setVisible(true);rn rn rn rn public static void main(String[] args) rn new ScendGui("游戏大厅");rnrn rnrnrn
求大神指点,谢谢!!
#include rnusing namespace std;rnclass Testrnrn int a;rn static int b;rn public:rn Test(int n)rn rn a=n;rn b++;rn rn void Print()rn rn cout<<"a="<
求大神指点!!谢谢!!
#include rnusing namespace std;rnclass Arnrn int sum;rn public:rn static int count;rn A(int a=0)rn rn sum=a+count;rn count++;rn cout<
求大佬来看看,在线等,谢谢。
#includernint main()rnrn int StrDelete(Hsting *s,int pos,int len)rnrn char*p;rn int i;rn if(pos<=0||s->length-posch+pos-1;rn for(i=0;ilength=s->length-n;rn return(l);rn
求大神帮忙,谢谢啦!
[img=https://img-bbs.csdn.net/upload/201312/08/1386497826_79401.png][/img]rn我准备在用鼠标点击期刊登陆时弹出相应的对话框。下面是我的代码,点击期刊登陆时没反应,不知道为什么??[img=https://img-bbs.csdn.net/upload/201312/08/1386498117_21208.png][/img][img=https://img-bbs.csdn.net/upload/201312/08/1386498233_711433.png][/img]。[code=java][/code]rn下面是为了方便大家运行调试的文本代码rnrnimport javax.swing.*;rnimport java.awt.*;rnimport java.awt.event.*;rn///////////////////////////////rnclass Dialogs extends JDialogrn//制作对话框rn public Dialogs(JFrame parent)rn rn super(parent,"My dialog",true);rn Container cp=getContentPane();rn cp.setLayout(new FlowLayout());rn cp.add(new JLabel("Here is my dialog"));rn JButton ok=new JButton("OK");rn ok.addActionListener(new ActionListener()rn public void actionPerformed(ActionEvent e)rn dispose();rn rn );rn cp.add(ok);rn setSize(500,500);rn rnrn////////////////////////////////////////////////rnclass WindowText extends JFrame// implements ActionListenerrn//private Dialogs dlg=new Dialogs (null);rn private JFrame wd;rn JMenuBar menubar;//菜单条rn JMenu menu1,menu2,menu3;//菜单选项rn Dialogs dlg=new Dialogs (null);rn WindowText()rn rn init();rn rn rn public void init()rn rn wd=new JFrame("期刊管理系统");rn wd.setBounds(100,100,200,300);rn rn setDefaultCloseOperation(EXIT_ON_CLOSE);rn menubar=new JMenuBar();rn menu1=new JMenu("期刊登记");rn menu2=new JMenu("期刊查询");rn menu3=new JMenu("期刊借阅");rn rn menubar.add(menu1);rn menubar.add(menu2);rn menubar.add(menu3);rn wd.setJMenuBar(menubar);rn inirt();rn wd.setVisible(true);rn // myEvent(); rnrnpublic void inirt()rn menu1.addActionListener(new ActionListener()//这里增加事件rn public void actionPerformed(ActionEvent e)rn dlg.setVisible(true);rn rn );rn rn rn rnpublic static void main(String[] args)rn rnrn rn new WindowText();rn rn rnrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn //menu1rn //JButton button=new JButton("按钮");rn //menu1=new JMenu("期刊登记");rn //menu1.add(ON_UPDATE_COMMAND_UI);rn ///*menu1.addActionListener(new MouseListener()rn //public void actionPerformed(MouseEvent event)rn // rn // DialogPanel dialog=new DialogPanel();rn // rn // );rn //wd.add(button);rn // */rn // //jmt1.addActionListener(new MenuAction(this));rn rn rn rn rn rn rn /* class DialogPanel extends JPanelrn rn JDialog dialog=new JDialog();rn public DialogPanel()rn rn//加入其它你想加的东西rn dialog.add(this);rn dialog.setSize(300,300);rn dialog.setLocation(300,300);rn dialog.setVisible(true);rn rn */rnrn rn rn rn rn rn rnrnrn
求各路大神们指点下
sql.executeUpdate("INSERT INTO employees VALUES('''+num.getText()+''','''+nam.getText()+''','''+Integer.valueOf(sal.getText())+''','''+pos.getText()+''' )");rnrn sql.executeUpdate("INSERT INTO employees VALUES('005','小啊','3000','副处长')");rnrn求高手指点下 为什么在执行第一条语句时 总是插入不到数据库表里面 把第一条语句屏蔽 执行第2条的时候就能插入rnrn第一条语句中的 num nam sal..都是JTextField控件
求大神们指点思路!
[img=http://img.my.csdn.net/uploads/201212/22/1356185918_2949.jpg][/img]rn求各位大神 实现上面图中的效果,不要求后台的功能实现仅仅是效果。rn鼠标 单机一个蓝色座位(空座)--> 座位变红色(本次选择) --> 已售出的座位是紫色(已售出点击无效)。rn我现在掌握的是 JAVASE SWT 只有知识。希望大神指点思路!麻烦各位了!
求大佬解答,在线等
怎么在html页面动态展示Echarts的数据,求大佬解答[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/001/face/103.gif][/img]
求大神指点,在线等,急!
  用python如何只读取第六列的数字? 我读取文件时为什么出现这个无法解析的命令,这个要怎么解决?
HttpWebRequest的问题,求大神指点,在线等
[code=csharp] private void button1_Click(object sender, EventArgs e)rn rn Thread.Sleep(1000);rn Thread threadstart = new Thread(new ThreadStart(Html_start));rn threadstart.IsBackground = true;rn threadstart.Start(); rn rn private void Html_start()rn rnrn QQHtml qqhtml = new QQHtml();rn richTextBox2.AppendText("正在申请");rn System.Timers.Timer timer = new System.Timers.Timer(1500);rn timer.Elapsed += new System.Timers.ElapsedEventHandler(Text_add);rn timer.AutoReset = true;rn timer.Enabled = true;rnrnrn qqhtml.Get_ver_js();rn Thread.Sleep(200);rn qqhtml.attr_id_252190();rn Thread.Sleep(200);rn qqhtml.CookieCode_undefined();rn Thread.Sleep(200);rn ..........rn rn [/code]rnrn直接打开程序,http请求发送不出去,但是我把抓包工具Fiddler打开,请求就能发送出去,是什么原因
求大神指点一二,在线等急。
Onvif Device Test Tool 测试工具中 Get形式的接口都可以用, 但是Set形式的接口都是报400的错误下面给图 Get形式接口(是成功的) Set的形式(Status是400) 点击Send Request之后的结果我拷在下面了,主要是出现了Sender not Authorized,我还是个菜鸟,在网上找了很久都没有找到结果,求各位大神不吝赐教,在这提前给大家拜个年! HT...
求一段查询语句,在线等,谢谢啦
[img=http://img.my.csdn.net/uploads/201211/18/1353238892_5592.jpg][/img]rn结构是这样的rn我想获取b_pid<>0的,但是结果要不等于0的b_pid要等于b_id,b_entrance要存在,要一句的哦,我现在写的在循环里又查b_entrance,感觉会慢很多
大神们,求指教!谢谢!
2、设计一个学生类Student,包括姓名和三门课的成绩,利用重载运算符“+”将所有学生的成绩放入一个对象中,再对该对象求各门课程的平均分。rnrnrn源程序如下rnrnrn#include rn#include rnclass student rnprivate :rn char name[10];rn double ma,en,ch,avg,sum;rnpublic:rn student (char *N=" ",double M=0,double E=0,double C=0)rn strcpy(name,N);rn ma=M;rn en=E;rn ch=C;rn rn rn student operator +(student a)rn student x;rn x.sum=a.ma+a.en+a.ch;rn return x;rn friend double AVG(student x,student y)rn double avg=y.sum;rn return avg/3;rn rnvoid display()rn cout<<"姓名"<<"\t"<
求大佬们解答!!!
刚做了一道华为的测试题,不知道为啥,提交上去说我通过率只有20%,求解!!!rnrn[size=18px][b]题目:[/b][/size]rn给定一个整数,给出消除重复数字以后最大的整数rnrn输入描述:rnrn正整数,注意考虑长整数rnrn输出描述rnrn消除重复数字后的最大整数rnrn示例1rnrn输入rnrn423234rnrn输出rnrn432rnrn[size=18px][b]疑问:[/b][/size]rn1、题目中说到:注意考虑长整数是什么意思?rn2、请大佬们指出我的代码问题出来哪里,为什么只有20%通过率,哪些范围的数字通不过?rnrn附上我自己的代码,不明白为什么通过率只有20%:rn#include rn#include rnrnint num[100];rnrnvoid sort(int a[], int n) rnrn int i,j,k,t;rn for(i = 0; i < n - 1; ++i) rn rn k = i;rn for(j = i + 1; j < n; ++j) rn rn if(a[k] < a[j])rn k = j;rn rn if(i != k) rn rn t = a[i];rn a[i] = a[k];rn a[k] = t;rn rn rnrnrnint xiaochu(int a[], int n) rnrn int i,j,k;rn for(i = 0; i < n - 1; ++i) rn rn for(j = i + 1; j < n; ++j) rn rn if(a[i] == a[j])rn rn for(k = j; k < n - 1; ++k)rn rn a[k] = a[k + 1];rn rn --n;rn --j;rn rn rn rn return n;rnrnrnint main(void)rnrn long a = 423234;rn int i = 0;rnrn while(a)rn rn num[i] = a % 10;rn a = a / 10;rn i++;rn rnrn sort(num, i);rn int count = xiaochu(num, i);rnrn int temp = 0;rnrn for(int j = 0; j < count; j++)rn temp = temp * 10 + num[j];rnrn printf("%d\n", temp);rn //system("pause");rnrn return 0;rnrnrn这段代码我在考试的网页上点击自测,但是网上给出的答案是:rn[img=https://img-bbs.csdn.net/upload/201808/31/1535696754_819035.png][/img]rn但是自己在VS2010中编译计算后的结果是:rn[img=https://img-bbs.csdn.net/upload/201808/31/1535696864_511655.jpg][/img]
大佬们,求帮忙
[img=https://img-bbs.csdn.net/upload/201808/30/1535617908_474864.jpg][/img] 这个情况怎么解决啊,求大神们指导,
大佬们求帮忙
#includern#includern#includernusing namespace std;rntypedef structrn float data;rn int index;rnElement;rnclass Polynomialrn public:rn void create();rn void print();rn void add(Polynomial &a,Polynomial &b); rn //private:rn vectorPolynomial_vector;rn;rnvoid Polynomial::create()rn int m,i;rn Element p;rn cout<<"输出一元多项式的项数:";rn cin>>m;rn for(i=0;i>p.data>>p.index;rn Polynomial_vector.push_back(p);rn rnrnvoid Polynomial::print()rn vector::iterator iter;rn for(iter=Polynomial_vector.begin();iter!=Polynomial_vector.end();iter++)rn if((*iter).data!=0)rn if((*iter).index==0)rn cout<<(*iter).data<::iterator iter1=a.Polynomial_vector.begin();rn vector::iterator iter2=Polynomial_vector.begin(); rn vector::iterator iter3;rn Element t;rn int temp;rn nomial_vector.end()))rn temp=(*iter1).index;rn iter3=find(Polynomial_vector.begin(),Polynomial_vector.end(),temp);rn if(iter3!=Polynomial_vector.end())rn if((*iter1).data+(*iter2).data!=0)rn t.index=(*iter1).index;rn t.data=(*iter1).data+(*iter2).data;rn b.Polynomial_vector.push_back(t) ;rn iter1++;rn iter2++;rn rn elsern iter1++;rn iter2++;rn rn rn elsern b.Polynomial_vector.push_back((*iter1));rn iter1++;rn rn rn if(iter1!=a.Polynomial_vector.end())rn b.Polynomial_vector.push_back(*iter1++);rn rn if(iter2!=Polynomial_vector.end())rn b.Polynomial_vector.push_back(*iter2++);rn rn rnrnrnbool com(Element e1,Element e2)rn return e1.index
求大佬们帮助
!/bin/bashrn#/usr/sbin/httpd -DFOREGROUND -domain=xiejl.com -httpAddr=:80 &> /dev/null &rnparam=" &> /dev/null &"rnmemsize=`ps -aux | grep "/usr/sbin/httpd -DFOREGROUND" | grep -v grep | awk 'printf $6 '`rnecho $memsizernif [[ $memsize -gt 3080 ]]; thenrn echo "restart begin"rn httpd -DFOREGROUND_restart=`ps -aux | grep "/usr/sbin/httpd -DFOREGROUND" | grep -v grep | awk 'for(i=11;i<=NF;i++)printf $i " "'`rn echo $httpd -DFOREGROUND_restartrn pkill -f /usr/sbin/httpd -DFOREGROUNDrn eval "$httpd -DFOREGROUND_restart $param"rn echo "restart over"rnelif[ -z$memsize ];thenrn echo "start begin"rn eval "/usr/sbin/httpd -DFOREGROUND -domain=xiejl.com -httpAddr=:80 $param"rn echo "start over"rnfirnrn[root@localhost sbin]# bash ehaha.shrn: 没有那个文件或目录bashrn495231083108310831083108rnehaha.sh:行18: 语法错误: 未预期的文件结尾rnrn我用bash执行这个文件的时候就是报这个错 ,一共就17行,然后第18行报错。[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/001/face/34.gif][/img]rn大佬们帮忙看一下吧rn
求指点----在线等
[code=C#]rnDataSet ds = null;rn int res = 1;rn string sql = "select top(10)* from gb_NewsInfo order by ID desc";rn SqlParameter[] sp = new SqlParameter[] ;rn ds = Utility.SqlHelper.ExecuteDataSet(Utility.SqlHelper.appName, CommandType.Text, sql, sp);rn if (ds != null && ds.Tables[0].Rows.Count > 0)rn rn DataTable dt = ds.Tables[0];rn for (int i = 0; i < dt.Rows.Count; i++)rn rn tryrn rn int id = int.Parse(dt.Rows[i]["ID"].ToString());rn string title = dt.Rows[i]["Title"].ToString();rn string cont = dt.Rows[i]["NewsContent"].ToString();rn string temCode = tmhelper.getTimeCode() + ".htm";rn string Dirctory = tmhelper.getDirctoryCode();rn if (!Directory.Exists(context.Server.MapPath(@"~/Static/NewsInfo/" + Dirctory)))rn rn Directory.CreateDirectory(context.Server.MapPath(@"~/Static/NewsInfo/" + Dirctory));rn rnrn FileStream fs = new FileStream(context.Server.MapPath(@"~/Static/NewsInfo/htm.htm"), FileMode.Open, FileAccess.Read);rn StreamReader sr = new StreamReader(fs, Encoding.UTF8);rnrn StringBuilder sb = new StringBuilder();rn sb.Append(sr.ReadToEnd());rnrn sb.Replace("$replace[title]$", title);rn sb.Replace("$replace[cont]$", cont);rnrn FileStream fsw = new FileStream(context.Server.MapPath(@"~/Static/NewsInfo/" + Dirctory + "/" + temCode), FileMode.OpenOrCreate, FileAccess.Write);rn StreamWriter sw = new StreamWriter(fsw, Encoding.UTF8);rn sw.Write(sb.ToString());rn sw.Flush();rn sw.Close();rnrn string updateSql = "update gb_NewsInfo set StaticURL='" + Dirctory + "/" + temCode + "' where ID=" + id;rn if (Utility.SqlHelper.ExecuteNonQuery(Utility.SqlHelper.appName, CommandType.Text, updateSql, sp) != 1)rn rn if (File.Exists(context.Server.MapPath(@"~/Static/NewsInfo/" + Dirctory + "/" + temCode)))rn rn File.Delete(context.Server.MapPath(@"~/Static/NewsInfo/" + Dirctory + "/" + temCode));rn res = 2;rn break;rn rn res = 2;rn rn rn catch res = 0; break; rn rn rnrn context.Response.Write(res.ToString());rn context.Response.End();rn[/code]
java连接oracle数据库,求大神指点,谢谢
import java.sql.Connection;rnimport java.sql.DriverManager;rnimport java.sql.SQLException;rnrnrnpublic class Text rn public void text()rn rn String driver="oracle.jdbc.driver.OracleDriver";rn String url="jdbc:oracle:thin:@locahost:1433:ORCL";rn String user="scott";rn String password="tiger";rn Connection conn=null ;rn try rn Class.forName(driver);rn conn=DriverManager.getConnection(url,user,password);rn System.out.println("数据库连接成功");rn rn catch (Exception e) rn // TODO Auto-generated catch blockrn System.out.println("数据库连接失败");rn e.printStackTrace();rn rn rn public static void main(String[] args) rn Text tt=new Text();rn tt.text();rn rnrn
初学JAVA,求大神指点。谢谢!
发出错误:Exception in thread "AWT-EventQueue-0" java.lang.NullPointerExceptionrn错误在 : player.play();rnrn代码:import java.awt.FlowLayout;rnimport java.awt.event.ActionEvent;rnimport java.awt.event.ActionListener;rnimport java.io.FileInputStream;rnimport java.io.FileNotFoundException;rnrnimport javax.swing.JButton;rnimport javax.swing.JFrame;rnrnimport javazoom.jl.decoder.JavaLayerException;rnimport javazoom.jl.player.advanced.AdvancedPlayer;rnrnrnpublic class AudioFrame extends JFrame rnprivate JButton palybutton;rnprivate JButton stopbutton;rnprivate AdvancedPlayer player;rnpublic AudioFrame()rn setSize(300,400);rn setLayout(new FlowLayout());rn tryrn player=new AdvancedPlayer(new FileInputStream("music/music。mp3"));rn rn catch(FileNotFoundException e )rn e.getStackTrace();rn rn catch(JavaLayerException e )rn e.printStackTrace();rn rn palybutton = new JButton("PLAY");rn palybutton.addActionListener(new ActionListener() rn rn @Overridern public void actionPerformed(ActionEvent e) rn tryrn player.play();rn catch(JavaLayerException e1)rn e1.printStackTrace();rn rn );rn stopbutton = new JButton("STOP");rn stopbutton.addActionListener(new ActionListener() rn rn @Overridern public void actionPerformed(ActionEvent e) rn // TODO 自动生成的方法存根rn player.stop();rn rn );rn add(palybutton);rn add(stopbutton);rn setVisible(true);rn rnrnpublic static void main(String[]args)rn new AudioFrame();rnrn
急需程序代码,求高手,大神们解救
select语句的翻译程序设计(LL(1)法、输出四元式)
求大神指点 求大神指点
a表按照b表的规则转换到c表上去rnrnrna表按照b表的规则转换到c表上去rnrnrnrnUSE [erp_zfym]rnGOrn/****** 对象: Table [dbo].[TB_DataPlat] 脚本日期: 08/26/2013 11:23:26 ******/rnSET ANSI_NULLS ONrnGOrnSET QUOTED_IDENTIFIER ONrnGOrnSET ANSI_PADDING ONrnGOrnCREATE TABLE [dbo].[TB_DataPlat](rn [DataID] [int] NOT NULL,rn [PFKID] [int] NULL,rn [UseType] [int] NULL,rn [DataSign] [varchar](100) COLLATE Chinese_PRC_CI_AS NULL,rn [Data] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data1] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data2] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data3] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data4] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data5] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data6] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data7] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data8] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data9] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data10] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data11] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data12] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data13] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data14] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data15] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data16] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data17] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data18] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data19] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data20] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data21] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data22] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data23] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data24] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data25] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data26] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data27] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data28] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data29] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data30] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data31] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data32] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data33] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data34] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data35] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data36] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data37] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data38] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data39] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data40] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data41] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data42] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data43] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data44] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data45] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data46] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data47] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data48] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data49] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data50] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data51] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data52] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data53] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data54] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data55] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data56] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data57] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data58] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data59] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data60] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data61] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data62] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data63] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data64] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data65] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data66] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data67] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data68] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data69] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data70] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data71] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data72] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data73] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data74] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data75] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data76] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data77] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data78] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data79] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data80] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data81] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data82] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data83] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data84] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data85] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data86] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data87] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data88] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data89] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data90] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data91] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data92] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data93] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data94] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data95] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data96] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data97] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data98] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data99] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data100] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn CONSTRAINT [PK_TB_DataPlat] PRIMARY KEY CLUSTERED rn(rn [DataID] ASCrn)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]rn) ON [PRIMARY]rnrnGOrnSET ANSI_PADDING OFFrnrnrnrnUSE [erp_zfym]rnGOrn/****** 对象: Table [dbo].[PP_CraftData] 脚本日期: 08/26/2013 11:24:04 ******/rnSET ANSI_NULLS ONrnGOrnSET QUOTED_IDENTIFIER ONrnGOrnSET ANSI_PADDING ONrnGOrnCREATE TABLE [dbo].[PP_CraftData](rn [CraftDataID] [int] IDENTITY(1,1) NOT NULL,rn [DataPlatID] [int] NULL,rn [CraftID] [int] NULL,rn [ProcessID] [int] NULL,rn [GoodsID] [int] NULL,rn [ProductID] [int] NULL,rn [ProductCode] [varchar](60) COLLATE Chinese_PRC_CI_AS NULL,rn [Machine] [int] NULL,rn [StandardValue] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,rn [Remark] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,rn [OrderNO] [int] NULL,rn [Flag] [char](1) COLLATE Chinese_PRC_CI_AS NULL,rn [RelateID] [int] NULL,rn [ParentID] [int] NULL,rn [OpID] [int] NULL,rn [OpDate] [datetime] NULL,rn [CraftType] [int] NULL,rn CONSTRAINT [PK_PP_CraftData] PRIMARY KEY CLUSTERED rn(rn [CraftDataID] ASCrn)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]rn) ON [PRIMARY]rnrnGOrnSET ANSI_PADDING OFFrnrnUSE [erp_zfym]rnGOrn/****** 对象: Table [dbo].[PP_CraftDataProperty] 脚本日期: 08/28/2013 09:49:06 ******/rnSET ANSI_NULLS ONrnGOrnSET QUOTED_IDENTIFIER ONrnGOrnSET ANSI_PADDING ONrnGOrnCREATE TABLE [dbo].[PP_CraftDataProperty](rn [CraftDataProID] [char](10) COLLATE Chinese_PRC_CI_AS NULL,rn [CraftDataID] [int] NULL,rn [DataPlatID] [int] NULL,rn [DataPFKID] [int] NULL,rn [CraftID] [int] NULL,rn [RowSign] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,rn [ProID] [int] NULL,rn [Data] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,rn [Type] [int] NULL,rn [UseType] [int] NULL,rn [ProType] [int] NULL,rn [RateType] [int] NULL,rn [Rate] [decimal](10, 4) NULL,rn [Formula] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,rn [remark] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,rn [OrderNO] [int] NULL,rn [Flag] [char](1) COLLATE Chinese_PRC_CI_AS NULL,rn [DeletedFlg] [char](1) COLLATE Chinese_PRC_CI_AS NULL,rn [OpID] [int] NULL,rn [OpDate] [datetime] NULLrn) ON [PRIMARY]rnrnGOrnSET ANSI_PADDING OFFrnrnrnrnrnrn哪位大神能给个建议 或思路呀 没有多少分了 见谅
高手们,求指点下,谢谢。
求各位大大推荐点入门级别的Java自学书籍,不要《Java面向对象编程》这种,这种感觉入门难度有点大,要越基础点的越好。谢谢。rn 小弟无java基础,有点C语言基础。谢谢。
求答案 在线等 谢谢大侠们
rnrnrnrn原程序代码:rnrnrnpackage edu.jmi.test;rnrnimport java.lang.reflect.Method; rnimport java.io.*; rnimport java.lang.*; rnimport java.text.*; rnrn public class ifHaveFile rn rn public static void main(String args[]) rn rn StringBuffer fileBuf=new StringBuffer(); rn String filePar = "e:\\test "; rn System.out.println(filePar);rn File myPath = new File(filePar); rn System.out.println(myPath);rn if (!myPath.exists())//若此目录不存在,则创建之 rn rn rn rn myPath.mkdir(); rn rn // System.out.println(myPath.mkdir());rn rn String filename = "test.txt "; rn File logFile = new File(myPath,filename); rn System.out.println(logFile.getAbsolutePath());rn if (!logFile.exists()) rn rn rn rn //System.out.println(logFile.exists());rn System.out.println( "this file not exists! "); rn //给文件追加内容! rn fileBuf.append( "this is only a test!!! "); rn try rn rn //创建新文件 rn RandomAccessFile files = new RandomAccessFile(logFile,"rw"); rn try rn rn //给文件添加内容 rn files.writeBytes(fileBuf.toString()); rn files.close(); rn rn catch (IOException ioEx) rn rn System.err.println(ioEx.toString()); rn rn rn catch ( FileNotFoundException fouEx) rn rn System.err.println(fouEx.toString()); rn rn rn else rn rn System.out.println( "this file exists! "); rn //如果存在,则在文件原有的内容上添加,既保留文件原有的内容,该如何做???? rn rn rn rn rnrnrn运行时候出现的错误:rnrne:\test rne:\test rne:\test \test.txt rnthis file not exists! rnjava.io.FileNotFoundException: [color=#FF0000]e:\test \test.txt (系统找不到指定的路径。)[/color]
求大佬指点
怎判断一个数是不是素数?新人求指教。break和continue应该怎么用啊?老是用错rn
迷茫了 求大佬指点下
谭浩强的那本c语言看完了 但是不知道能做什么程序 现在再看The C Programming Language 所以我现在就想写点小程序但不知道写什么 求前辈指点下[img=https://img-bbs.csdn.net/upload/201903/07/1551933558_310311.png][/img]
求大佬指点。。Swing
我在写一个酒店管理系统。rn比如,我点击101按钮,,弹出一个窗口,等我录完信息后,点击保存。。101按钮变为红色。rn我是这样写的:rnComponent[] components = new HotelNowJPanel().getComponents();rnJButton[] button = new JButton [components.length] ;rnbutton [0]= (JButton) components [0];//获取第一个按钮101rnbutton[0].setBackground(Color.red);rn可是不成功。。有什么别的解决办法呢
求大佬指点分析函数
[img=https://img-bbs.csdn.net/upload/201804/23/1524474523_797625.png][/img]rnrn上面是查询出的结果rnrn下面是预期的结果,rnrn每一列的a4 = a1+a2-a3rnrn每一列的a1等于上一行计算出来的a4rnrn不知有没有办法实现这个效果
数据库题,求大佬们支援,谢谢
1,假定一个请求页式存储管理系统中,某作业J所涉及的页面依次为:2,5,1,4,3,5,1,3,4,3,2,1,5,并已知主存中有3个可供作业J使用的空闲物理快,试说明采用FIFO和LRU算法进行页面置换时,命中率各是多少?
求大佬们解决一下,谢谢
eslipse在创建工程时,一直是JRE System Library在SRC上面,请问如何解决让jre在src下面谢谢,十分感谢           
三层架构 问题求指点!!在线等 !!谢谢!!
MODELS层:ROOM.CS: rnpublic class Roomrn rn public Room() rnrn private int roomId;rn public int RoomIdrn rn get return roomId; rn set roomId = value; rn rnrn----------------------------------------------------------------------rnDAL层:RoomService.CS:rnpublic int [color=#FF0000]AddRoom[/color]([color=#FF0000]Room[/color] room)rn rn string sql = "insert into Room(RoomId)" + " values(@RoomId)";rn sql += " ; rn SqlParameter[] para = new SqlParameter[]rn rn new SqlParameter("@RoomId",room.RoomId)rn ;rn return DBHelper.GetScalar(sql, para);rn rn--------------------------------------------------------------------------------rn错误:rn错误 1 “HotelModels.Room”不可访问,因为它受保护级别限制 rn错误 2 可访问性不一致: 参数类型“HotelModels.Room”比方法“HotelDAL.RoomService.AddRoom(HotelModels.Room)”的可访问性低 rnrn[color=#00FF00]rn我上网去查 说是要加public rn我读写器前都有public就是不知道还哪里加publicrnrn还有错误2 没查到 !!rn求指点! [/color]
如何封装方法,求求大神们的 指点
public partial class Form1 : Formrn rn public Form1()rn rn InitializeComponent();rn if (_run.R_run.GetValue("yiliang") == null) rn rn checkBox1.Checked = false; rn rn else rn rn checkBox1.Checked = true; rn rn rnrn private void Form1_Load(object sender, EventArgs e) rnrn rnrn this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components); rnrn notifyIcon1.Icon = new Icon(Application.StartupPath +"//icon.ico");//指定一个图标 rnrn notifyIcon1.Visible = false; rnrn // notifyIcon1.Click += new System.EventHandler(this.notifyIcon1_Click); rnrn this.SizeChanged += new System.EventHandler(this.Form1_SizeChanged); rnrn rn rn private void Form1_SizeChanged(object sender, EventArgs e) rnrn rnrn if (this.WindowState == FormWindowState.Minimized)//最小化 rnrn rnrn this.ShowInTaskbar = false; rnrn this.notifyIcon1.Visible = true; rnrn rnrn rnrn private void checkBox1_CheckedChanged(object sender, EventArgs e)rn rn if (checkBox1.Checked == true)rn rn _run.R_run.SetValue("yiliang", _startPath.R_startPath);rnrn rn elsern rn tryrn rn _run.R_run.DeleteValue("yiliang", true);rn //_run.R_run.Close();rn //_local.R_local.Close();rn rn catch (Exception ex)rn rn MessageBox.Show("您需要管理员权限修改", "提示", MessageBoxButtons.OK, MessageBoxIcon.Error);rn throw ex;rn rn rn rn rnrn private void startToolStripMenuItem_Click(object sender, EventArgs e)rn rn if (this.WindowState == FormWindowState.Minimized)rnrn this.WindowState = FormWindowState.Normal;rnrn this.Activate();rnrn this.notifyIcon1.Visible = true;rnrn this.ShowInTaskbar = false;rn rnrn private void toolStripTextBox1_Click(object sender, EventArgs e)rn rn MessageBox.Show("欢迎您下次再来!", "再见对话框");rn this.Close();rn rnrn private void smallToolStripMenuItem_Click(object sender, EventArgs e)rn rn if (this.WindowState == FormWindowState.Normal)rnrn this.WindowState = FormWindowState.Minimized;rnrn this.Activate();rnrn this.notifyIcon1.Visible = true;rnrn this.ShowInTaskbar = false;rn rn rnrn正如题目所示,该怎么封装啊
java 大神们,求指教
java里rnString b=new String("asdf");rnrnb在栈中,new的string对象在堆中,请问b在栈中是否分配内存,若分配其内存里的值是这个new出来对象的地址吗,若是为什么System.out.print(b);输出的值不是这个地址,而是asdfrn求各路大神前来讨论
求大神指点指点!
我现在用asp.net 写一个采集。 rnrn有300多个城市 每个城市基本都有2400多条数据。rnrn我想采集起来快一点。 请问有什么好的办法吗!rnrn因为中间还要分析页面上的数据。采集图片等等。 所以速度相对比较慢rnrn那位大神能给点这样的思路或者代码。rn
求大神指点指点
我的是Ubuntu18.04系统;rn里面有docker,我想要把容器挂载到宿主机,报错“mount.nfs: access denied by server while mounting 192.168.0.1:/nfsdisk/”rn请大神们指点一下,这个问题怎么解决;
求大神帮忙。求求;额
期末考查试题:rn利用C++编程完成以下任务:rn(1)实现以下继承关系:rn 如图 http://61.187.92.238:8392/download/20150609153833001.pngrn(2)图形类Shape是一个虚基类,其中定义了名称、维度、颜色、坐标等数据成员,还拥有构造函数、析构函数、深拷贝构造函数、求图形面积的虚函数、输出图形信息的虚函数;其中,图形名称存放在一个动态字符数组中;维度为int类型;颜色为自定义Color类型,其中有表示红绿蓝三原色分量值的成员;坐标为自定义类型,其中有表示x轴y轴坐标的成员;rn二维图形类TwoDimensionalShape中定义了求图形周长的虚函数,三维图形类ThreeDimensionalShape中定义了求体积的虚函数;在之后派生的二维和三维具体图形类(正方形、圆、三角形、立方体、圆柱、三棱柱等)中重定义了虚函数,并根据各自的特点定义了新的数据成员和成员函数。rn(3)再定义一个ShapeList链表类,链表的节点中有一个Shape类型的指针;在主函数中生成各个具体的图形对象,将它们加入链表中,并通过链表来计算并显示各种图形的名称、维度、颜色、面积、周长(或体积)以及其他相关信息,要求实现运行时多态。]rnrn我已经编了大部分了,求补充下主程序,rn#includern#includernusing namespace std;rnrnclass Colorrnprivate:rn char blue, green, red;rn;rnclass Pointrnprivate:rn int x, y;rnpublic:rn Point(int xx=0, int yy=0)rn x = xx;rn y = yy;rn rn Point(Point &a)rn x = a.x;rn y = a.y;rn rn void print()rn cout << "(" << x << "," << y << ")" << endl;rnrn rnrn;rnclass Shape :virtual public Color,virtual public Point rnrnprivate:rn char *name;//名称rn int wd;//维度 rn Color yanse;//颜色 rn Point zb;rnpublic:rn Shape(const char*z,int WD,int x,int y):Color(),Point(x,y)rn rn name = new char[strlen(z) + 1];rn strcpy(name,z);rn wd = WD;rn rn ~Shape()rnrn delete[] name;rn rn Shape(Shape &z) :Color(), zb(z.zb)rnrn name = new char[strlen(z.name) + 1];rn strcpy(name, z.name);rn wd = z.wd;rn rn virtual double area()rnrn return 0.0; //求面积 rnrn rn virtual double information()rnrn cout << "图形:"; //显示图形的信息 rnrn rnrnrnrn;rnrnclass TwoDimensionalShape :virtual public Shape rnpublic:rn TwoDimensionalShape(const char *s, int x, int y, int wd = 2) :Shape(s, wd, x, y)rnrn //详情请见P264rn virtual double zhouchang()rnrn return 0.0; //周长 rn rnrnrn;rnclass Square :public TwoDimensionalShape //正方形 rnprivate:rn double bianchang;rnpublic:rn Square(double b, const char *s, int x, int y, int wd = 2) :TwoDimensionalShape(s, x, y,wd),Shape(s,x,y,wd)rnrn bianchang = b; //对于继承的基类,也要进行构造rnrn rn double zhouchang()rn return bianchang * 4;rnrn rn double area()rnrn return bianchang*bianchang;rn rn double information()rnrn cout << "正方形" << endl;rn rnrn;rnclass Circular :public TwoDimensionalShape //圆形 rnrnprivate:rn double radius;rnpublic:rn Circular(double r, const char *s, int x, int y, int wd = 2) :TwoDimensionalShape(s, x, y, wd), Shape(s, x, y, wd)rn radius = r;rnrn rn double zhouchang()rnrn return 3.14*radius * 2;rn rn double area()rnrn return 3.14*radius*radius;rn rn double information()rnrn cout << "圆形" << endl;rn rn;rnclass Rectangle :public TwoDimensionalShapernprivate:rn double width, length; //长方形 rnpublic:rn Rectangle(double w, double l, const char *s, int x, int y, int wd = 2) :TwoDimensionalShape(s,x,y,wd),Shape(s,x,y,wd)rn width = w;rn length = l;rnrn rn double zhouchang()rnrn return (width + length) * 2;rn rn double area()rnrn return width*length;rn rn double information()rnrn cout << "长方形:" << endl;rn rn;rnclass Triangle :public TwoDimensionalShapernrnprivate: //三角形 rn double sideA, sideB, sideC;rnpublic:rn Triangle(double sa, double sb,double sc, const char *s, int x, int y, int wd = 2) :TwoDimensionalShape(s,x,y,wd),Shape(s,x,y,wd)rnrn sideA = sa;rn sideB = sb;rn sideC = sc;rnrn rn double zhouchang()rnrn return (sideA + sideB + sideC);rn rn double area()rn double d;rn d = sideA + sideB + sideC;rnrn return sqrt(d*(d - sideA)*(d - sideB)*(d - sideC));rn rn double information()rn cout << "三角形" << endl;rnrn rnrn;rnclass ThreeDimensionalShape :virtual public Shapernrnpublic:rn virtual double tiji()rn return 0;rn rn ThreeDimensionalShape(const char *s, int x, int y, int wd = 3) :Shape(s, wd, x, y)rn rn rnrn;rnclass Cube :public ThreeDimensionalShape, public Square //跟正方体继承的立方体 rnprivate:rn double higth;rnpublic:rn Cube(double h, double b, const char *s, int x, int y, int wd = 3) :ThreeDimensionalShape(s, x, y, wd), Square(b,s,x,y,wd), Shape(s, x, y, wd)rn higth = h;rn rn rn double Volume()rn return Square::area()*higth;rnrn rn double information()rn cout << "立方体" << endl;rnrn rnrnrnrn;rnrnclass Cuboid :ThreeDimensionalShape, public Rectangle// 跟长方形继承的长方体 rnprivate:rn double higth;rnpublic:rn Cuboid(double h, double l, double w, const char *s, int x, int y, int wd = 3) :ThreeDimensionalShape(s, x, y, wd), Rectangle(l, w, s, x, y, wd), Shape(s, x, y, wd)rnrn higth = h;rn rn double Volume()rnrn return Rectangle::area()*higth;rn rn double information()rnrn cout << "长方体" << endl;rn rnrnrn;rnclass Cylindrical :ThreeDimensionalShape, public Circular//跟圆形继承的圆柱 rnrnprivate:rn double higth;rnpublic:rn Cylindrical(double h, double r, const char *s, int x, int y, int wd = 3) :ThreeDimensionalShape(s, x, y, wd), Circular(r, s, x, y, wd), Shape(s, x, y, wd)rn higth = h;rnrn rn double Volume()rn return Circular::area()*higth;rnrn rn double information()rnrn cout << "圆柱" << endl;rn rn;rnclass Sanlingzhu :ThreeDimensionalShape, public Triangle//跟三角形继承的三菱拄 rnprivate:rn double higth;rnpublic:rn Sanlingzhu(double h, double sa, double sb, double sc, const char *s, int x, int y, int wd = 3) :ThreeDimensionalShape(s, x, y, wd),Triangle(sa, sb, sc, s, x, y, wd), Shape(s, x, y, wd)rnrn higth = h;rnrn rn double Volume()rn return Triangle::area()*higth;rnrn rn double information()rnrn cout << "三菱拄" << endl;rn rn;rnstruct Nodernrn Shape*data;rn Node*next;rn;rnclass ShapeListrnrnprivate:rn Node *head;rnpublic:rn ShapeList()rn rn Node *s = new Node;rn head = s;rn head->data = NULL;rn head->next = NULL;rn rn void initList()rn rn Node*temp = head->next;rn while (temp != NULL)rn rn Node*temp2 = temp;rn temp = temp->next;rn delete temp2;rn rn rn void add(Node*temp2)rn rn Node*temp = head;rn for (; temp->next != NULL; temp = temp->next)rn rn rn temp->next = temp2;rn rn void delete_(int wz)rn rn Node*temp = head;rn int i;rn for (i = 1; temp->next != NULL; temp = temp->next, i++)rn rn if (i == wz)rn rn Node*temp2 = temp->next;rn temp->next = temp->next->next;rn delete temp2;rn return;rn rn rn rn void print(Node*temp)rn rn temp->data->print();rn rn void printall()rn rn Node*temp = head;rn int i = 1;rn for (; temp->next != NULL; temp = temp->next)rn rn cout << i++ << "、" << endl;rn temp->next->data->print();rn rn rn void found(int x)rn rn int i;rn Node *temp = NULL;rn for (i = 1, temp = head; temp->next != NULL; temp = temp->next, i++)rn rn if (i == x)rn temp->next->data->print();rn rn rn ~ShapeList()rn rn Node*temp = head->next;rn while (temp != NULL)rn rn Node*temp2 = temp;rn temp = temp->next;rn delete temp2;rn rn delete head;rn rn;rnint main()rnrn
求大佬解密 谢谢
请问各位大佬 安卓购物软件那个购物车怎么实现 还有结算 APP上那个图标怎么消除 还有就是怎么把一堆单选按钮排在屏幕的上方
相关热词 c#检测非法字符 c#双屏截图 c#中怎么关闭线程 c# 显示服务器上的图片 api嵌入窗口 c# c# 控制网页 c# encrypt c#微信网页版登录 c# login 居中 c# 考试软件