码迷,mamicode.com
首页 >  
搜索关键字:resource    ( 6742个结果
(转)剖析C++标准库智能指针(std::auto_ptr)
不可否认,资源泄露(resource leak)曾经是C++程序的一大噩梦.垃圾回收 机制(Garbage Collection)一时颇受注目.然而垃圾自动回收机制并不能 满足内存管理的即时性和可视性,往往使高傲的程序设计者感到不自在. 况且,C++实现没有引入这种机制...
分类:编程语言   时间:2014-07-08 23:45:57    阅读次数:348
windows程序扫雷程序设计
在学习windows程序设计中,我们希望通过一个完整的程序来学习windows API这是本人在上杨力祥老师的课程是自己写的扫雷程序。     下面是。cpp文件 #include #include"resource.h" #include #pragma comment( lib,"winmm.lib") //地雷的结构 class Mine{ int x,y; int value;...
分类:Windows程序   时间:2014-07-08 21:25:52    阅读次数:351
学习 OAuth2.0 笔记( 一 )
1.1. Roles 角色 OAuth defines four roles: OAuth 设定了四个角色 resource owner 资源拥有者 An entity capable of granting access to a protected resource. When the resource owner...
分类:其他好文   时间:2014-07-08 14:29:22    阅读次数:227
java读取.properties文件乱码
1.config.properties文件写不进中文,写进去都变成了unicode,解决办法是右键该文件——Properties——Resource——Text file encoding ,选other,我将other改为了UTF-8,这样可以写进去中文,但是读取时又变成乱码了。 2,解决读取乱码: String content = new String(PropertiesConfig.getProperty("mail.content").getBytes("ISO8859-1"), "utf-8"...
分类:编程语言   时间:2014-07-08 13:23:03    阅读次数:160
MFC中添加新的对话框
MFC工程中,除了系统自动生成的一些对话框之外,还需要根据自己的需求,添加新的对话框。这里总结下自己最近使用的方法。 首先,找到Resource View中自己新建的工程,然后右键,选择Add Class,然后弹出的对话框中对新增的类进行设置,在Base Class需要选择CDialog,然后输入新...
分类:其他好文   时间:2014-07-08 11:34:58    阅读次数:136
oracle数据库创建后要做的事情
用conn /as sysdba登录数据库。一:先新建用户create user test01 identified by test02(test01为用户名,test02为用户密码)二:赋予数据库操作的基本权限grant connect,resource,dba to test01;三:创建表空间...
分类:数据库   时间:2014-07-06 23:54:12    阅读次数:354
Project configuration is not up-to-date with pom.xml. Run Maven->Update Project or use Quick Fix
完整错误信息:Description Resource Path Location TypeProject configuration is not up-to-date with pom.xml. Run Maven->Update Project or use Quick Fix. xunge-web line 1 Maven Configuration Problem解决办法:...
分类:其他好文   时间:2014-07-03 18:11:39    阅读次数:213
解决VTune错误PMU resources currently being used by another profiling tool or process
错误信息: When I ran Hardware Event-based Sampling Analysis 0, it showed the ERROR: Collection failed Collection failed. The data cannot be displayed. PMU resource(s) currently being used by...
分类:其他好文   时间:2014-07-03 17:12:20    阅读次数:338
Type mismatch: cannot convert from Enumeration<String> to Enumeration<Object>
完整错误信息:Description Resource Path Location TypeType mismatch: cannot convert from Enumeration to Enumeration ResponseHeaderFilter.java /dwz-java/src/dwz/common/util line 46 Java Problem解决办法:...
分类:其他好文   时间:2014-07-03 16:22:55    阅读次数:435
windows 程序设计自学:添加字符串资源
1 #include 2 #include "resource.h" 3 4 LRESULT CALLBACK MyWndProc( HWND hwnd, // handle to window 5 UINT uMsg, // message identifier 6...
分类:Windows程序   时间:2014-07-03 13:11:28    阅读次数:234
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!