程序调试出现错误,求大神解答

#include
#include
struct Seqlist /*定义结构体类型*/
{
int maxnum; /*顺序表中可以存放元素的个数*/
int n; /*实际存放在线性表中元素的个数*/
DataType * element;

}
typedef struct Seqlist * Pseqlist;

Pseqlist CreateNullList-seq(int m) /*创建新的顺序表*/
{
Pseqlist palist =(Pseqlist)malloc(sizeof(struct Seqlist));
if (palist !=NULL)
{
palist.element=(DataType*)malloc(sizeof(DataType)*m)
if(palist.element)
{
palist.maxnum=m;
palist.n=0;
return palist;
}
else free palist;
}
printf("out of space!!!\n");
return NULL;
}

int evaluate(palist.element[i]) /*初始化线性表*/
{
for(i=0;i<m;i++)
{
palist.element[i]=0; /*使表中元素的值为1*/
}
return 0;
}

int board-turning(palist.element[j]) /*翻牌操作*/
{
for(i=0;i<m;i++)
{
for(j=0;j<m;j++)
{
if(palist.element[j]%i==0);
palist.element[j]=1
}
}
}

int main()
{
int i,j;
int m=52
Pseqlist CreateNullList-seq(int m); /*调用函数的声明*/
int evaluate(palist.element[i]); /*调用函数的声明*/
int board-turning(palist.element[j]); /*调用函数的声明*/
CreateNullList-seq(int m);

evaluate(palist.element[i]);
board-turning(palist.element[j]);
for(i=0;i<m;i++)
{
if(palist.element[i]==0)
{
printf("%d",i);
}
}
return 0;
}

这是数据结构纸牌游戏的程序,调试出现错误,有谁可以帮忙看看吗?感激不尽

3个回答

palist是指针,后面是不能跟作用域运算符的,也没看到你的DataType的定义

hehehehahahahaha
hehehehahahahaha 弱弱问一句,哪个是作用域运算符
接近 3 年之前 回复

palist后的小数点 .

hehehehahahahaha
hehehehahahahaha 我还想问问怎么定义DataType,书上也没说,百度上答案挺乱的,谢谢
接近 3 年之前 回复

学习最终要靠自己,好好学数据结构吧

