
软件开发
文章平均质量分 78
DerryZhang
系统集成,视频编解码技术,郑州大学,清华大学,足球,咖啡
展开
-
编程修养(上)
原文:http://blog.youkuaiyun.com/haoel/category/9200.aspx什么是好的程序员?是不是懂得很多技术细节?还是懂底层编程?还是编程速度比较快?我觉得都不是。对于一些技术细节来说和底层的技术,只要看帮助,查资料就能找到,对于速度快,只要编得多也就熟能生巧了。我认为好的程序员应该有以下几方面的素质: 1、有专研精神,勤学善问、举一反三。 2、积极向上的态转载 2006-03-28 18:44:00 · 1056 阅读 · 0 评论 -
Qt 程序在 windows 下的发布
这个问题,其实 Qt 的 manual 中解释的已经比较清楚了。下面是我根据自己的理解和实验后写的东西,希望比Qt文档容易理解一点。另外:你可能对 Qt 插件学习(一) 感兴趣。如果需要制作安装程序,请访问 NSIS学习笔记(以Qt4程序打包为例)下面不涉及静态编译(静态编译可以看看这儿),只包含动态编译(也就是Qt默认的情况),主要又分 mingw 和 msvc 两种情况:转载 2011-11-23 10:22:27 · 1276 阅读 · 0 评论 -
Qt4.7在Linux下安装后帮助文件丢失问题的解决办法
近期,Qt4.7.4正式发布。从官网上下载了最新的Linux 32bit离线安装包在CentOS上正常安装。然而在打开联机帮助时,总是提示“The page could not be found”,如下图所示: 然而,对比Windows版的Creator却是正常的。于是在QtSDK的安装目录下查找相关的帮助文档,发现Linux版在安装目录下的Document文件夹下的确存在完整的qch文件原创 2011-10-22 14:30:34 · 3959 阅读 · 1 评论 -
Windows XP下编译openssl-1.0.0
Windows XP下编译openssl1.0.0出现四个问题: "NMAKE : fatal error U1077: 'ml' : return code '0x1' " 和"NMAKE : fatal error U1077: 'cl' : return code '0x2' ;NMAKE : fatal error U1077: 'cl' : return code '0xc0000135' , NMAKE : fatal error U1077: 'link' : return code '0x4转载 2011-05-18 20:01:00 · 6208 阅读 · 4 评论 -
Windows 下Subversion 服务器间自动双向同步
Windows 下Subversion 服务器间自动双向同步Subversion 服务器间自动同步测试系统环境:操作系统:Windows Server 2003 SP2Subversion版本: 1.5.3Subversion服务器端:Apache 2.2.11Subversion 客户端:TortoiseSVN 1.55主服务器IP:192.168.254.23副服务器IP:192.1转载 2010-05-02 22:30:00 · 5628 阅读 · 2 评论 -
The meaning of "setting to Nothing"
Origin:http://www.dotnet2themax.com/blogs/fbalena/CategoryView,category,Migrating%20from%20VB6.aspx In the VB6 world - and in the COM world, in general - you "destroy" an object by simply puttin转载 2006-04-30 14:26:00 · 1119 阅读 · 0 评论 -
Dropping portions of VB6 code during the migration to VB.NET
Origin:http://www.dotnet2themax.com/blogs/fbalena/PermaLink,guid,bedf049b-f082-4c71-b507-f4c81f4a6e46.aspx I am working at the migration of a large VB6 project and at one point I needed to drop转载 2006-04-30 14:09:00 · 1198 阅读 · 0 评论 -
Optimize memory footprint with the string intern pool
Origin:http://www.dotnet2themax.com/blogs/fbalena/PermaLink,guid,cecc8b4b-f362-4c59-95a1-fba055b50ec1.aspxVB.NET and C# compilers manage string constants in a rather smart way: all strings with sa转载 2006-04-30 10:32:00 · 1314 阅读 · 0 评论 -
The power of recursion: Number-to-Text conversion
Origin:http://www.dotnet2themax.com/blogs/fbalena/PermaLink,guid,cdceca73-08cd-4c15-aef7-0f9c8096e20a.aspxI am reviewing the chapter on execution flow in Visual Basic 2005, where I cover recursion转载 2006-04-30 10:24:00 · 1117 阅读 · 0 评论 -
String searches: Like operator, regular expressions, and System.Char methods
Origin:http://www.dotnet2themax.com/blogs/fbalena/PermaLink,guid,53da27bf-b980-4abc-a4e8-a452dc6ceb26.aspxOne of the .NET Framework features that fascinate me most is regular expressions, which I转载 2006-04-30 10:21:00 · 1223 阅读 · 0 评论 -
Arrays with non-zero lower index in VB2005
Origin:http://www.dotnet2themax.com/blogs/fbalena/CategoryView,category,Migrating%20from%20VB6.aspx In this period I am actively researching the many problems you face when migrating VB6 apps to .转载 2006-04-30 14:37:00 · 1343 阅读 · 0 评论 -
Tricks with delegates
Origin:http://www.dotnet2themax.com/blogs/fbalena/PermaLink,guid,b2a8f5e9-ddf1-45eb-ad8e-78c88c13ab2f.aspx Consider the following code, that converts all the elements of an Int32 array into the转载 2006-04-30 11:15:00 · 1173 阅读 · 0 评论 -
一个程序员的开发习惯
有关开发习惯的一些想法,如鲠在喉,不吐不快。究其发贴动机,当然不排除有骗取参与分的可能,但另一方面,也希望能给同行(念Xing)者提供一些建议,或者参考(希望不是误人子弟)。同时,也希望各位能够就我的这些陋习,发表一点看法,给出批评和指正的意见。谢谢。 一.建立工程目录 首先,第一步要做的,当然是给新项目建一个单独的目录(别笑)。目录名称与项目名称同名,或者另取一个也可,只要清楚、简练。然后,在此转载 2006-04-19 11:56:00 · 836 阅读 · 0 评论 -
HOWTO: Receive/Send Multicasts Under WinNT/Win95 Using WinSock
HOWTO: Receive/Send Multicasts Under WinNT/Win95 Using WinSock简单翻译一下:Sending IP Multicast DatagramsIP multicasting is currently supported only on AF_INET sockets of type SOCK_DGRAM. To send a multicas转载 2006-04-11 09:47:00 · 1386 阅读 · 0 评论 -
WAVE文件格式剖析
WAVE文件格式剖析 WAVE文件作为多媒体中使用的声波文件格式之一,它是以RIFF格式为标准的。RIFF是英文Resource Interchange File Format的缩写,每个WAVE文件的头四个字节便是“RIFF”。WAVE文件由文件头和数据体两大部分组成。其中文件头又分为RIFF/WAV文件标识段和声音数据格式说明段两部分。WAVE文件各部分内容及格式见附表。转载 2006-03-30 14:10:00 · 1648 阅读 · 0 评论 -
编程修养(下)
原文:http://blog.youkuaiyun.com/haoel/category/9200.aspx16、把相同或近乎相同的代码形成函数和宏—————————————————————有人说,最好的程序员,就是最喜欢“偷懒”的程序,其中不无道理。如果你有一些程序的代码片段很相似,或直接就是一样的,请把他们放在一个函数中。而如果这段代码不多,而且会被经常使用,你还想避免函数调用的开销,那么就把转载 2006-03-28 18:47:00 · 889 阅读 · 0 评论 -
编程修养(中)
原文:http://blog.youkuaiyun.com/haoel/category/9200.aspx6、if 语句对出错的处理———————————我看见你说了,这有什么好说的。还是先看一段程序代码吧。 if ( ch >= 0 && ch /* 正常处理代码 */ }else{ /* 输出错误信息 */ printf("error转载 2006-03-28 18:46:00 · 1049 阅读 · 0 评论 -
Qt5程序在Windows 7/8上部署注意事项
和以往版本的QtSDK不同,Qt5.*对整个SDK结构进行了较大幅度的修改。以前4.*的代码移植到5.*版本上,需要更改的东西(包括QApplication、TextCodec等)也比较多。近日编译一个4.7.4的工程,略做微调顺利通过,然而在一台Windows 7测试机上运行时,总是报Runtime error,辗转几次之后这个发布问题终于解决。首先要仔细看看官方的windows发布指南原创 2013-11-28 10:44:27 · 18687 阅读 · 1 评论