Nowadays, more and more graduates are inclined to start a career after graduation, however, considering the current employment circumstance ...
Today I received the official confirmation letter with very good grade for the probation, it means that I will start my new career with Application Development Manager with effect from today. I am not ...
2014-10-31 23:21 3 1702 推荐指数:
Nowadays, more and more graduates are inclined to start a career after graduation, however, considering the current employment circumstance ...
普通new一个异常的类型std::bad_alloc。这个是标准适应性态。 在早期C++的舞台上,这个性态和现在的非常不同;new将返回0来指出一个失败,和malloc()非常相似。 在内存不足时,new (std::nothrow)并不抛出异常,而是将指针置NULL。 在一定的环境 ...
今天在做Zxing的二维码的时候,返回的数据竟然是这个样子,郁闷了一小会,说明我用的这个控件有改进的空间。由于时间的原因,最后还是把这个返回的字符串重新组装。 ...
Promise是异步编程的一种解决方案,在ES6中Promise被列为了正式规范,统一了用法,原生提供了Promise对象 then() then 方法就是把原来 ...
新博客开始了,想写点东西。就做点自我介绍吧。 我原本的网名是zxyhymzg,后来因为玄燕改名叫blackswallow。 你可以叫我zxy。但如果你愿意,你也可以称呼我玄燕。 性格对熟悉和不熟 ...
一、调用FileReader对象的方法 方法名 参数 描述abort none 中断读取readAsBinaryString file 将文件读取为二进制码readAsDataURL file 将文 ...
【1】malloc与free 和 new与delete (1)malloc与free是C语言的标准库函数。new与delete是C++的运算符。它们都可以申请与释放动态内存。 (2)对于非内部数据类型的对象而言,用malloc与free无法满足动态对象的要求(对象在创建的同时要自动执行 ...
今天看React小书,发现一个比较有意思的写法: +new Date() 之前没遇到过这种写法,console.log()之后发现返回的是时间戳。 恍然大悟,原来+相当于把这个时间对象做了隐士的类型转换啊。 ...