hehehehahahahaha
hehehehahahahaha 谢谢
接近 3 年之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
struts2和spring整合出现错误,求大神解答
一月 09, 2015 9:59:52 下午 org.apache.catalina.core.StandardContext listenerStartrnSEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerrnjava.lang.NoSuchMethodError: org.springframework.beans.factory.annotation.InjectionMetadata.(Ljava/lang/Class;)Vrn at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findPersistenceMetadata(PersistenceAnnotationBeanPostProcessor.java:350)rn at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(PersistenceAnnotationBeanPostProcessor.java:296)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyMergedBeanDefinitionPostProcessors(AbstractAutowireCapableBeanFactory.java:798)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:493)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)rn at org.apache.catalina.core.StandardService.start(StandardService.java:525)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:595)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:606)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rn一月 09, 2015 9:59:52 下午 org.apache.catalina.core.StandardContext startrnSEVERE: Error listenerStartrn一月 09, 2015 9:59:52 下午 org.apache.catalina.core.StandardContext startrnSEVERE: Context [/MyOA] startup failed due to previous errorsrnrn以上是错误提示。rn我的监听器配置如下:rn[img=https://img-bbs.csdn.net/upload/201501/09/1420812144_769869.png][/img]rn我的路径如下:rn[img=https://img-bbs.csdn.net/upload/201501/09/1420812215_538155.png][/img]rnrn百度了好久都没解答出来,包也导入了。
使用hibernate注解出现错误,求大神解答
[color=#FF0000]四月 22, 2017 2:23:31 下午 org.hibernate.Version logVersionrnINFO: HHH000412: Hibernate Core 5.1.0.Finalrn四月 22, 2017 2:23:31 下午 org.hibernate.cfg.Environment rnINFO: HHH000206: hibernate.properties not foundrn四月 22, 2017 2:23:31 下午 org.hibernate.cfg.Environment buildBytecodeProviderrnINFO: HHH000021: Bytecode provider name : javassistrn四月 22, 2017 2:23:31 下午 org.hibernate.annotations.common.reflection.java.JavaReflectionManager rnINFO: HCANN000001: Hibernate Commons Annotations 5.0.1.Finalrn四月 22, 2017 2:23:31 下午 org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl configurernWARN: HHH10001002: Using Hibernate built-in connection pool (not for production use!)rnException in thread "main" org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]rn at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:244)rn at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:208)rn at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:189)rn at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:51)rn at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:94)rn at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:217)rn at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:189)rn at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.handleTypes(MetadataBuildingProcess.java:352)rn at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:111)rn at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.build(MetadataBuildingProcess.java:83)rn at org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:418)rn at org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:87)rn at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:692)rn at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:724)rn at test.HibernateUtil.getSessionFactory(HibernateUtil.java:32)rn at test.PersonManager.createAndStorePerson(PersonManager.java:20)rn at test.PersonManager.main(PersonManager.java:9)rnCaused by: org.hibernate.boot.registry.classloading.spi.ClassLoadingException: Unable to load class [com.mysql.jdbc.Driver]rn at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.classForName(ClassLoaderServiceImpl.java:229)rn at org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl.loadDriverIfPossible(DriverManagerConnectionProviderImpl.java:161)rn at org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl.buildCreator(DriverManagerConnectionProviderImpl.java:117)rn at org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl.configure(DriverManagerConnectionProviderImpl.java:73)rn at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:94)rn at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:217)rn at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:189)rn at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.buildJdbcConnectionAccess(JdbcEnvironmentInitiator.java:145)rn at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:66)rn at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:35)rn at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:88)rn at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:234)rn ... 16 morernCaused by: java.lang.ClassNotFoundException: Could not load requested class : com.mysql.jdbc.Driverrn at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl$AggregatedClassLoader.findClass(ClassLoaderServiceImpl.java:217)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:424)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:357)rn at java.lang.Class.forName0(Native Method)rn at java.lang.Class.forName(Class.java:348)rn at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.classForName(ClassLoaderServiceImpl.java:226)rn ... 27 more[/color]rnrnrn[b]HibernateUtil.java[/b]rn[code=java]package test;rnrnimport org.hibernate.SessionFactory;rnimport org.hibernate.cfg.AnnotationConfiguration;rnimport org.hibernate.cfg.Configuration;rnrnrnpublic class HibernateUtil rn /*private static SessionFactory sessionFactory;rnrn static rnrn try rnrn // Create the SessionFactory from hibernate.cfg.xmlrnrn SessionFactory sessionFactory =new AnnotationConfiguration().configure().buildSessionFactory();rnrn catch (Throwable ex) rnrn // Make sure you log the exception, as it might be swallowedrnrn System.err.println("Initial SessionFactory creation failed." + ex);rnrn throw new ExceptionInInitializerError(ex);rnrn rnrn */rnrn public static SessionFactory getSessionFactory() rn SessionFactory sessionFactory =new Configuration().configure().buildSessionFactory();rn return sessionFactory;rnrn rn[/code]rnrn[b]PersonManager.java[/b]rn[code=java]package test;rnrnimport org.hibernate.Session;rnrnpublic class PersonManager rnrn public static void main(String[] args) rnrn createAndStorePerson();rnrn HibernateUtil.getSessionFactory().close();rnrn rnrn rnrn private static void createAndStorePerson() rnrn Session session = // 通过Session工厂获取Session对象rn HibernateUtil.getSessionFactory().getCurrentSession();rn session.beginTransaction(); //开始事务rnrn rnrn Teacher person = new Teacher();rnrn person.setUsername("何小景");rnrn person.setAge(26);rnrn session.save(person);rnrn rnrn session.getTransaction().commit(); // 提交事务rnrn rnrn [/code]rnrn[b]Teacher.java[/b]rn[code=java]package test;rnrnimport java.io.Serializable;rnrnrnimport javax.persistence.*;rnrnimport org.hibernate.annotations.GenericGenerator;rnrnrn@Entity // 表示为实体类rnrn@Table(name="t_teacher") // 表名注解rnrnpublic class Teacher implements Serializable rnrn rnrn private int id;rnrn private String username;rnrn private int age;rnrn rnrn @Id // 表示主键rnrn @GenericGenerator(name = "generator", strategy = "native") @GeneratedValue(generator = "generator") // 自增长rnrn @Column(name = "id") // 类属性对应着表字段rnrn public int getId() rnrn return id;rnrn rnrn public void setId(int id) rnrn this.id = id;rnrn rnrn rnrn @Column(name="t_username") // 类属性对应着表字段rnrn public String getUsername() rnrn return username;rnrn rnrn rnrn public void setUsername(String username) rnrn this.username = username;rnrn rn rnrn @Column(name="t_age") // 在实体类属性进行注解,类属性对应着表字段rn public int getAge() rnrn return age;rnrn rnrn public void setAge(int age) rnrn this.age = age;rnrn rn rn[/code]rnrn[b]hibernate.cfg.xml[/b]rn[code=java]rnrnrnrnrnrn mysqlrn rn jdbc:mysql://localhost:3306/hxjrn rn rootrn 1234rn rn com.mysql.jdbc.Driverrn rn rn org.hibernate.dialect.MySQLDialectrn rnrnrnrn[/code]rn[size=18px][b][color=#FF0000]rn我导入的包rnejb3-persistence.jarrnhibernate-commons-annotations.jarrnhibernate-jpa-2.0-api-1.0.1.Final.jarrnhibernate-annotations.jar[/color][/b][/size]rnrnrnrnrnrnrnrnrnrnrn把 SessionFactory sessionFactory =new Configuration().configure().buildSessionFactory();改为rn SessionFactory sessionFactory =new AnnotationConfiguration().configure().buildSessionFactory();出现下面错误rn[color=#FF0000]SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".rnSLF4J: Defaulting to no-operation (NOP) logger implementationrnSLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.rn四月 22, 2017 3:01:16 下午 org.hibernate.Version logVersionrnINFO: HHH000412: Hibernate Core 5.1.0.Finalrn四月 22, 2017 3:01:16 下午 org.hibernate.cfg.Environment rnINFO: HHH000206: hibernate.properties not foundrn四月 22, 2017 3:01:16 下午 org.hibernate.cfg.Environment buildBytecodeProviderrnINFO: HHH000021: Bytecode provider name : javassistrnException in thread "main" java.lang.NoSuchFieldError: namingStrategyrn at org.hibernate.cfg.AnnotationConfiguration.reset(AnnotationConfiguration.java:250)rn at org.hibernate.cfg.Configuration.(Configuration.java:125)rn at org.hibernate.cfg.Configuration.(Configuration.java:119)rn at org.hibernate.cfg.AnnotationConfiguration.(AnnotationConfiguration.java:108)rn at test.HibernateUtil.getSessionFactory(HibernateUtil.java:32)rn at test.PersonManager.createAndStorePerson(PersonManager.java:20)rn at test.PersonManager.main(PersonManager.java:9)rnrn[/color]rnrn
程序调试出现错误
程序运行时出现如下错误rnrnRun-Time Check Failure #3-The variable 'tree'is being used without being initializedrn求指教rn程序简单,勿见笑rn#includern#includernusing namespace std;rntypedef struct BiNodernrn char data;rn struct BiNode *lchild,*rchild;rnBinode,*BiTree;rnBinode *createbitree(Binode *T)rnrn char ch;rn ch=getchar();rn if(ch=='@')rn T=NULL;rn elsern rn T=(Binode *)malloc(sizeof(Binode));rn T->data;rn T->lchild=createbitree(T->lchild);rn T->rchild=createbitree(T->rchild);rn rn return T;rnrnvoid main()rnrn Binode *tree;rn //tree=(Binode *)malloc(sizeof(Binode));rn tree=createbitree(tree);rnrnrn
运行出现错误,求解答,
代码rn#include rnint main()rnrnrn std::cout<<"五年级一班数学成绩表\n";rn std::cout<<"首先是第一名许凡的成绩:\t"<<100;rn std::cout<
大神求解答 linux平台下载android源代码出现错误
fatal: remote error: access denied or repository not exported: /platform/abi/cpp.gitrnerror: Cannot fetch platform/abi/cpprn[: 8: 1: unexpected operatorrnrn真的是不知道怎么办了。rnrn另外,我的安装路径木有在主目录下,而是在挂载的硬盘里,应该不会有影响吧?rnrn跪求大神们帮忙解决,已经快一星期了,我技术比较差,试了我所能搜到的任何方法都不行。。。rnrn多谢多谢!
PHP网站出现500的错误,无法打开,求大神解答怎么回事?
网站的网址是www.lsxwzx.com
Java程序出现错误不知是何原因,求大神解答
![图片说明](https://img-ask.csdn.net/upload/201608/31/1472622774_648515.png)![图片说明](https://img-ask.csdn.net/upload/201608/31/1472622780_676315.png)nn如图,一个关于监听器的程序,写的时候没错啊,运行报错了,求问为什么and怎么解决~thx!
写的一个windows的窗口出现如下错误,求大神解答
#include // include the basic windows header filernrn// the entry point for any Windows programrnint WINAPI WinMain(HINSTANCE hInstance,rn HINSTANCE hPrevInstance,rn LPSTR lpCmdLine,rn int nShowCmd)rnrn // create a "Hello World" message box using MessageBox()rn MessageBox(NULL,rn L"Hello World!",rn L"Just another Hello World program!",rn MB_ICONEXCLAMATION | MB_OK);rnrn // return 0 to Windowsrn return 0;rnrn错误:rn1>MSVCRTD.lib(crtexe.obj) : error LNK2019: 无法解析的外部符号 _main,该符号在函数 ___tmainCRTStartup 中被引用rn1>D:\3dgame\3dgame\Debug\3dgame.exe : fatal error LNK1120: 1 个无法解析的外部命令
JSF项目运行出现错误,求大神解答
项目运行后报:org.apache.jasper.JasperException: /index.jsp(4,58) Unable to read TLD "META-INF/jsf_core.tld" from JAR file "file:/C:/DevWorkspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapp
SSD网络训练数据时出现错误求大神解答
在训练数据时,运行ssd_pascal.bat文件在cmd命令窗口中出现如图中[img=https://img-bbs.csdn.net/upload/201806/11/1528710775_811598.png][/img]所示的错误,也就是这个Error:flag'--solver'is missing its argument;flag description:The solver definition protocol buffer text file请问有没有大神知道怎么解答?
c#程序调试出现这个错误
程序调试的时候出现这个错误rnrnrnrn“System.Data.SqlClient.SqlConnection”同时存在于“c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.dll”和“e:\visual studio 2005\Common7\IDE\PublicAssemblies\System.Data.SqlClient.dll”中 D:\我的文档\Visual Studio 2005\Projects\WindowsApplication4\WindowsApplication4\Form1.cs rnrnrn这个是为什么,怎么解决啊?
一个程序调试中出现的错误
程序报错:rnException EAccessViolation in module GDI32.DLL at 0000A400.Access Violation at address 77F4A400 in module 'GDI32.DLL'.Read of address 0017C000.rn怎么办?rn
ajax出现小问题,求大神解答
这是ajax中js的原生态编码,![图片说明](https://img-ask.csdn.net/upload/201608/04/1470312911_706221.png)注释标注的那一部分有问题,send方法没办法把数据发送到servlet中去rn这是servlet的编码![图片说明](https://img-ask.csdn.net/upload/201608/04/1470313174_335754.png)rn顺便说一下,alert(this.value)是可以输出值的,这个可以肯定没问题,而且要获取参数的话,只能在jstl标签中获取
初学jdbc出现的问题,求大神解答!
[code=java]class ConnMySqlrnrn public static void main(String[] args) throws Exceptionrn rn rn Class.forName("com.mysql.jdbc.Driver");rn try(rn rn Connection conn = DriverManager.getConnection(rn "jdbc:mysql://localhost:3306/select_test"rn , "root" , "1994");rn rn Statement stmt = conn.createStatement();rn rn ResultSet rs = stmt.executeQuery("select s.* , teacher_name"rn + " from student_table s , teacher_table t"rn + " where t.teacher_id = s.java_teacher"))rn rn rn while(rs.next())rn rn System.out.println(rs.getInt(1) + "\t"rn + rs.getString(2) + "\t"rn + rs.getString(3) + "\t"rn + rs.getString(4));rn rn rn rnrn[/code]rnrn[img=https://img-bbs.csdn.net/upload/201404/27/1398587753_755493.jpg][/img]rnrn求助!
drawable 错误新手求安卓大神解答
title xml![图片说明](https://img-ask.csdn.net/upload/201707/28/1501229672_695883.jpg)nnactivity_main.xml![图片说明](https://img-ask.csdn.net/upload/201707/28/1501229699_67668.jpg)n主程序![图片说明](https://img-ask.csdn.net/upload/201707/28/1501229716_730211.jpg)nlogcat![图片说明](https://img-ask.csdn.net/upload/201707/28/1501229733_109614.jpg)nn求解答
求大神解答 错误找不到符号
照着源程序检查半天也没看出哪里错了 错误:找不到符号rn[img=https://img-bbs.csdn.net/upload/201412/22/1419241776_426714.png][/img]
求大神解答!!!!String转int错误
我是用structs2框架写的rn我的jsp页面代码rnrn id:rn rn rn rn 用户名:rn rn后台action代码:rnpublic String update() throws Exceptionrn String username=request.getParameter("username");rn String password=request.getParameter("password");rn //int id=Integer.parseInt(""+request.getParameter("id"));rn //int id= request.getParameter("id");rn //System.out.println(id);rn /*int id=Integer.parseInt(request.getParameter("id"));*/rn int id=0;rn try id=Integer.parseInt(request.getParameter("id"));rn rn catch(NumberFormatException e)rn //i=0;rn e.printStackTrace();rn rn UserDao userdao=new UserDao();rn User u=new User();rn u.setId(id);rn u.setUsername(username);rn u.setPassword(password);rn userdao.update(u);rn return SUCCESS;rn rn rnrn当进行更新的时候老是报错,rn六月 05, 2016 10:11:13 上午 org.apache.catalina.core.ApplicationDispatcher invokern严重: Servlet.service() for servlet jsp threw exceptionrnjava.lang.NumberFormatException: For input string: "id"rn at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)rn at java.lang.Integer.parseInt(Integer.java:492)rn at java.lang.Integer.parseInt(Integer.java:527)rn at javax.el.ListELResolver.coerce(ListELResolver.java:173)rn at javax.el.ListELResolver.getValue(ListELResolver.java:52)rn at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:67)rn at org.apache.el.parser.AstValue.getValue(AstValue.java:183)rn at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:185)rn at org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:986)rn at org.apache.jsp.updateUser_jsp._jspService(updateUser_jsp.java:95)rn at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)rn at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)rn at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)rn at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)rn at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)rn at org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:159)rn at org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:186)rn at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:373)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:277)rn at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:176)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)rn at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:263)rn at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)rn at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:133)
网络图片读取错误。求大神解答
废话不说直接上源码rnrnrnpublic class MainActivity extends Activity rn private Handler mHandler;rn Bitmap bmImg;rn ImageView imView;rn String imageUrl = "http://hiphotos.baidu.com/baidu/pic/item/7d8aebfebf3f9e125c6008d8.jpg";rnrn @Overridern public void onCreate(Bundle savedInstanceState) rn super.onCreate(savedInstanceState);rn setContentView(R.layout.activity_main);rn new Thread()rn @Overridern public void run() rn // TODO Auto-generated method stubrn a.sendEmptyMessage(0x111);rn rn .start();rn rn rn Handler a = new Handler() rn @Overridern public void handleMessage(Message msg) rn // TODO Auto-generated method stubrn if (msg.what == 0x111) rn imView = (ImageView) findViewById(R.id.imview);rn imView.setImageBitmap(returnBitMap(imageUrl));rn rn rn ;rnrn public Bitmap returnBitMap(String url) rn URL myFileUrl = null;rn Bitmap bitmap = null;rn try rn myFileUrl = new URL(url);rn catch (MalformedURLException e) rn e.printStackTrace();rn rn try rn HttpURLConnection conn = (HttpURLConnection) myFileUrlrn .openConnection();rn conn.setDoInput(true);rn conn.connect();rn InputStream is = conn.getInputStream();rn bitmap = BitmapFactory.decodeStream(is);rn is.close();rn catch (IOException e) rn e.printStackTrace();rn rn return bitmap;rn rnrn
androif4.0移植wifi错误,求大神解答
点击打开wifi,会一直显示正在打开,但是其实已经挂了,log如下[code=text]I/SystemServer( 2116): Device PolicyrnI/SystemServer( 2116): Status BarrnI/SystemServer( 2116): Clipboard ServicernI/SystemServer( 2116): NetworkManagement ServicernI/SystemServer( 2116): Text Service Manager ServicernI/SystemServer( 2116): NetworkStats ServicernI/SystemServer( 2116): NetworkPolicy ServicernI/SystemServer( 2116): Wi-Fi P2pServicernD/dalvikvm( 2116): GC_CONCURRENT freed 396K, 14% free 6952K/8071K, paused 2ms+7msrnI/SystemServer( 2116): Wi-Fi ServicernE/CommandListener( 1996): Failed to open /proc/sys/net/ipv6/conf/wlan0/disable_ipv6: No such file or directoryrnE/WifiStateMachine( 2116): Failed to disable IPv6: java.lang.IllegalStateException: Unable to communicate to native daemon for disabling ipv6rnI/SystemServer( 2116): Connectivity ServicernD/ConnectivityService( 2116): ConnectivityService starting uprnE/MobileDataStateTracker( 2116): default: Ignoring feature request because could not acquire PhoneServicernE/MobileDataStateTracker( 2116): default: Could not enable APN type "default"rnD/NetworkManagementService( 2116): Registering observerrnD/NetworkManagementService( 2116): Registering observerrnI/WifiService( 2116): WifiService starting up with Wi-Fi enabledrnI/SystemServer( 2116): Throttle ServicernI/SystemServer( 2116): Mount ServicernD/MountService( 2116): got storage path: /mnt/sdcard description: USB storage primary: true removable: false emulated: false mtpReserve: 0 allowMassStorage: true maxFileSize: 4294967296rnI/SystemServer( 2116): Notification ManagerrnI/SystemServer( 2116): Device Storage MonitorrnI/SystemServer( 2116): Location ManagerrnI/SystemServer( 2116): Country DetectorrnI/SystemServer( 2116): Search ServicernI/SystemServer( 2116): DropBox ServicernI/SystemServer( 2116): Wallpaper ServicernI/SystemServer( 2116): Audio ServicernD/VoldCmdListener( 1992): volume listrnD/MountService( 2116): volume state changed for /mnt/sdcard (null -> removed)rnD/AudioHardware( 2002): ### setVoiceVolume_lrnI/SystemServer( 2116): Dock ObserverrnW/DockObserver( 2116): This kernel does not have dock station supportrnI/SystemServer( 2116): Wired Accessory ObserverrnI/SystemServer( 2116): USB ServicernI/SystemServer( 2116): UI Mode Manager ServicernI/SystemServer( 2116): Backup ServicernV/BackupManagerService( 2116): Initializing package trackingrnV/BackupManagerService( 2116): No ancestral datarnV/BackupManagerService( 2116): addPackageParticipantsLocked: nullrnI/BackupManagerService( 2116): New app android never backed up; schedulingrnD/dalvikvm( 2116): GC_CONCURRENT freed 233K, 12% free 7274K/8199K, paused 2ms+10msrnI/BackupManagerService( 2116): New app com.android.browser never backed up; schedulingrnI/BackupManagerService( 2116): New app com.android.calendar never backed up; schedulingrnI/BackupManagerService( 2116): New app com.android.inputmethod.latin never backed up; schedulingrnI/BackupManagerService( 2116): New app com.android.providers.settings never backed up; schedulingrnI/BackupManagerService( 2116): New app com.android.providers.userdictionary never backed up; schedulingrnI/BackupManagerService( 2116): New app com.android.sharedstoragebackup never backed up; schedulingrnV/BackupManagerService( 2116): Registering transport android/com.android.internal.backup.LocalTransport = com.android.internal.backup.LocalTransport@412cb780rnV/BackupManagerService( 2116): Starting with transport android/com.android.internal.backup.LocalTransportrnV/BackupManagerService( 2116): Google transport not presentrnI/BackupManagerService( 2116): Found stale backup journal, schedulingrnI/BackupManagerService( 2116): androidrnI/BackupManagerService( 2116): com.android.browserrnI/BackupManagerService( 2116): com.android.calendarrnI/BackupManagerService( 2116): com.android.inputmethod.latinrnI/BackupManagerService( 2116): com.android.providers.settingsrnI/BackupManagerService( 2116): com.android.providers.userdictionaryrnI/BackupManagerService( 2116): com.android.sharedstoragebackuprnI/BackupManagerService( 2116): Backup enabled => falsernI/BackupManagerService( 2116): Opting out of backuprnI/SystemServer( 2116): AppWidget ServicernI/SystemServer( 2116): Recognition ServicernI/SystemServer( 2116): DiskStats ServicernI/SystemServer( 2116): SamplingProfiler ServicernI/SystemServer( 2116): NetworkTimeUpdateServicernI/WindowManager( 2116): SAFE MODE not enabledrnD/dalvikvm( 2116): JIT started for system_serverrnD/PowerManagerService( 2116): system ready!rnI/ActivityManager( 2116): System now readyrnI/ActivityManager( 2116): Config changed: 1.15 0mcc0mnc en_US layoutdir=0 sw240dp w320dp h401dp smll port ?uimode ?night finger qwerty/v/h -nav/h s.3rnI/SystemServer( 2116): Making services readyrnD/SystemServer( 2116): Starting service: Intent cmp=com.android.systemui/.SystemUIService rnI/Zygote ( 2116): Process: zygote socket openedrnI/ActivityManager( 2116): Start proc com.android.systemui for service com.android.systemui/.SystemUIService: pid=2211 uid=1000 gids=1015, 3002, 3001, 3003, 1006rnD/NetworkManagementService( 2116): not enabling bandwidth controlrnW/NetworkStats( 2116): problem reading network stats: java.lang.IllegalStateException: problem parsing idx 1rnD/NetworkManagementService( 2116): Registering observerrnD/NetworkManagementService( 2116): Registering observerrnI/ActivityManager( 2116): Config changed: 1.15 0mcc0mnc en_US layoutdir=0 sw240dp w320dp h401dp smll port finger qwerty/v/h -nav/h s.4rnW/RecognitionManagerService( 2116): no available voice recognition services foundrnD/dalvikvm( 2116): GC_CONCURRENT freed 401K, 13% free 7426K/8519K, paused 2ms+3msrnV/TransportControlView( 2116): Create TCV com.android.internal.widget.TransportControlView@4130c480rnI/ActivityManager( 2116): Start proc android.process.media for broadcast com.android.providers.media/.UsbReceiver: pid=2227 uid=10001 gids=1015, 1023, 1024, 2001, 3003, 3007rnW/InputManagerService( 2116): Ignoring setImeWindowStatus of uid 1000 token: nullrnI/ActivityManager( 2116): Start proc com.android.inputmethod.latin for service com.android.inputmethod.latin/.LatinIME: pid=2238 uid=10033 gids=rnD/NetworkManagementService( 2116): Registering observerrnW/Netd ( 1996): No subsystem found in netlink eventrnD/NetlinkEvent( 1996): Unexpected netlink message. type=0x11rnI/ActivityManager( 2116): Start proc com.android.phone for added application com.android.phone: pid=2261 uid=1001 gids=3002, 3001, 3003, 1015rnI/ActivityManager( 2116): START act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000000 cmp=com.android.launcher/com.android.launcher2.Launcher from pid 0rnI/WifiHW ( 2116): [Loading of modules complete]rnI/ActivityManager( 2116): Start proc com.android.launcher for activity com.android.launcher/com.android.launcher2.Launcher: pid=2280 uid=10030 gids=rnI/SystemServer( 2116): Enabled StrictMode for system server main thread.rnD/android.widget.GridLayout( 2116): vertical constraints: y1 - y0 > 67, y2 - y1 > 15, y3 - y2 > 15, y4 - y3 > 0, y5 - y4 > 0, y6 - y5 > 227, y7 - y6 > 0, y7 - y0 < 320 are inconsistent; permanently removing: y7 - y0 < 320. rnW/CommandListener( 1996): Failed to retrieve HW addr for wlan0 (No such device)rnD/CommandListener( 1996): Setting iface cfgrnD/NetworkManagementService( 2116): rsp <213 00:00:00:00:00:00 0.0.0.0 0 [down]>rnD/NetworkManagementService( 2116): flags <[down]>rnW/NetworkManagementSocketTagger( 2116): setKernelCountSet(10030, 1) failed with errno -2rnI/ActivityThread( 2227): Pub media: com.android.providers.media.MediaProviderrnE/WifiStateMachine( 2116): Unable to change interface settings: java.lang.IllegalStateException: Unable to communicate with native daemon to interface setcfg - com.android.server.NativeDaemonConnectorException: Cmd interface setcfg wlan0 0.0.0.0 0 [down] failed with code 400 : Failed to set address (No such device)rnI/ActivityThread( 2227): Pub downloads: com.android.providers.downloads.DownloadProviderrnW/ThrottleService( 2116): unable to find stats for iface rmnet0rn[/code]rn跟到驱动里面,发现是在一个download_firmware函数返回了错误值,也就是说在下载固件的时候错了,望大神解答
mybatis的invoke错误,求大神解答。
[color=#FF0000]UserServiceImpl.java中的代码块:[/color]rn @Overridern public User getUserByNameAndPwd(String loginname, String password) rn System.out.println("loginname-->" + loginname);rn System.out.println("password-->" + password);rn User user = new User();rn user.setLoginname(loginname);rn user.setPassword(password);rn return userMapper.getUserInfo(user);rn rn[color=#FF0000]UserMapper.java接口类:[/color]rnpublic interface UserMapper rn List listAllUser();rn User getUserById(Integer userId);rn void insertUser(User user);rn void updateUser(User user);rn User getUserInfo(User user);rn void updateUserBaseInfo(User user);rn void updateUserRights(User user);rn int getCountByName(String loginname);rn void deleteUser(int userId);rn int getCount(User user);rn List listPageUser(User user);rn User getUserAndRoleById(Integer userId);rn void updateLastLogin(User user);rnrn[color=#FF0000]User.xml文件代码块:[/color]rnrn loginname,username,password,rights,status,role_idrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rnrn select * from tb_user where 1=1rn rn and loginname=#loginname and password=#passwordrn rn rn and user_id=#userIdrn rn rn rn rn select * from tb_user u where u.user_id=#userIdrn rn rn rn select u.user_id,u.username,u.rights as user_rights,u.loginname,u.password,r.role_id,r.role_name,r.rights as role_rightsrn from tb_user urn left join tb_role rrn on u.role_id=r.role_idrn where u.status=0rn and u.user_id=#userIdrn rnrnrn[color=#FF0000][b]异常信息:[/b][/color]rnorg.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException: rn### Error querying database. Cause: java.lang.NullPointerExceptionrn### Cause: java.lang.NullPointerExceptionrn at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)rn at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:346)rn at com.sun.proxy.$Proxy40.selectList(Unknown Source)rn at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:189)rn at org.apache.ibatis.binding.MapperMethod.executeForList(MapperMethod.java:85)rn at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:65)rn at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:38)rn at com.sun.proxy.$Proxy41.listAllUser(Unknown Source)rn at com.service.impl.UserServiceImpl.getUserByNameAndPwd(UserServiceImpl.java:41)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)rn at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)rn at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)rn at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)rn at com.sun.proxy.$Proxy42.getUserByNameAndPwd(Unknown Source)rn at com.controller.LoginController.loginPost(LoginController.java:55)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)rn at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:426)rn at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:414)rn at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)rn at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)rn at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)rn at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)rn at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:91)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)rn at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:223)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:107)rn at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:75)rn at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:934)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:90)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:494)rn at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009)rn at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:632)rn at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223)rn at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1592)rn at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1550)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn at java.lang.Thread.run(Unknown Source)rnCaused by: org.apache.ibatis.exceptions.PersistenceException: rn### Error querying database. Cause: java.lang.NullPointerExceptionrn### Cause: java.lang.NullPointerExceptionrn at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:8)rn at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:77)rn at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:69)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:338)rn ... 59 morernCaused by: java.lang.NullPointerExceptionrn at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:75)rn ... 65 morernrn
求大神解答,谢谢
grant selectrnon table 职工,部门rnto 王明rnrnrnrn消息102,级别15,状态1,第2行rn','附近有语法错误。
新手求大神解答!!
最近学习javaweb的servlet,做了一个查询 跳转完了总是空白页rnconsole里是这样的rn严重: Servlet.service() for servlet jsp threw exceptionrnjava.lang.ArrayIndexOutOfBoundsException: -1rn at org.eclipse.jdt.internal.compiler.codegen.StackMapFrame.addStackItem(StackMapFrame.java:92)rn at org.eclipse.jdt.internal.compiler.ClassFile.traverse(ClassFile.java:5586)rn at org.eclipse.jdt.internal.compiler.ClassFile.generateStackMapTableAttribute(ClassFile.java:4303)rn at org.eclipse.jdt.internal.compiler.ClassFile.completeCodeAttribute(ClassFile.java:1378)rn at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.generateCode(AbstractMethodDeclaration.java:338)rn at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.generateCode(AbstractMethodDeclaration.java:270)rn at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCode(TypeDeclaration.java:566)rn at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCode(TypeDeclaration.java:635)rn at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.generateCode(CompilationUnitDeclaration.java:368)rn at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:781)rn at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:470)rn at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:436)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:361)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:336)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:323)rn at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:405)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:349)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721)rn at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466)rn at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391)rn at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318)rn at servlets.Update1.doGet(Update1.java:32)rn at servlets.Update1.doPost(Update1.java:40)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:644)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)rn at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:136)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)rn at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:526)rn at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078)rn at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:655)rn at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)rn at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1566)rn at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1523)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)rn at java.lang.Thread.run(Unknown Source)rnrnorg.apache.jasper.JasperException: Unable to compile class for JSPrn at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:579)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:405)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:349)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721)rn at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466)rn at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391)rn at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318)rn at servlets.Update1.doGet(Update1.java:32)rn at servlets.Update1.doPost(Update1.java:40)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:644)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)rn at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:136)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)rn at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:526)rn at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078)rn at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:655)rn at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)rn at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1566)rn at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1523)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)rn at java.lang.Thread.run(Unknown Source)rnCaused by: java.lang.ArrayIndexOutOfBoundsException: -1rn at org.eclipse.jdt.internal.compiler.codegen.StackMapFrame.addStackItem(StackMapFrame.java:92)rn at org.eclipse.jdt.internal.compiler.ClassFile.traverse(ClassFile.java:5586)rn at org.eclipse.jdt.internal.compiler.ClassFile.generateStackMapTableAttribute(ClassFile.java:4303)rn at org.eclipse.jdt.internal.compiler.ClassFile.completeCodeAttribute(ClassFile.java:1378)rn at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.generateCode(AbstractMethodDeclaration.java:338)rn at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.generateCode(AbstractMethodDeclaration.java:270)rn at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCode(TypeDeclaration.java:566)rn at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCode(TypeDeclaration.java:635)rn at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.generateCode(CompilationUnitDeclaration.java:368)rn at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:781)rn at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:470)rn at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:436)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:361)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:336)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:323)rn at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)rn ... 39 morern
thinkphp求大神解答
我有一个form表单 rn rn1:rn2:rn3:rn4:rnrn我想把 1存到一个数据表 2存到另一个数据表 3存到另外一个数据表里, 这个东西应该怎么写,或者大神忘记我这个表单 直接给个方法 求帮助!!!
面试题,求大神解答
请用C#实现以下功能rn1.一个winform程序,内嵌浏览器访问一个html页面,显示html内容rn2.在html页面中创建一个按钮A,点击按钮可以显示又winform弹出的对话框rn3.在winform程序界面上,创建一个按钮B,点击后,显示又html javascript弹出的消息提示框rn4.由winform程序界面上,创建一个按钮C,点击后将一个js函数注入到浏览器的html中,改变按钮A的点击效果,
tomcat报错 求大神解答!
rn错误信息如下。。 我百度了一下都是说连接不了数据库,但是解决方法都不管用rnrnERROR JDBCExceptionReporter:78 - Cannot create PoolableConnectionFactory (到主机 的 TCP/IP 连接失败。 java.net.ConnectException: Connection timed out: connect)rnrn我做了很多尝试,但是都没用,不知道问题出在哪? 我是做前端的,这个后台java程序不是我写的 所以具体该怎么处理这个东西??
求大神解答
using System;rnusing System.Collections.Generic;rnusing System.Linq;rnusing System.Text;rnrnnamespace 写一个读入整数的方法rnrn class Programrn rn static void Main(string[] args)rn rn Console.WriteLine("请输入你的年龄");rn int age = Console.[color=#FF0000]ReadInt();rn[/color] Console.WriteLine("你刚刚输入的年龄为:");rn rn public static int ReadInt()rn rn int number = 0;rn dorn rn tryrn rn number=Convert.ToInt32(Console.ReadLine());rn rn catchrn rn Console.WriteLine("你输入有误,请重新输入");rn return number;rn rn rn while (true);rn rn rn rnrn[color=#FF0000][b]]错误提示:错误 1 “System.Console”并不包含“ReadInt”的定义 rn[/b][/color]
求大神帮忙解答!!
大神,您好:rn 小弟遇到了下面的代码:rn [code=java]<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>rn<%rnString path = request.getContextPath();rnString basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";rnString errorMessage=(String)request.getAttribute("errorMessage");rn%>rn//七rnrnrnrn rn 远程医患交流平台-登陆rn rnrnrnrnrn rn rn rn rn rn rn 账 户:rn 密 码: rn 用户类型:医生用户患者用户管理员 rn <%rn if(errorMessage!=null) %>rn <%=errorMessage %>rn <% rn %>rnrnrn rn rn rn rn rn rn rn rn rnrnrnrn[/code]rn 下图为代码运行效果:rn [img=https://img-bbs.csdn.net/upload/201601/20/1453219648_447217.jpg][/img]rn 求高手点拨:rn 这个类型的 “表单提交 ”的机制,在哪行代码体现?rn 并且,这个类型的用户,单击图片中的“登陆”按钮后,应该触发了服务器验证用户是否合法的流程中。rn 上面:“单击图片中的登陆按钮后,登入系统。这一行 ”伪代码“, 要是换成对应的Java代码或者Jsp代码的话,应该分别走哪几行代码?rn 希望高手,能够指教!!rn 小弟,100分奉上!!rn [img=https://img-bbs.csdn.net/upload/201601/20/1453220877_494394.png][/img]
求大神解答!!!
例题:打印1到5的阶乘值。rnint fac(int n)rnrn static int f=1;rn f=f*n;rn return(f);rnrnmain()rnrn int i;rn for(i=1;i<=5;i++)rn printf("i=%d,fac(i)=%ld\n",i,fac(i));rnrnrnrn按照书上打的,但是电脑编译不出来,有错误。请问,哪里错了?
求大神帮忙解答
写程序帮李老师把2 组学生配对。有两组学生,A 组跟 B组。每个学生有自己的分数,分rn数为1 到100 的整数。一个 A 组的学生能跟一个 B组的学生配成一对,条件是两个学生分rn数差别不能超过某非负整数 k 。每一对包含一个 A 组的学生跟一个 B组的学生。每个学生rn只能参与一对不能参与多对。rn程序需要从标准输入(stdin)读问题数据,包括 3 行。第一行有 3 个整数,第一是 k ,第rn二是A 组的人数,第三是 B组的人数。第二第三行分别是 A 组 B组学生的分数,空各字符rn为定界符。答案为最多能配对的数量。程序需要把答案写到标准输出(stdout)。rn输入例子1:rn3 4 5rn1 1 0 2 0 2 6rn2 7 1 4 2 3 1 0 0rn输出例子1:rn3rn输入例子2:rn0 5 5rn1 7 4 5 0 2 3 1 0rn1 0 5 0 2 3 7 4 1 0 0rn输出例子2:rn4rn
新手 求大神解答
[img=https://img-bbs.csdn.net/upload/201612/22/1482372220_679957.png][/img] 这个问题怎么解决 就一个c#登陆界面密码验证的问题 用mysql 这里就是不行为什么啊 求大神详细解答下 万分感谢rn
求大神解答啊
[img=https://img-bbs.csdn.net/upload/201605/31/1464676561_22731.png][/img]
flash求大神解答
小弟,做了一个简单的,flash与vb结合的程[img=https://img-bbs.csdn.net/upload/201504/01/1427849436_788729.png][/img]序,就是flash 与vb交互,在排版方面遇到问题,想要让中间的FLVPlayback全屏展示该如何操作
求大神解答技术问题?
[img=https://img-bbs.csdn.net/upload/201702/11/1486790047_79897.png][/img]rn这是我在百度搜索中看到的 点击上一页下一页 整个页面不会刷新,只刷新这一块内容,而且还是带条件的进行查询的,这个用到的什么技术???
java.lang.InstantiationException,求大神解答!
严重: Servlet.service() for servlet spring threw exceptionrnjava.lang.InstantiationExceptionrn at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)rn at java.lang.reflect.Constructor.newInstance(Constructor.java:513)rn at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)rn at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:104)rn at org.springframework.web.method.annotation.ModelAttributeMethodProcessor.createAttribute(ModelAttributeMethodProcessor.java:136)rn at org.springframework.web.servlet.mvc.method.annotation.ServletModelAttributeMethodProcessor.createAttribute(ServletModelAttributeMethodProcessor.java:81)rn at org.springframework.web.method.annotation.ModelAttributeMethodProcessor.resolveArgument(ModelAttributeMethodProcessor.java:102)rn at org.springframework.web.method.support.HandlerMethodArgumentResolverComposite.resolveArgument(HandlerMethodArgumentResolverComposite.java:75)rn at org.springframework.web.method.support.InvocableHandlerMethod.getMethodArgumentValues(InvocableHandlerMethod.java:162)rn at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:123)rn at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:100)rn at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:604)rn at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:565)rn at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)rn at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)rn at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)rn at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)rn at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at com.mvc.util.LoginFilter.doFilter(LoginFilter.java:27)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at com.mvc.util.SystemContextFilter.doFilter(SystemContextFilter.java:29)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)rn at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)rn at java.lang.Thread.run(Thread.java:619)rnrn这是我在做spring MVC 文件上传所出现的异常,所用上传jar 包是jspSmartUpload.jar,求解rnrn这是后台方法rn[img=https://img-bbs.csdn.net/upload/201312/06/1386301764_604549.png][/img]rn这是前台jsprn[img=https://img-bbs.csdn.net/upload/201312/06/1386301781_102306.png][/img]rnrn
初学者求大神解答
protected void Button1_Click(object sender, EventArgs e)rn rn string name = Session["Vipname"].ToString();rn string userid = Session["Vipcard"].ToString();rn string zhuti = txt_zhutiadd.Text.ToString();rn string neirong = txt_neirongadd.Text.ToString();rn //string time = DateTime.Now.ToString();rn string sConn = ConfigurationManager.ConnectionStrings["ConnStr"].ToString();rn using (SqlConnection Conn = new SqlConnection(sConn))rn rn Conn.Open();rn using (SqlCommand cmd = new SqlCommand("Insert INTO [Liuyan] ([lytitle], [lycontent] ,[username] , [userid]) VALUES (@zhuti,@neirong,@name,@userid)", Conn))rn rn cmd.Parameters.AddWithValue("@zhuti", zhuti);rn cmd.Parameters.AddWithValue("@neirong", neirong);rn //cmd.Parameters.AddWithValue("@time", time);rn cmd.Parameters.AddWithValue("@name", name);rn cmd.Parameters.AddWithValue("@userid", userid);rn cmd.ExecuteNonQuery();rn rn rn rn rn总是报错,看了半天实在是看不出哪里错了,求大神解答rnrn编译不报错 运行出错rnrn行 40: cmd.Parameters.AddWithValue("@name", name);rn行 41: cmd.Parameters.AddWithValue("@userid", userid);rn行 42: cmd.ExecuteNonQuery();rn行 43: rn行 44: rn rnrn
求mfc大神解答
创建了Cdialog类怎么找不到相关类的Dlg.cpp
求大神解答!!!!!
这段代码为什么可以弹出来1不能弹出来2???????![图片](https://img-ask.csdn.net/upload/201703/23/1490226986_352921.png)
异常错误,求大神解答
![![图片说明](https://img-ask.csdn.net/upload/201606/04/1465022376_985865.png)图片说明](https://img-ask.csdn.net/upload/201606/04/1465022369_81740.png)
离散数学,,,求大神解答
求 (¬p∨¬q)→(p↔¬q)的主析取范式和主合取范式n求解答求解答求解答求解答求解答求解答
求大神解答!
我是个小白,最近一直在研究怎样上谷歌,都快要哭了!哪位大佬给解答一下,现在怎么翻墙啊!
相关热词 c# stream 复制 android c# c#监测窗口句柄 c# md5 引用 c# 判断tabtip 自己写个浏览器程序c# c# 字符串变成整数数组 c#语言编程写出一个方法 c# 转盘抽奖 c#选中treeview