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

Image may be NSFW.
Clik here to view.

getaddrinfo函数(转)

今天在看完APUE第16章:网络IPC:套接字后,就开始编写书中的示例代码,结果出现了问题:调用getaddrinfo函数时,返回错误:Servname not supported for ai_socktype,觉得很费解,就直接google之,发现下面这篇好文,不仅解决了问题,还使我更加理解了如何使用getaddrinfo来编写服务器/客户端程序。...

View Article


Image may be NSFW.
Clik here to view.

Linux下编码的转换[iconv]

1.iconv命令 关于这个命令的详细可以man看一下 [基本用法] iconv –f encoding –t encoding inputfile -f: –-from-code  指定原始文件编码 -t: –to-code 指定输出编码 例如我存储一个a.txt,文件采用utf-8编码保存,如果要修改为Big5格式的,可以这么写: $: iconv –f utf-8 –t Big5 a.txt...

View Article


Image may be NSFW.
Clik here to view.

是否剪辑子对话框的代码控制

HWND m_SysDlgHwnd;                 m_SysDlgHwnd=GetSafeHwnd();          extern HWND m_SysDlgHwnd; LONG style = GetWindowLong(m_SysDlgHwnd,GWL_STYLE); style &= ~WS_CLIPSIBLINGS ; style &=...

View Article

Image may be NSFW.
Clik here to view.

OnPaint里面贴图

//欢迎界面背景  CRect ctrlRect;  GetClientRect(&ctrlRect);  //this->GetWindowRect(ctrlRect);  CRect rec(0, 93,ctrlRect.right,ctrlRect.bottom-25);  CDC *pdc = GetDC();  CPoint OldPoint;...

View Article

Image may be NSFW.
Clik here to view.

转:file is universal (3 slices) but does not contain a(n) armv7s slice error...

创建:2012年12月21日转:http://stackoverflow.com/questions/12402092/file-is-universal-3-slices-but-does-not-contain-an-armv7s-slice-error-for-stQuestion:I upgraded Xcode version and when using external static...

View Article


Image may be NSFW.
Clik here to view.

Qt vlc视频开发libvlc_new返回空的问题

Windows平台下,在使用vlc非安装版的时候,需要增加环境变量VLC_PLUGIN_PATH:如:VLC_PLUGIN_PATH=C:\Users\Administrator\Downloads\vlc-2.0.5\pluginsseahouse 2012-12-22 08:59 发表评论

View Article

Image may be NSFW.
Clik here to view.

转:[转] Gmail 的Host解决方案

创建:2012年12月22日转:http://www.cnblogs.com/jianyungsun/archive/2012/11/01/2750392.htmlGmail 在国内可用google.cn的 Host来改进连接速度,避免被GFW干扰,经测试联通 网络打开Gmail速度飞快,特共享之! 由于公布的Host地址很快会被GFW强奸,所以google.cn服务器的IP地址会经常变化,...

View Article

Image may be NSFW.
Clik here to view.

可配置语法分析器开发纪事(四)——构造一个真正能用的状态机(上)

本来说这一篇文章要把构造确定性状态机和look...

View Article


Image may be NSFW.
Clik here to view.

视频处理脚本语言

https://code.google.com/p/videoanalyze/一个动态编译器项目,用于编译视频处理脚本.VAS下载vas setupQuick Start 1. Download K-Lite_Codec_Pack and install it. 2. Create a .vas file test.vas 3. Copy the following lines into...

View Article


Image may be NSFW.
Clik here to view.

笔记《敏捷估计与规划》第4部分 进度安排

11-12-14第4部分 进度安排前2部分主要介绍如何估计每个需求的规模,和如何确定优先级。本部分关注如何建立进度表。首先是规划一次发布的主要步骤,然后是规划一次迭代的步骤。然后是确定规划长度的建议。以及估计小组效率和速度。最后两章是针对复杂情况的,一是前提较少时如何规划项目,一是多个小组的规划。第13章...

