码迷,mamicode.com
首页 >  
搜索关键字:error unknown type    ( 82675个结果
音乐和音效的加载播放
在有些应用中需要用到背景音乐和音效,那在程序中是这么实现的。1.首先加载背景音乐需要用到AVFoundation框架2.音乐资源都是在包里的,所以需要获得包路径,涉及方法- (id)initWithContentsOfURL:(NSURL *)url error:(NSError **)outErr...
分类:其他好文   时间:2014-05-10 08:26:10    阅读次数:275
LNK1169 和 LNK2005
错误重现:1> vs2010创建 C++ win32 project, Application type: DLL.2>为了在工程中使用 CString, 在 stdafx.h 中 Include .3> 编译工程,编译结果如下:LNK1169 和 LNK2005在网上找到一篇文章很详细的解释了这种...
分类:其他好文   时间:2014-05-10 08:05:17    阅读次数:970
设置javascript的资源文件默认编码格式 Content Types
设置javascript的资源文件默认编码格式 Content Types...
分类:编程语言   时间:2014-05-09 22:36:46    阅读次数:353
C语言实现状态设计模式
#include #include #include #ifndef VIRTUAL #define VIRTUAL #endif #ifndef DELETE #define DELETE(X) do { free(X);X = NULL; } while(0) #endif #define NEW(TYPE,pInstance,SUBTYPE) struct TYPE* pInst...
分类:编程语言   时间:2014-05-09 22:29:48    阅读次数:455
python 实现 全角字符 传转换成 半角字符串
Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information. >>> def strQ2B(ustring): #把全角字符串转半角         ustr...
分类:编程语言   时间:2014-05-09 22:27:33    阅读次数:342
Hive ERROR: Out of memory due to hash maps used in map-side aggregation
当hive在执行大数据量的统计查询语句时,经常会出现下面OOM错误,具体错误提示如下: Possible error: Out of memory due to hash maps used in map-side aggregation. Solution: Currently hive.map.aggr.hash.percentmemory is set to 0.5. Try set...
分类:其他好文   时间:2014-05-09 21:08:27    阅读次数:366
UVA Parentheses Balance
题目如下: Parentheses Balance You are given a string consisting of parentheses () and []. A string of this type is said to be correct: (a)     if it is the empty string (b)     if A and B are ...
分类:其他好文   时间:2014-05-09 20:57:46    阅读次数:316
WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
在 mkfs.ext4 /dev/sda2 格式化硬盘空间时,可能出现这样的错误。 had this situation at office where I was told to re-partition an already existing partition. The situation was to get the below schema /dev/sdb1 1 3040 24...
分类:其他好文   时间:2014-05-09 20:49:25    阅读次数:343
org.hibernate.PropertyAccessException: Null value was assigned to a property of primitive type sette
org.hibernate.PropertyAccessException: Null value was assigned to a property JavaBean修改:private Boolean sex;原因:数据库字段值为NULL,int 类型不能赋值为NULL,只能为0,但有些实际应...
分类:数据库   时间:2014-05-09 19:59:18    阅读次数:318
angular学习笔记(九)-css类和样式2
在上一个例子中,元素的类名使用拼接的方法,这样,类名中就不得不带有true或false,并且不易维护,所以,angular使用ng-class属性来控制元素的类名:我们来看一个小例子,点击error按钮,顶部提示错误框,点击warning按钮,顶部提示警告框.错误框的类名是.err,警告框的类名是....
分类:Web程序   时间:2014-05-09 19:30:28    阅读次数:523
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!