Quantcast
Channel: C++博客-所有随笔
Browsing all 7881 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

OpenCascade Primitives BRep - Box

OpenCascade Primitives BRep - Box eryar@163.com Abstract. BRep is short for Boundary Representation. Boundary Representation gives a complete description of an object by associating topological and...

View Article


Image may be NSFW.
Clik here to view.

Go语言开发工具 LiteIDE x21.1发布

     摘要: LiteIDE x21.1发布,新版本降低了内存使用,提高速度,实现了新的文档搜索工具,修复了gocode插件和present插件的BUG。  阅读全文visualfc 2014-03-20 08:02 发表评论

View Article


Image may be NSFW.
Clik here to view.

用python把图形转换为文本输出

关键字: png bmp txt pil 下面的代码可以把图像转换成文本, 是从网上的一段程序改的, 本来是想在控制台使用的, 但输出的文本过大, 缩放过小又会造成像素丢失的情况。先贴出来. 这个版本适用于文件输出, 可以保持更好的显示效果from PIL import Imageimport osdef PngToTxt(f):    Palette={'000':'#'#榛�...

View Article

Image may be NSFW.
Clik here to view.

WP程序爱好者站长工具条作用简介

WP程序爱好者站长工具条作用简介1、首先纠正一个被广泛传播的错误看到有国外Wordpress爱好者说以下方式也能禁用Wordpress工具条:    remove_action( 'init', '_wp_admin_bar_init' );  这种说法得到许多复制粘贴高手(特别是国内的)的广泛传播,事实上,是不行的!事实上,禁用Wordpress工具条的方式是:...

View Article

Image may be NSFW.
Clik here to view.

Linux C++高性能网络编程

     摘要: 轩辕高端C++培训:专注 Linux下C/C++、ACE、Boost、高性能服务器端应用 开发技术培训 http://xuanyuan-soft.cn/  阅读全文athxy 2014-03-20 16:09 发表评论

View Article


Image may be NSFW.
Clik here to view.

db2 818坑

项目中有一个sqC产生的实体调用方法时,始终报818错。删掉bnd得编问题照旧。在同事的提示下--所有sqC文件名的前8个字符不能一样--,找到重复文件重命名,删掉BND文件,重编译,搞定。山城,山 2014-03-21 10:35 发表评论

View Article

Image may be NSFW.
Clik here to view.

CS2WP程序插件应用分享

C2S(Copy to share) is a wordpress plugin to protect your original content,it is a wordpress content protection plugin.when someone want to copy your text content, the warring box will show:copy to...

View Article

Image may be NSFW.
Clik here to view.

unigine多线程处理系统

unigine多线程处理系统: 一。 更新系统: 主线程World::update_multiple()中:1. 清空update_threads[]中每一个thread的所有结点 2. 处理所有node,将node.frame==engine.frame + 1的结点均衡地分配给update_threads[](即每个updatethread尽量拥有数量相同的node, 以便线程处理时间平衡),...

View Article


Image may be NSFW.
Clik here to view.

epoll使用

     摘要: Code highlighting produced by Actipro CodeHighlighter...

View Article


Image may be NSFW.
Clik here to view.

epoll中的LT和ET

LT让我想起了linux内核的中断处理,设置中断触发标志电平触发,就是只有高电平(或者低电平)的时候才做指定的事,  边沿触发,就是有高电平向低电平转换,或者翻过来转换,这个转换过程触发一个动作。电平就是逻辑上的0,1触发,  而边沿就是脉冲突变触发,逻辑上就是0-1或是1-0  也就是上楼的那位表示的    通俗点讲吧...

View Article

Image may be NSFW.
Clik here to view.

韦根驱动

#include <linux/types.h>#include <linux/module.h>#include <linux/init.h>#include <linux/poll.h>#include <linux/errno.h>#include <linux/gpio.h>#include...

View Article

Image may be NSFW.
Clik here to view.

对openssl做的一些简单封装

#include "stdafx.h"int GetRSA(RSA **RsaKeys){    *RsaKeys=RSA_generate_key(RSALEN,RSA_F4,NULL,NULL);    if(NULL==*RsaKeys)        return -1;    return 0 ;}//取得私钥int GetPrivateKey(RSA *RsaKeys,RSA...

View Article

Image may be NSFW.
Clik here to view.

实现单实例多线程安全API问题

  前阵子写静态lib导出单实例多线程安全API时,出现了CRITICAL_SECTION初始化太晚的问题,之后查看了错误的资料,引导向了错误的理解,以至于今天凌晨看到另一份代码,也不多想的以为singletone double check会出bug,本文做下记录备忘。  相关知识点:Singleton Double Check、多线程下的局部Static对象、静态Lib中的全局对象。...

View Article


Image may be NSFW.
Clik here to view.

记忆化搜索算法之动态规划

  题目描述:  给从左至右排好队的小朋友们分糖果,  要求:  1.每个小朋友都有一个得分,任意两个相邻的小朋友,得分较高的所得的糖果必须大于得分较低的,相等则不作要求。  2.每个小朋友至少获得一个糖果。  求,至少需要的糖果数。  输入:...

View Article

Image may be NSFW.
Clik here to view.

单件模式的C++实现

  单件模式是一种用于确保整个应用程序中只有一个类实例且这个实例所占资源在整个应用程序中是共享时的程序设计方法(根据实际情况,可能需要几个类实例)。在某些情况下,这种程序设计方法是很有用处的 www.lefeng123.com   Singleton模式的实现基于两个要点:...

View Article


Image may be NSFW.
Clik here to view.

I;P : Preview v7.0

快捷链接     下载地址     相关随笔   正文     本来计划休息两天, 但I;P那可以感觉到的Bugs实在让人无法"安息", 加上强力的Doyle同学的那"横扫"全部关卡之势, 这几个夜实际还是一样夜夜"欢敲" -- 改功能, 修Bugs, 加关卡. 因此I;P也不知不觉变成了Preview v7.0...     说到Doyle同学,...

View Article

Image may be NSFW.
Clik here to view.

OpenCascade Primitives BRep - Sphere

OpenCascade Primitives BRep - Sphere eryar@163.com Abstract. BRep is short for Boundary Representation. Boundary Representation gives a complete description of an object by associating topological and...

View Article


Image may be NSFW.
Clik here to view.

A file's length?

How many bytes for a specified file? 1  2 #if (defined __linux__) || (defined __FreeBSD__) || (defined _WIN64) || (defined _WIN32) 3 #include <sys/types.h> 4 #include <sys/stat.h> 5 #else 6...

View Article

Image may be NSFW.
Clik here to view.

rhel 6 安装图文教程

     摘要: rhel 6 安装图文教程  阅读全文AlanTop 2014-03-22 21:05 发表评论

View Article

Image may be NSFW.
Clik here to view.

磁盘精灵 4.5 版本

     摘要: 磁盘精灵 4.5 版本  阅读全文AlanTop 2014-03-22 21:10 发表评论

View Article
Browsing all 7881 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>