View Article

Image may be NSFW.
Clik here to view.

笔记《敏捷估计与规划》第7部分 案例分析

11-12-14第7部分 案例分析第23章 案例分析P242 等待美工 -- 说明会议必须所有团队成员都参加,虽然美工对于算法引擎不会有帮助,但是她会有助于帮助团队产生一个好的产品。P245 团队一起确定需求。P246 不记录在电脑表格里,而是用卡片(可以方便的画图,加入注释等等)。P246 合并较小的故事P247 显而易见的原因可以不用写“以便于……”。P247 根据游戏前,中,后来构思需求...

View Article

Image may be NSFW.
Clik here to view.

笔记《硝烟中的Scrum和XP》 第四章 我们怎样制定Sprint计划

11-12-14第四章 我们怎样制定Sprint计划步骤:参照Checklist输入:…………输出:sprint目标团队成员名单(以及他们的投入程度,如果不是100%的话)sprint...

View Article

Image may be NSFW.
Clik here to view.

笔记

11-12-14<接包方质量管理>笔记第1章-外包质量管理介绍第2章-质量角色及其职责第3章-开展质量管理&支持材料第4章-与外包项目相适应的过程裁剪第5章-训练外包项目团队第6章-外包质量管理的行业趋势第7章-对客户满意度进行定义,定量分析  第1章-外包质量管理介绍质量定义质量保证和质量控制质量先驱产品和过程质量概念...

View Article


Image may be NSFW.
Clik here to view.

原:初次外包失败的原因

11-12-14原:初次外包失败的原因 合同:需要事先签合同,设定软件范围和人月。期限:识人:找的大宝哥没有能力,导致后期捉襟见肘。行情没先摸透:不够自信,价钱订的太低了。+++++佳为好友 2012-12-23 10:05 发表评论

View Article

Image may be NSFW.
Clik here to view.

笔记《Scrum敏捷项目管理》

     摘要:...

View Article


Image may be NSFW.
Clik here to view.

转:架构腐化之谜-笔记

创建:2011.11.03架构腐化之谜http://www.infoq.com/cn/articles/cjz-architecture-corruption规模的变大,并且没有适时的进行分解才是导致架构腐化的根源。解决方法:1,采用新技术。有些问题可能早已经被人完美的解决过了。引申--即使该技术在本平台内没有,也可以参考和借鉴其他平台的,然后开发一个简易版本。2,将大项目分解为多个小模块。这样,开...

View Article

Image may be NSFW.
Clik here to view.

关于F项目的一些经验 -2

创建:2012.03.01修改:2012.04.10*SVN:ios branches 2.0 xxx yyy zzz F-Project trunk shared-libs framework branches 1.0 framework mmm nnn iF-Project ??? libraries Android common iOS trunk ios...

View Article


Image may be NSFW.
Clik here to view.

转:在XCode中设定内存断点(数据断点,变量断点)

10-1-19转:http://lists.apple.com/archives/xcode-users/2004/Dec/msg00205.html[自:简而言之,可以先试试:(gdb) print &(foo->bar->baz)如果不行,则试试:(gdb) print &(foo->bar->baz)(gdb) watch *<HEX...

View Article

Image may be NSFW.
Clik here to view.

转:关于处理XCode的错误和警告的tips

10-3-12转:http://www.bit-101.com/blog/?p=2237XCode tips[Note, XCode 3.2 did away with the Errors and Warnings Smart Group.  Its functionality is now moved to the Build Results Window. I'll probably...

View Article

Image may be NSFW.
Clik here to view.

笔记:Examining the Stack - Debugging with GDB

10-3-25笔记:http://developer.apple.com/Mac/library/documentation/DeveloperTools/gdb/gdb/gdb_7.html#SEC44Examining the Stack Stack frames frame args[选择指定的frame.如果没有参数的话,则显示当前的frame.]The frame command...

View Article
Browsing all 7881 articles
Browse latest View live


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