看不懂 [问题点数:20分,结帖人sweetswing]

Bbs1
本版专家分:0
结帖率 92.31%
Bbs5
本版专家分:3546
Blank
蓝花 2019年6月 Java大版内专家分月排行榜第三
Bbs5
本版专家分:2408
看不懂就是看不懂
以下是一个程序的开头:rncode segmentrnassume cs:code,ds:codernorg 100hrnstart:rnjmp installrn小弟不懂"jmp install'是什么意思?请教诸位大虾
看不懂
int f(int x)rnrn int c=1;rn int cnt=0;rn while(c
看不懂...
LinkTopic 属性rn rnrn对于接收端控件-返回或设置发送端应用程序和主题(使用于该应用程序中的基本数据的分组)。为了指定完整的数据链,应当与 LinkItem 属性一起使用 LinkTopic。rnrn对于发送端窗体-返回或设置在 DDE 对话中发送端窗体需响应的主题。rnLinkTopic 属性由字符串组成,该字符串用来提供为建立接收端链或者发送端链必须的部分信息。该字符串依赖于正在使用的是接收端控件还是发送端窗体。每个字符串对应于标准 DDE 语法的一个或多个元素,它包括 application、topic和 item。rnrn注意 当 DDE 链接的标准定义包括 application、topic 和 item 元素时,对于接收端链接到发送端应用程序来说,应用程序内实际使用的语法可作少许的变更。例如,在 Microsoft Excel 中,可使用下面的语法:rnrnapplication|topic!itemrnrn而在 Microsoft Word for Windows 中,使用的是:rnrnapplication topic itemrnrn(不要使用管道符 [|] 或惊叹号 [!]。)rnrn在 Visual Basic 应用程序中,使用的是:rnrnapplication|topicrnrn惊叹号对于 topic 是隐含的。rnrnrnrn這到底是說什么呢?????
看不懂的多线程 看不懂的动态库
在多线程中调用动态库中的函数是出现错误rn[code=C/C++]rnUINT SendThread (LPVOID param)rnrnHINSTANCE hDllInst = LoadLibrary("SendMess.dll");rnrntypedef int (WINAPI *Send)(int);rnrnInitSMGPAPI SendDll= NULL; rnSendDll= (Send)GetProcAddress(hDllInst,"Send");//多线程时出现 读写错误 rnrnif(SendDll)rn SendDll(1);rnrnrnrnfor(int i=0;i<20;i++)rn AfxBeginThread(SendThread,this); rnrn[/code]rn[color=#FF0000]如果只调用一次AfxBeginThread(SendThread,this)没有for循环不会出错.[/color]
看不懂,实在看不懂!!!!
想实现自适应的带引用计数的智能指针,比如class A已实现引用计数功能,现在设计一个class A_var的智能指针,在A *pA=get()中已调用_add_ref(),A_var析构时自动调用A::_remove_ref()。参考了一下TAO中的TAO_Pseudo_Var_T,它居然有下面的代码:rnTAO_Pseudo_Var_T::TAO_Pseudo_Var_T (const TAO_Pseudo_Var_T & p)rn : ptr_ (T::_duplicate (p.ptr ()))rnrnrn想不通,既然T为非特化的,怎么可以调用T::_duplicate()呢?rnrn顺便请教一下实现自适应的带引用计数的类的智能指针如何实现为好?
看不懂,实在是看不懂
指向指针的指针概念看了总是模模糊糊的。也用不来,哪位帮我一下,最好简单点。
看不懂
#includernusing namespace std;rnclass Vectorrn int size;rn int* buffer;rnpublic:rn Vector(int s=100);rn int& elem(int ndx);rn void display();rn void set();rn ~Vector();rn;rnVector::Vector(int s)rn buffer=new int[size=s];rn for(int i=0;i=size)rn cout<<
看不懂!!!
一本书上的,说是执行这个命令,rnjava -Xmx512m -Dheritrix.home=f:\\heritrix -cp "f:\\heritrix\\lib\\commons-codec-1.3.jar;f:\\heritrix\\lib\\commons-collections-3.1.jar;f:\\heritrix\\lib\\dnsjava-2.0.3.jar;f:\\heritrix\\lib\\poi-scratchpad-2.0-RC1-20031102.jar;f:\\heritrix\\lib\\commons-logging-1.0.4.jar;f:\\heritrix\\lib\\commons-httpclient-3.0.1.jar;f:\\heritrix\\lib\\commons-cli-1.0.jar;f:\\heritrix\\lib\\mg4j-1.0.1.jar;f:\\heritrix\\lib\\javaswf-CVS-SNAPSHOT-1.jar;f:\\heritrix\\lib\\bsh-2.0b4.jar;f:\\heritrix\\lib\\servlet-tomcat-4.1.30.jar;f:\\heritrix\\lib\\junit-3.8.2.jar;f:\\heritrix\\lib\\jasper-compiler-tomcat-4.1.30.jar;f:\\heritrix\\lib\\commons-lang-2.3.jar;f:\\heritrix\\lib\\itext-1.2.0.jar;f:\\heritrix\\lib\\poi-2.0-RC1-20031102.jar;f:\\heritrix\\lib\\jetty-4.2.23.jar;f:\\heritrix\\lib\\commons-net-1.4.1.jar;f:\\heritrix\\lib\\libidn-0.5.9.jar;f:\\heritrix\\lib\\ant-1.6.2.jar;f:\\heritrix\\lib\\fastutil-5.0.3-heritrix-subset-1.0.jar;f:\\heritrix\\lib\\je-3.2.23.jar;f:\\heritrix\\lib\\commons-pool-1.3.jar;f:\\heritrix\\lib\\jasper-runtime-tomcat-4.1.30.jar;f:\\heritrix\\heritrix-1.12.1.jar" org.archive.crawler.Heritrixrnrn不理解这是什么意思,路径要用"\\"吗????
看不懂!?
CGateSocket::CGateSocket(void)rn :CTcpMng(MAX_TIMER_TOTAL, MAX_NORMAL_MSG_TOTAL, MAX_TIMER_MSG_TOTAL)rn大概是什么意思?
看不懂::
[code=c]LRESULT CALLBACK DemoApp::WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)rnrn LRESULT result = 0;rnrn if (message == WM_CREATE)rn rn LPCREATESTRUCT pcs = (LPCREATESTRUCT)lParam;rn DemoApp *pDemoApp = (DemoApp *)pcs->lpCreateParams;rnrn ::SetWindowLongPtrW(rn hwnd,rn GWLP_USERDATA,rn PtrToUlong(pDemoApp)rn [/code]rn<em>看不懂</em>这里面的::
BGLL算法!看不懂看不懂
求大神解释一下BGLL算法的c++代码~~rn笨蛋一个[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/onion/1.gif][/img]rnrn#include "graph.h"rnrnusing namespace std;rnrnGraph::Graph(char *filename, int type) rn ifstream finput;rn finput.open(filename,fstream::in);rnrn int nb_links=0;rnrn while (!finput.eof()) rn if (nb_links%10000000==0) cerr << "."; fflush(stderr);rnrn unsigned int src, dest, weight=1;rnrn if (type==WEIGHTED)rn finput >> src >> dest >> weight;rn elsern finput >> src >> dest;rn rn if (finput) rn if (links.size() v;rn for (it = m.begin() ; it!=m.end() ; it++)rn v.push_back(*it);rn links[i].clear();rn links[i]=v;rn rnrnrnvoidrnGraph::display(int type) rn cout << "Graph: " << endl;rnrn for (unsigned int i=0 ; i
看不懂的.....
有一个用c编的juliaset,我<em>看不懂</em>,请教列位rnrnrn#include rnrn#include rnrn#include rnrn#include rnrn#include rnrnmain()rnrnrnrnint gd,gm,nx,ny,co,Mx,My,i,col[]=1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0;rnrnfloat k,x,y,r,q,p,m,kc,xn,yn,mx,my,mxx,myy;rnrnchar *sp;rnrnp=.32;rnrnq=.043;rnrnm=100;rnrnprintf("\nPlease input the coefficient k(0-300) p(0.32) q(0.043):");rnrnscanf("%f %f %f",&k,&p,&q);rnrn_AX=0x0013;rnrn__int__(0x10);rnrnsp=MK_FP(0xa000,0);rnrnMx=319;rnrnMy=199;rnrnrandomize();rnrnco=0xff;rnrnmx=Mx;my=My;rnrnr=0;rnrnmxx=2.4/mx;rnrnmyy=2.4/my;rnrnmx=-.93;rnrnmy=-1.2;rnrnfor(ny=0;nym)break;rnrnrnrni=(k-kc)/3;rnrnif(i>0xff)i=0xff;rnrnsp[nx+ny*320]=i;rnrnrnrnrnrngetch();rnrn_AX=0x0003;rnrn__int__(0x10);rnrnrn rn
看不懂的错误信息
忽然间收到很多以下的错误信息,平时都没有这样的信息,现在又好好的了(没有进行任何更改).rn========================================================rnrnError Message:rnE:\web\myspace\htdocs\home.aspx(373): error BC30560: 'ascxClick' is ambiguous in the namespace 'ASP'.rnError Trace:rnat System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)rnOccurred On:2007/3/14 1:45:50
看不懂这句
Font oldFont;rn Font newFont;rnrn // Get the font that is being used in the selected textrn oldFont = this.richTextBoxText.SelectionFont;rnrn // If the font is using Underline style now, we should remove itrn if (oldFont.Underline)rn newFont = new Font(oldFont, oldFont.Style & ~FontStyle.Underline);rn elsern newFont = new Font(oldFont, oldFont.Style | FontStyle.Underline);rnrnrnrn<em>看不懂</em>这句rnoldFont.Style & ~FontStyle.Underlinernrnrnrn
编译原理看不懂
我是计算机专业本科的学生,中程考试范围中有编译原理的内容,可是连我都没学过,编译原理教材也<em>看不懂</em>,不知道各位有什么高见,
笔试题,看不懂
假设V为抽象类,下列声明哪个正确rna、V fun(int) b、 V *prnc、int fun(V) d、V Objrnrn感觉第一个是返回一个V类型的,应该对rn第二个是声明一个抽象类的指针,也对rn第三个,v是入参,好像也。。。对rn第四个,不晓得是什么意思rnrn请高人逐个解释一下,为什么哪个对,哪个不对,谢谢!
错误提示看不懂
内部错误代码,参数:[qerpfallocatex2],[8128],[8124],[],[],[],[],[]rnrn救命啊
看不懂这一句
type* newItem=new type(Item)rn 该句中()中是什么成分?以前只见过rn type* newItem=new type或rn type* newItem=new type[int n]rn <em>看不懂</em>这一句。
郁闷,看不懂
Delphi5指南里面的23章Com和ActiveX,<em>看不懂</em>呀,郁闷。有没有比较懂的,介绍点相关资料让我看看,头大死了。
有点看不懂
void elist_init_root(elist_t *root)rnrn root->next = root->prev = root;rnrnrnrn/* Add new element at the tail of the list. */rn void elist_add_tail (elist_t *root,elist_t *newp)rnrn root->prev->next = newp;rn newp->next = root;rn newp->prev = root->prev;rn root->prev = newp;rnrnrnrn/* Remove element from list. not use interface */rn void elist_del_elem (elist_t *elem)rnrn elem->next->prev = elem->prev;rn elem->prev->next = elem->next;rnrnrnrn/* get element at the head of the list and remove rn the element from the list. if no element return NULL.rn */rnelist_t* elist_remove_head(elist_t *root)rnrn elist_t *next = 0;rn if (root != root->next)rn rn next = root->next;rn elist_del_elem(root->next);rn rn return next;rnrn
看不懂的语句
CStatic myStatic;rnrn// Create a child bitmap static control.rnmyStatic.Create(_T("my static"), rn WS_CHILD|WS_VISIBLE|SS_BITMAP|SS_CENTERIMAGE, CRect(10,10,150,50), rn pParentWnd);rnrn// Set the bitmap of the static control to be the rn// system check-mark bitmap.rnmyStatic.SetBitmap( ::LoadBitmap(NULL, MAKEINTRESOURCE(OBM_CHECK)) );rnrn假如我想在myStatic显示一幅图片,我的图片ID应该写到什么地方。rnLoadBitmap的NULL参数是意思,MAKEINTRESOURCE(OBM_CHECK)) 是什么意思。rnrn
看不懂代码
谁帮忙解释解释rn[code=C#]rn private string GetEmailAddress(string userDisplayName)rn rn DirectorySearcher ds = new DirectorySearcher();rn ds.PropertiesToLoad.Add("mail");rn ds.Filter = String.Format("(&(displayName=0)(objectCategory=person)((objectClass=user)))", userDisplayName);rn rn SearchResultCollection results = ds.FindAll();rn if (results.Count == 0)rn rn return string.Empty;rn rnrn ResultPropertyValueCollection values = results[0].Properties["mail"];rn if (values.Count == 0)rn rn return string.Empty;rn rnrn return values[0].ToString();rn rnrn[/code]rn
异常看不懂
C++异常这里<em>看不懂</em>rn怎么办?
新手,看不懂
public static IList GetAllReals()rn rn IList list;rn ISession session = NHelper.GetCurrentSession();rn IQuery iq = session.CreateQuery("from M where Type = :type").SetString("type", "li");rn list = iq.List();rn session.Close();rn return list;rn rnrn新手,<em>看不懂</em>上面的代码。rnISession ,IQuery 是什么?rnrnCreateQuery在哪定义的?怎么连接的数据库?rnlist 又是什么?rnrn下面是GetCurrentSession的定义rn public static ISession GetCurrentSession()rn rn HttpContext context = HttpContext.Current; //system.web 命名空间下rn ISession currentSession = context.Items[CurrentSessionKey] as ISession; // Items 是键值对rnrn if (currentSession == null || !(currentSession.IsOpen)) // 先行如此。rn rn currentSession = sessionFactory.OpenSession();rn context.Items[CurrentSessionKey] = currentSession;rn rn return currentSession;rn rnrnrn
看不懂MFC程序
现在做whitted光透射模型的C语言实现 下载一些资料基本都是基于MFC的程序rn因为以前写的都是简单的控制台程序 对MFC完全零基础rn对于MFC有一些问题 希望能有亲们帮我解决一下rn1.系统自动生成的各种源文件 可不可以全部删除 自己新建rn2.MFC的源文件和头文件 之间有什么关系rn3.看别人的文件时应该从什么地方着手
看不懂的SQL ??
"SHAPE select 部门ID,部门名称 from 部门 Order by 部门ID AS ParentCMD APPEND (select 雇员ID,名字,部门ID,出生日期,雇用日期,地址,城市,地区,邮政编码,国家,家庭电话,分机,照片,备注,片区,密码 from 公司员工 Order by 雇员ID AS ChildCMD RELATE 部门ID TO 部门ID) AS ChildCMD"
递归看不懂
有么有大牛 表达能力强的给我讲下递归啊 是在<em>看不懂</em>他怎么执行的?跳来跳去rn static string Test(int i)rn rn if (i == 10)rn rn return i.ToString();//①rn rn elsern rn Test(++i);rn return i.ToString();//②rn rn rnrnConsole.WriteLine(Test(1)); 结果居然是2,rn1.为什么第①出 return不跳出?rn2.当满足条件后执行else的 ② 为什么他也不出去,++居然成了--了 ,还有他为什么减到2才执行完?条件在哪里rnrn不单单是这个例子 就大牛们帮忙解释下关于递归或许更麻烦的例子
看不懂的正则表达式!!
var r = /]+>/gi;rn对于这个正则表达,rn能否高手详细解释一下???rn
看不懂的错误。
HTTP Status 500 - rnrn--------------------------------------------------------------------------------rnrntype Exception reportrnrnmessage rnrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnorg.apache.jasper.JasperException: Unable to compile class for JSPrnrnNo Java compiler was found to compile the generated source for the JSP. rnThis can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK rnto the common/lib directory of the Tomcat server, followed by a Tomcat restart. rnIf using an alternate Java compiler, please check its installation and access path.rnrn org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:128)rn org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:351)rn org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:413)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:453)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:437)rn org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:555)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:856)rnrnrnnote The full stack trace of the root cause is available in the Tomcat logs.rnrn类没找到吗??? 原来的可以运行啊?
实在是看不懂??!!!
我想请教各位高手:rn离散数学,关系中的"闭包性质"是什么意思??rn我看的书里面只是讲到如何求一个集合上关系的自反,对称,传递闭包,没有涉及概念rn不知道各位能不能给小弟一个准确的“闭包”的概念??rn顺便还想知道“闭包性质”到底有什么用途??rnthank you everyone!!!rnps:我实在不知道那里能问这种问题。我相信这板块的人都是算法好手rn都学过离散,所以……
小弟看不懂!
if(depot != null && depot.compareTo(String.valueOf(deptid[i]))==0)rn out.print(" "+dept[i]+"");rn elsern out.print(" "+dept[i]+"");rn中的rn"+dept[i]+""rn和rn"+dept[i]+"rn是什么意思;它们有什么区别:rnrn谢谢!!!
看不懂的代码
Private Declare Function GetPrivateProfileString Lib "kernel32" Alias "GetPrivateProfileStringA" (ByVal lpApplicationName As String, ByVal lpKeyName As Any, ByVal lpDefault As String, ByVal lpReturnedString As String, ByVal nSize As Long, ByVal lpFileName As String) As Longrnrn这么长一段啥意思?rn在后面调用了这个函数rnpIntRetValue = GetPrivateProfileString("IRRL FA DB", "SERVER", "FAILED", pStrBuffer, 255, App.Path & "\irrldb.INI")rnrn可是为什么这个函数没函数体?
这句看不懂?
So there is more of a continuum than a sharp cutoff between “composite applications” and “compound documents”.
看不懂这段代码,尤其看不懂第二句
what is the output of this code?rnint[ ] fibs=0,1,1,2,3,5,8;rnint n= fibs.Count(x=>x!=5);rnConsole.WriteLine(n*2);rnrnrnA 12rnB ErrorrnC 10rnD 6rnrnrn正确答案是Arnrn我<em>看不懂</em>这段代码,尤其<em>看不懂</em>第二句int n= fibs.Count(x=>x!=5);rn什么意思?rnrnrn语言是C#rn我找不到合适的版块,就发到这里来了
看不懂程序
boolean isMultipart = FileUpload.isMultipartContent(iRequest);rn rn // Create a factory for disk-based file itemsrn FileItemFactory factory = new DiskFileItemFactory();rn ServletFileUpload upload = new ServletFileUpload(factory);rn if ( !theRTEUploadDir.isDirectory() )rn rn theRTEUploadDir.mkdirs();rn rn // Parse the requestrn List items = upload.parseRequest(iRequest);rnrn Iterator iter = items.iterator();rnrn FileItem item = (FileItem)iter.next();rnrn String name = item.getFieldName();rn if ( name.equals("coursezipfile") ) rn誰能解釋解釋
看不懂的Web.config
下面这行是什么意思?谢rnrn
代码看不懂
下面这段代码是什么意思?rn[code=C/C++]//#include rn#include rn//#include rn#include rn#include rnrnusing namespace std;rnrnint main()rnrncout << "MAC address is: ";rnrn// Ask COM to create a UUID for us. If this machine has an Ethernetrn// adapter, the last six bytes of the UUID (bytes 2-7 inclusive inrn// the Data4 element) should be the MAC address of the localrn// Ethernet adapter.rnUUID uuid;rnCoCreateGuid(&uuid);rn//UuidCreateSequential(&uuid);rn// Spit the address outrnchar mac_addr[18];rnsprintf(mac_addr,"%02X:%02X:%02X:%02X:%02X:%02X",rnuuid.Data4[2],uuid.Data4[3],uuid.Data4[4],rnuuid.Data4[5],uuid.Data4[6],uuid.Data4[7]);rncout << mac_addr << endl;rngetch();rnreturn 0;rn[/code]
看不懂调试信息
[img=http://f18.yahoofs.com/users/45e6c2edzcac88f6e/c74f/__sr_/3c5f.jpg?ph4It2HByj2TjPG.][/img]rn开发环境是vc2003,上图中出现的“unused=???”是什么意思?
看不懂的网络。。。。。
子网掩码为C段,2个不同IP段的电脑可以互相访问,谁能解释下?rnrnC:\>ipconfig /allrnrnWindows IP Configurationrnrn Host Name . . . . . . . . . . . . : aaarn Primary Dns Suffix . . . . . . . :rn Node Type . . . . . . . . . . . . : Unknownrn IP Routing Enabled. . . . . . . . : Norn WINS Proxy Enabled. . . . . . . . : NornrnEthernet adapter 本地连接:rnrn Connection-specific DNS Suffix . :rn Description . . . . . . . . . . . : Realtek RTL8139 FarnNICrn Physical Address. . . . . . . . . : 00-0A-EB-47-C9-79rn DHCP Enabled. . . . . . . . . . . : Norn IP Address. . . . . . . . . . . . : 192.168.88.78rn Subnet Mask . . . . . . . . . . . : 255.255.255.0rn Default Gateway . . . . . . . . . : 192.168.2.218rn DNS Servers . . . . . . . . . . . : 202.103.96.68rn 202.103.96.112rnrnC:\>ping 192.168.2.218 -r 3rnrnPinging 192.168.2.218 with 32 bytes of data:rnrnReply from 192.168.2.218: bytes=32 time<1ms TTL=128rn Route: 192.168.2.218rnrnPing statistics for 192.168.2.218:rn Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),rnApproximate round trip times in milli-seconds:rn Minimum = 0ms, Maximum = 0ms, Average = 0msrn
字典树看不懂
[code=c]#include rnusing namespace std;rn#define Max 26rntypedef struct nodernrn struct node *next[Max];rn int num;rnNode;rn//创建一个新节点rnNode *createNew()rnrn Node *p=new Node;rn for(int i=0;inext[i]=NULL;rn rn p->num=0;rn return p;rnrn//插入一个字符串rnvoid Insert_str(char str[],Node *head)rnrn int len=strlen(str);rn Node *t,*p=head;rn for(int i=0;inext[c]==NULL)rn rnrn t=createNew();rn p->next[c]=t;rn p->num++;rn //coutnext[c];rn rn rnrnint Search_str(char str[],Node *head)rnrn Node *p=head;rn int len=strlen(str);rn int count=0;rn for(int i=0;inext[c]==NULL)rn rnrn cout<<>s,strcmp(s,"quit"))rn rn Insert_str(s,head);rn rn int c=Search_str("abc",head);rn coutnext[c]=t;rn p->num++;rn //coutnext[c];rn rn [/code]rn这一段是什么意思
看不懂的预编译
/////////////////////////////////////////////////////////////////////////////rn// Special configurationsrnrn// _AFXEXT implies _AFXDLLrn#if defined(_AFXEXT) && !defined(_AFXDLL)rn #define _AFXDLLrn#endifrnrn#if defined(_AFXDLL) && !defined(_DLL)rn #error Please use the /MD switch for _AFXDLL buildsrn#endifrnrn#if defined(_AFXDLL) && !defined(_MT)rn #error Please use the /MD switch (multithreaded DLL C-runtime)rn#endifrnrn谁能帮忙解释一下,上面代码什么含义?rnafxdll mt这些是指什么?rnrnrn谢谢。rn
====看不懂例程!!
Private Sub AI_OPEN_Click()rn Dim msec As Doublernrn rn mciWave.UpdateInterval = 0rnrn//为什么要再做一个form来放dlgopenfile?rn//FilterIndex是什么意思?rn frmOpenDlg.dlgOpenFile.FilterIndex = 1rnrn//flags是什么意思?rn frmOpenDlg.dlgOpenFile.Flags = vbOFNReadOnly Or vbOFNFileMustExistrn frmOpenDlg.dlgOpenFile.CancelError = Truernrn//这个文件名藏在form里还是dlgopenfile里?rn frmOpenDlg.dlgOpenFile.FileName = ""rnrn//resume是什么意思?rn On Error Resume Nextrn frmOpenDlg.dlgOpenFile.ShowOpenrnrn If Err <> 0 Thenrn Exit Subrn End Ifrnrnrn If Not mciWave.Mode = vbMCIModeNotOpen Thenrn mciWave.Command = "Close"rn End Ifrnrnrnrn mciWave.FileName = frmOpenDlg.dlgOpenFile.FileNamern//不明白!!!当上面那句错,跳到MCI_ERROR??rn On Error GoTo MCI_ERRORrn mciWave.Command = "Open"rnrn// 0 在哪里???rn On Error GoTo 0rn Caption = DialogCaption + mciWave.FileNamernrn rn//以下均不明白!!!!!!!!!!!!!rn mciWave.TimeFormat = vbMCIFormatMillisecondsrn lblWave.Caption = "0.0"rn msec = (CDbl(mciWave.Length) / 1000)rn lblWaveSec.Caption = Format$(msec, "0.00")rnrn ' Set the scrollbar values.rn hsbWave.value = 0rn CurrentValue = 0#rn Exit SubrnrnMCI_ERROR:rn DisplayErrorMessageBoxrn Resume MCI_EXITrnrnMCI_EXIT:rn Unload frmWavern rnEnd Sub
函数看不懂
能给我详细介绍一下这几个函数吗?rnmemset(),zeromemory(),memchr(),strncpy(),memcpy(),wsprintf()rn谢谢
看不懂的typedef
教科书上一般举例rntypedef A B;rn可以用B代替Arnrn可今天看到:rnrn[color=#0000FF]1. 原声明:int *(*a[5])(int, char*); rn变量名为a,直接用一个新别名pFun替换a就可以了: rntypedef int *(*pFun)(int, char*); rn原声明的最简化版: rnpFun a[5]; rnrn2. 原声明:void (*b[10]) (void (*)()); rn变量名为b,先替换右边部分括号里的,pFunParam为别名一: rntypedef void (*pFunParam)(); rn再替换左边的变量b,pFunx为别名二: rntypedef void (*pFunx)(pFunParam); rn原声明的最简化版: rnpFunx b[10]; [/color]rnrnrn完全<em>看不懂</em>,int *(*a[5])(int, char*);是什么意思?
看不懂的结构
typedef struct _LV_ITEM rnrnUINT mask; //结构成员屏蔽位rnrnint iItem; //表项索引号rnrnint iSubItem; //子表项索引号rnrnUINT state; //表项状态rnrnUINT stateMask; //状态有效性屏蔽位 rnrnLPTSTR pszText; //表项名文本rnrnint cchTextMax; //表项名最大长度rnrnint iImage; // 表项图标的索引号rnrnLPARAM lParam; // 与表项相关的32位数rnrn LV_ITEM; rnrnrn上面<em>看不懂</em>啊那位好心人帮我解释一下,重点给我说说什么叫结构成员屏蔽位?rn什么又叫状态有效性屏蔽位rnrnrnrn
看不懂的错误
<em>看不懂</em>的错误rn[color=#FF0000]rnrnrn--------------------Configuration: 有序单链表类 - Win32 Debug--------------------rnLinking...rn有序单链表类.obj : error LNK2001: unresolved external symbol "public: int __thiscall LinList::he(class LinList const &,class LinList const &)" (?he@?$LinList@H@@QAEHABV1@0@Z)rnDebug/有序单链表类.exe : fatal error LNK1120: 1 unresolved externalsrn执行 link.exe 时出错.rnrn有序单链表类.exe - 1 error(s), 0 warning(s)[/color][size=16px][/size]rnrnrnrn#includern#includern#include"LinList.h"rnvoid main(void)rnrn LinList a;//定义一个名为a的链表rn LinList b;rn LinList c;rn for(int i=0;idata>=item)rn rn rn ListNode *s=new ListNode(item,q->next);rn q->next=s;rn rn size++; rn break;rn rn else rn rn q=p;rn p=p->next;rn rn rn /*if(q->next=NULL)rn ListNode *u=new ListNode(item,NULL);rn q->next=u;*/rnrnrn//----------------------------------------------------rntemplate rnvoid LinList::Deleteitem(int item)rnrn ListNode *q = head, *p=head->next; rn while(p!=NULL)rn rn if(p->data==item) rn rn q->next=p->next;rn size--;rn p=q->next; rn rn else rn rn q = p;rn p=p->next; rn rn rnrn//--------------------------------------rntemplate //构造头结点rnLinList::LinList()rnrn head=new ListNode();rn size=0;rnrn//------------------------------------------rntemplate //析构rnLinList::~LinList(void)rnrn ClearList();//清空rn delete head;rnrn//--------------------------------------rntemplate//取元素个数rnint LinList::ListSize(void)constrnrn return size;rnrn//--------------------------------------rntemplate//判空rnint LinList::ListEmpty(void)constrnrn if(sizesize)rn rn cout<< *p=head->next;rn int i=0;rn while(p!=NULL && inext;rn i++;rn rn return p;rnrn//-------------------------------------------rntemplate//插入rnvoid LinList::Insert(const T &item,int pos)rnrn if(possize)rn rn coutnext=newnode;rn size++;rnrn//----------------------------------------------rntemplate//删除rnT LinList::Delete(int pos)rnrn if(possize-1)rn rn coutnext=p->next->next;rn T data=q->data;rn delete q;rn size--;rn return data;rnrn//-----------------------------------------------rntemplate//取第pos个结点的元素rnT LinList::GetData(int pos)rnrn if(possize-1)rn rn coutnext;rn while(p!=NULL)rn rn p1=p;rn p=p->next;rn delete p1;rn rn size=0;rnrn//------------------------------------------------rntemplate//使currptr指向结点posrnListNode*LinList::Reset(int pos)rnrn if(head==NULL) return NULL;rn if(pos=size)rn rn coutnext;rn return currPtr;rnrn//---------------------------------rntemplate//判到链表尾否rnint LinList::EndOfList(void)constrnrn if(currPtr==NULL) return 1;rn else return 0;rnrnrnrntemplateclass LinList; //前视定义,否则友元类无法定义rntemplateclass CirList; rnrntemplateclass ListNode //定义一个类模板,名为ListNode rnrn friend class LinList; //定义LinList为ListNode的友元类,这样LinList就可以调用ListNodern friend class CirList;rnprivate:rn ListNode *next;//定义了一个类型为ListNode的数据成员nextrnpublic:rn T data;//定义了一个类型为T的数据成员datarnrn ListNode(ListNode* ptrNext=NULL); //构造函数,构造头结点rn ListNode(const T &item,ListNode*ptrNext=NULL); //构造普通结点rn ~ListNode()rn;rnrnrntemplate //模板前缀rn//类名 +:: 函数名( 参 数 )rnListNode::ListNode(ListNode* ptrNext):next(ptrNext)rnrnrntemplaternListNode::ListNode(const T &item,ListNode*ptrNext)rnrn data=item;rn next=ptrNext;rnrn
这段看不懂
public class test extends JFramernrn JScrollPane scrollPane;rn ImageIcon icon;rn rn rn public test()rn rn icon = new ImageIcon("48.gif");rn //这里开始rn JPanel panel = new JPanel()rn rn protected void paintComponent(Graphics g)rn rn g.drawImage(icon.getImage(), 0, 0, null);rn super.paintComponent(g);rn rn ;rn//到这;rn panel.setOpaque( false );rn panel.setPreferredSize( new Dimension(400, 400) );rn scrollPane = new JScrollPane( panel);rn getContentPane().add( scrollPane); rn validate();rn rn rn public static void main(String [] args)rn rn test frame = new test();rn frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);rn frame.setSize(300, 300);rn frame.setLocationRelativeTo( null );rn frame.setVisible(true);rn rnrnrnrn[color=#FF6600]--------------------------------------------------------------------rn以下内容为自动编辑的内容,并非楼主的发贴内容,此仅用于显示而已,并无任何其他特殊作用rn楼主【etgqqw】截止到2008-08-04 21:02:08的历史汇总数据(不包括此帖):rn发帖的总数量:4 发帖的总分数:70 每贴平均分数:17 rn回帖的总数量:4 得分贴总数量:2 回帖的得分率:50% rn结贴的总数量:1 结贴的总分数:20 rn无满意结贴数:0 无满意结贴分:0 rn未结的帖子数:3 未结的总分数:50 rn结贴的百分比:25.00 % 结分的百分比:28.57 % rn无满意结贴率:0.00 % 无满意结分率:0.00 % rn[img=http://p.blog.csdn.net/images/p_blog_csdn_net/java2000_net/381633/o_alert.jpg][/img]楼主该结一些帖子了[/color]rn取消马甲机器人,请点这里:[url=http://www.java2000.net/mycsdn/robotStop.jsp?usern=etgqqw][/url]
看不懂Petshop
<em>看不懂</em>petshop4.0,<em>看不懂</em>设计模式,郁闷散分...
看不懂的异常
SandTable.exe 中的 0x7c812afb 处最可能的异常: Microsoft C++ exception: long @ 0x0012fa28 。rnrn请教大家这是什么异常
看不懂的continue
代码如下。问题是catch代码段中continue的作用我没看明白,我试着将continue给注掉,貌似并未改变运行结果。那放个continue在这里是何意。rn#include rndouble hmean(double a, double b);rnint main()rnrn double x, y, z;rn std::cout << "Enter two numbers: ";rn while (std::cin >> x >> y)rn rn tryrn z = hmean(x,y); rn catch (const char * s)rn rn std::cout << s << std::endl;rn std::cout << "Enter a new pair of numbers: ";rn continue; // 注掉也不影响运行结果,起什么作用??rn rn std::cout << "Harmonic mean of " << x << " and " << yrn << " is " << z << std::endl;rn std::cout << "Enter next set of numbers : ";rn rn std::cout << "Bye!\n";rn return 0;rnrndouble hmean(double a, double b)rnrn if (a == -b)rn throw "bad hmean() arguments: a = -b not allowed";rn return 2.0 * a * b / (a + b);rn
看不懂啊~~~~~~~~~~~~~~
俄罗斯方块游戏的代码段,MShape::iscraft实现了什么功能啊?rn<em>看不懂</em>啊~~~~~~~~~~~~~~rn#include "MShape.h"rnunsigned char ZShape[16]= 1,1,0,0,0,1,1,0,0,0,0,0,0,0,0,0; //ZShapernunsigned char SShape[16]= 0,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0; //SShapernunsigned char LineShape[16]= 1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0; //LineShapernunsigned char TShape[16]= 0,1,0,0,1,1,1,0,0,0,0,0,0,0,0,0; //TShapernunsigned char SquareShape[16]= 0,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0; //SquareShapernunsigned char LShape[16]= 0,0,1,0,0,0,1,0,0,1,1,0,0,0,0,0; //LShapernunsigned char MirroredLShape[16]= 0,1,0,0,0,1,0,0,0,1,1,0,0,0,0,0; //MirroredLShapernunsigned char ZRot1Shape[16]= 0,0,1,0,0,1,1,0,0,1,0,0,0,0,0,0;//ZRot1Shapernunsigned char SRot1Shape[16]= 0,1,0,0,0,1,1,0,0,0,1,0,0,0,0,0; //SRot1Shapernunsigned char LineRot1Shape[16]= 0,1,0,0,0,1,0,0,0,1,0,0,0,1,0,0; //LineRot1Shapernunsigned char TRot1Shape[16]= 0,1,0,0,0,1,1,0,0,1,0,0,0,0,0,0; //TRot1Shapernunsigned char TRot2Shape[16]= 1,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0; //TRot2Shapernunsigned char TRot3Shape[16]= 0,1,0,0,1,1,0,0,0,1,0,0,0,0,0,0; //TRot3Shapernunsigned char LRot1Shape[16]= 1,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0; //LRot1Shapernunsigned char LRot2Shape[16]= 0,1,1,0,0,1,0,0,0,1,0,0,0,0,0,0; //LRot2Shapernunsigned char LRot3Shape[16]= 1,1,1,0,0,0,1,0,0,0,0,0,0,0,0,0; //LRot3Shapernunsigned char MirroredLRot1Shape[16]= 1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0; //MirroredLRot1Shapernunsigned char MirroredLRot2Shape[16]= 0,1,1,0,0,0,1,0,0,0,1,0,0,0,0,0; //MirroredLRot2Shapernunsigned char MirroredLRot3Shape[16]= 0,0,1,0,1,1,1,0,0,0,0,0,0,0,0,0; //MirroredLRot3ShapernMShape::MShape(QPoint *point)rnrn MapX=point->x()/20;rn MapY=point->y()/20;rn Shaper = new unsigned char[4*4];rn Shaper=getShape();rn Shapemargin_d=Shapemargin(Shaper,'d');rn Shapemargin_l=Shapemargin(Shaper,'l');rn Shapemargin_r=Shapemargin(Shaper,'r');rnrnrnrnMShape::~MShape(void)rnrnrnvoid MShape::tranMatrix90(bool k)rnint i,j;rn unsigned char *c=new unsigned char[16];rnrn if(k)for(i=0;i=0;i--)rn rn for(j=0;j=0;j--)rn rn for(i=0;i=Height-3+Shapemargin_d)return true;rnfor(i=0;i=0;j--)rn if(*(map+Width*(j+MapY)+i+MapX)&&*(Shaper+j*4+i))return true;rnrnreturn false;rn
完全看不懂~
[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/onion/18.gif][/img]rnrnrnHELLOWIN.Crn rn/*------------------------------------------------------------------------rn rn HELLOWIN.C -- Displays "Hello, Windows 98!" in client arearn rn (c) Charles Petzold, 1998rn rn-----------------------------------------------------------------------*/rn rn#include rn rnrnLRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM) ;rn rnrnint WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,rn rn PSTR szCmdLine, int iCmdShow)rn rnrn rn static TCHAR szAppName[] = TEXT ("HelloWin") ;rn rn HWND hwnd ;rn rn MSG msg ;rn rn WNDCLASwndclass ;rn rnrn wndclass.style = CS_HREDRAW | CS_VREDRAW ;rn rn wndclass.lpfnWndProc = WndProc ;rn rn wndclass.cbClsExtra = 0 ;rn rn wndclass.cbWndExtra = 0 ;rn rn wndclass.hInstance = hInstance ;rn rn wndclass.hIcon = LoadIcon (NULL, IDI_APPLICATION) ;rn rn wndclass.hCursor = LoadCursor (NULL, IDC_ARROW) ;rn rn wndclass.hbrBackground= (HBRUSH) GetStockObject (WHITE_BRUSH) ;rn rn wndclass.lpszMenuNam = NULL ;rn rn wndclass.lpszClassName= szAppName ;rn rnrn if (!RegisterClass (&wndclass))rn rn rn rn MessageBox ( NULL, TEXT ("This program requires Windows NT!"),rn rn szAppName, MB_ICONERROR) ;rn rn return 0 ;rn rn 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 parametersrn rn rn rn ShowWindow (hwnd, iCmdShow) ;rn rn UpdateWindow (hwnd) ;rn rn rn rn while (GetMessage (&msg, NULL, 0, 0))rn rn rn rn TranslateMessage (&msg) ;rn rn DispatchMessage (&msg) ;rn rn rn rn return msg.wParam ;rn rnrn rnrnLRESULT CALLBACK WndProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)rn rnrn rn HDC hdc ;rn rn PAINTSTRUCT ps ;rn rn RECT rect ;rn rn rn rn switch (message)rn rn rn rn case WM_CREATE:rn rn PlaySound (TEXT ("hellowin.wav"), NULL, SND_FILENAME | SND_ASYNC) ;rn rn return 0 ;rn rnrn case WM_PAINT:rn rn hdc = BeginPaint (hwnd, &ps) ;rn rn rn rn GetClientRect (hwnd, &rect) ;rn rn rn rn DrawText (hdc, TEXT ("Hello, Windows 98!"), -1, &rect,rn rn DT_SINGLELINE | DT_CENTER | DT_VCENTER) ;rn rn EndPaint (hwnd, &ps) ;rn rn return 0 ;rn rn rn rn case WM_DESTROY:rn rn PostQuitMessage (0) ;rn rn return 0 ;rn rn rn rn return DefWindowProc (hwnd, message, wParam, lParam) ;rn rnrn---------------------------------------------------rn窗口消息处理程序接收的第一个消息-也是WndProc选择处理的第一个消息-是WM_CREATE。当Windows在WinMain中处理CreateWindow函数时,WndProc接收这个消息。就是说,在HELLOWIN呼叫CreateWindow时,Windows将做一些它必须做的工作。在这些工作中,Windows呼叫WndProc,将第一个参数设定为窗口句柄,第二个参数设定为WM_CREATE。WndProc处理WM_CREATE消息并将控制传回给Windows。 Windows然后可以从CreateWindow呼叫中传回到HELLOWIN中,继续在WinMain中进行下一步的处理。rnrncreatewindow 的时候 wndproc就开始工作了?createwindow代码不是在wndproc前面么?
看不懂的oracle
我学了一下oracle,我在oracle for nt上建了一个数据库,想create table,但不知如何open 数据库,请指点rn另外,本人是sybase工程师,感到oracle与sybase不同,没有sybase好理解,你有什么想法吗?
看不懂错误提示!
OverloadDemo.java:50: cannot resolve symbolrnsymbol : class Graphicsrnlocation: class OverloadDemorn public void paint(Graphics g)rn ^rn1 errorrnrn什么意思?怎么改?
求助,看不懂
function &bar()rnrn $a = 5;rn return $a;rnrn引用函数有什么用?rnfoo(bar());rn这样有什么意义?
看不懂的jnz
00461A20 |. 8D7E 4C LEA EDI,DWORD PTR DS:[ESI+4C]rn00461A23 |. B9 04000000 MOV ECX,4rn00461A28 |. 8D7424 08 LEA ESI,DWORD PTR SS:[ESP+8]rn00461A2C |. 33C0 XOR EAX,EAXrn00461A2E |. F3:A7 REPE CMPS DWORD PTR ES:[EDI],DWORD PTR DS:[ESI]rn00461A30 |. 5F POP EDIrn00461A31 |. 5E POP ESIrn00461A32 |. 8D4C24 10 LEA ECX,DWORD PTR SS:[ESP+10]rn00461A36 |. C74424 74 FFFF>MOV DWORD PTR SS:[ESP+74],-1rn00461A3E |. 75 0A JNZ SHORT 00461A4Arnrnrn--最后一句的JNZ啥时候会跳转啊?rn--为什么JNZ的前面一句,不是TEST或CMP,那它是判断什么不等于才跳转的?rn
看不懂
#include rnrnusing namespace std;rnrnclass Foornrnpublic:rn Foo()rn rn cout << "default constructor" << endl;rn rnrn Foo(const Foo &)rn rn cout << "copy construction" << endl;rn rnrn ~Foo()rn rn cout << "destructor" << endl;rn rnrn Foo& operator=(Foo &rhs)rn rn cout << "assignment" << endl;rn return *this;rn rn;rnrnrnFoo GetAFoo()rnrn Foo foo;rn return foo;rnrnrnrnint main()rnrn Foo foo1;rn Foo foo2;rn foo1 = GetAFoo(); // generates compiler errorrn foo2 = foo1; // compiles OKrn return 0;rnrnrnrnrn注意:编译时提示错误,我看过答案,说是将一个全局变量赋给了一个临时变量,而临时变量是不可修改的,可我还看不明白到底谁修改了谁?请高手指点。
代码看不懂
rn
看不懂的东东!!!
看c++primer第4章,有这样一个语句:rnif (ia[index++])
看不懂!
请问一下,这本书要到什么样的程度才能看得懂呀?
面试题,看不懂
main()rnrnshort i=0;rnprintf("positive =0x%04x,Negative=0x%04x\n",i,-i);rnrnrnif this code executed on the machine of one's Complement,what's the result?rnrnif this code executed on the machine of two's Complement,what's the result?rn请问:rnone's Complement和two's Complement是什么意思?此题答案???rn
脚本看不懂??
rn
看不懂的方法!!!
OleDbDataReader.GetValuesrn的这个方法一直没理解到意思,,MSDN讲的太难理解了
异常信息看不懂
tomcat给出“javax.servlet.ServletException: Before start of result set”rn的异常信息,<em>看不懂</em>,问题出在哪儿?哪位高手可告诉我rn
看不懂的程序
将一个5*5的矩阵中最大的元素放在中心,四个角分别放四个最小的元素(顺序从左到右,从上到下顺序依次从小到大存放),写一函数实现之,用main函数调用。rn#include"stdio.h"rn#define N 5 rnvoid Pai(int *); rnrnvoid main()rnrnint ch[N][N],i,*pt=ch[0];rnrn//让计算机给变量赋值rnrnfor(i=0;i*(pt+i)=i;/*请问这里为什么可以那么做呀??用i*(pt+i)=i是做什么用rnPai(ch[0]);rnrn//输出处理过的数字rnfor(i=0;irnif(i%N==0) //控制格式rnprintf("\n");rnprintf("%5d",*(pt+i));rnrnprintf("\n");rnrnrnvoid Pai(int *p)rnrnint temp,i,j,k,d,n;rnrnd=k=0;rnn=1;rnrn//求出最大数rnfor(i=1;iif(*(p+k)1&&j==N-1)rncontinue;rnif(i>2&&j==N*(N-1))rncontinue;rnif(*(p+k)>*(p+j))rnk=j;rnrnrn//交换数值rntemp=*(p+d);rn*(p+d)=*(p+k);rn*(p+k)=temp;rnrnrnrn
XML,看不懂
rn rn rn rn rn rnrnrn上面的Schema代码,定义了一个元素,我想问:rn这个元素的name属性值是"Book"还是"title",是怎么个意思啊,嵌套元素吗?rncomplexType和sequence是对哪个起作用的啊?
windows核心编程 看不懂
怎么办?
看不懂,求助
#includernmain()rnrn char ch;rn while((ch=getchar()) !=EOF)rn rn putchar(ch);rn rnrn这个程序是什么意思,请高手赐教!
看不懂的错误。。
#include rn#includern#includernstruct snakern int x;rn int y;rn struct snake *previous;rn struct snake *next;rn;rnstruct snake *head,*pt,*tail; rnint main()rn rn head=(struct snake*)malloc(sizeof(snake));rn head->x=200;rn printf("%d\n",head->x);rn system("pause");rn return 0;rnrn为什么我写这段代码调试的时候,监视head->x,编译器VS说运算符要求类和联合?rn而我这么写的时候rn#include rn#includern#includernint main()rnrn struct snakern int x;rn int y;rn struct snake *previous;rn struct snake *next;rn;rn struct snake *head,*pt,*tail; rn head=(struct snake*)malloc(sizeof(snake));rn head->x=200;rn printf("%d\n",head->x);rn system("pause");rn return 0;rnrn监视head->x又显示的是200???谁能说下吗??rn
看不懂的源代码?
我的网页的源代码里总是有虚虚的这个代码?rn它是什么意思啊?会不会对我做的网页有不好的影响?去掉它可以吗?rn谢谢回答!
看不懂的正则表达式
rnrn本例将输出: rnrndomain name is: php.netrn rn到底是怎么匹配出来的啊rn怎么就是看不明白呢rn谁能告诉我怎样才能匹配出主机名吗rn就是比如http://smart.php.net/中的smart
程序看不懂
# includernint c;rnfunc(int *a,int b)rnc=(*a)*b;*a=b-1;b++;rnreturn(*a+b+1);rnrnmain()rnint a=4,b=2,p=0;rnp=func(&b,a);rnprintf("%d,%d,%d,%d#",a,b,c,p);rnrn结果是什么?以及怎么理解啊!
看不懂 !
[color=#FF0000] [/color]rnrn别人写的这个代码什么鸟意思啊 ? ... 这年头没水平真难过 .... 哎!
看不懂嘿。
for(int i=1;i<=m;i++) f[i]=i;rnrnint Find(int x)rnrn if(f[x]==x) return x;rn else f[x]=Find(f[x]);return f[x];rn
看不懂的东东.
implementationrnrnuses Unit2, Unit3;rnrnvarrn a:TFrame2;rn b:TFrame3;//这个是什么类呀.rn$R *.dfmrnrnprocedure TForm1.Button1Click(Sender: TObject);rnbeginrn if assigned(a) then a.Freern //请问ASSIGNED各A.FREE是什么意思,rn elsern if assigned(b) then b.Free;rn b:=TFrame3.Create(self);rn TFRAME是什么类呀,SELF是不是正常现视的意思呀?rn b.Parent:=Panel1;rn //PARENT和PANEL1是什么意思rn b.Align:=alClient;rn //ALIGN和ALCLIENT也不明白.rn b.Show;rnend;rn
看不懂怎么办?
我打算考初级程序员,于是我买了教程,可是初级程序员的教程让我感觉写的太笼统,不细致,好多内容看不太懂,不知该怎么办,请前辈告诉我!
参数看不懂
书上讲队列的操作,一个桉树我<em>看不懂</em>。rnrnvoid insert_queue(queue_Node *&data,int pos)rn...rnrnrn*我知道是指针指向的对象,&是对象的指针。那*&是什么意思啊?难道相互抵消?不解?
求助。。。看不懂
int X=01,Y=02,Z=03,求X|Y&~Arn请问这一题是怎么看的呀,,X,Y,Z是数字还是什么东西呀。。。帮忙介绍一下
看不懂的声明
typedef void(*PFUN)(HWND,UINT,WPARAM,LPARAM);rnrn这是一个窗口类的前向声明,请问大家什么意思?
看不懂的错误???
ERROR - Context initialization failedrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dictionMaintainBizProxy' defined in rnrnServletContext resource [/WEB-INF/applicationContext_baseinfo.xml]: Invocation of init method failed; nested exception is rnrnjava.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(ILjava/lang/String;Ljava/lang/String;rnrn[Ljava/lang/String;Ljava/lang/String;)VrnCaused by: rnjava.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(ILjava/lang/String;Ljava/lang/String;rnrn[Ljava/lang/String;Ljava/lang/String;)Vrn at net.sf.cglib.core.ClassEmitter.begin_class(ClassEmitter.java:99)rn at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:205)rn at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:63)rn at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:190)rn at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:177)rn at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:149)rn at net.sf.cglib.proxy.Enhancer.(Enhancer.java:96)rn at org.springframework.aop.framework.Cglib2AopProxy.createEnhancer(Cglib2AopProxy.java:224)rn at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:151)rn at org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.java:110)rn at org.springframework.aop.framework.AbstractSingletonProxyFactoryBean.getProxyrnrn(AbstractSingletonProxyFactoryBean.java:187)rn at org.springframework.aop.framework.AbstractSingletonProxyFactoryBean.afterPropertiesSetrnrn(AbstractSingletonProxyFactoryBean.java:159)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethodsrnrn(AbstractAutowireCapableBeanFactory.java:1201)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBeanrnrn(AbstractAutowireCapableBeanFactory.java:1171)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanrnrn(AbstractAutowireCapableBeanFactory.java:425)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingletonrnrn(DefaultSingletonBeanRegistry.java:156)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletonsrnrn(DefaultListableBeanFactory.java:284)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)rn at org.springframework.web.struts.ContextLoaderPlugIn.createWebApplicationContext(ContextLoaderPlugIn.java:355)rn at org.springframework.web.struts.ContextLoaderPlugIn.initWebApplicationContext(ContextLoaderPlugIn.java:296)rn at org.springframework.web.struts.ContextLoaderPlugIn.init(ContextLoaderPlugIn.java:225)rn at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:839)rn at org.apache.struts.action.ActionServlet.init(ActionServlet.java:332)rn at javax.servlet.GenericServlet.init(GenericServlet.java:212)rn at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)rn at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:992)rn at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4371)rn at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3099)rn at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:404)rn at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1309)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)rn at java.lang.Thread.run(Thread.java:619)
c#图解教程 第4版 part1 rar(共3部分看我上传所有资源)下载
不多说了 绝对好书一本 只要1个积分 绝对便宜;绝对清晰 不清晰分数两倍返还 本人也正要学习 下面是当当网对本书的推荐: 大家时间都很宝贵 三分钟就能理解的技术细节 干嘛要花三个小时   C#图解教程 第4版 被誉为C#入门图书中的“神书” 是高效 深入掌握C#的不二之选   “想通过学习C#为你的编程生涯打下坚实的基础 这本书是我发自内心推荐给你的 ”   为什么那么多C#学习者对《C#图解教程》有口皆碑 令这本书一版再版 长销不衰 因为作者创造了一种全新的可视化叙述方式 他在书中通过把大量的图 表和代码片段有机结合 把很多同类书需要好几页才能讲清楚的技术细节 形象 直观 一目了然地呈 相关下载链接:[url=//download.csdn.net/download/hyltls/7997127?utm_source=bbsseo]//download.csdn.net/download/hyltls/7997127?utm_source=bbsseo[/url]
C8051F350 测试程序下载
含24bitAD的C8051F350单片机的测试程序 相关下载链接:[url=//download.csdn.net/download/Washington0503/2925564?utm_source=bbsseo]//download.csdn.net/download/Washington0503/2925564?utm_source=bbsseo[/url]
PHP源码:企业快信下载
用PHP+MySql编写的企业快信系统,附带系统配置说明,有不错的参考价值! 相关下载链接:[url=//download.csdn.net/download/caodinke/4535566?utm_source=bbsseo]//download.csdn.net/download/caodinke/4535566?utm_source=bbsseo[/url]
我们是很有底线的