高手问答
高手问答 是开源中国针对行业特定技术问题发起的专家问答。
在Ubuntu上看英文书的时候有少量单词就是不认识,尝试使用现在翻译工具如星际等,感觉不好,太复杂了,启动也慢,不用时也不想它开着浪费资源(另星际的取词功能有严重BUG)。于是决定自己写...
Ubuntu manpage 有些章节没有,需要自己安装。 $ sudo apt-get install manpages $ sudo apt-get install manpages-posix $ sudo apt-get install manpages-posix-dev 其中: manpages 包含 ...
我的系统是Ubuntu 9.04 amd64版的,原来一直装不上QQ,今天碰巧找到解决的办法了,分享一下。 第一步:去QQ官方网下载QQforUbuntu安装包。 第二步:安装lib32相关包(有150多M) sudo apt-g...
C++ warning: control reaches end of non-void function REASONS: this warning indicate that you forgot the return statement in a non-void function....
A simple c++ class, Contain three file: /* * Tree.h * * Created on: Aug 23, 2009 * Author: sai */ #ifndef TREE_H_ #define TREE_H_ #include using namespace std; c...
When I building file: ../src/Tree.h, I got this error: ERROR:../src/Tree.h:22: error: non-member function ‘std::ostream& operator<<(std::ostream&, const Tree&)’ cannot have cv...
分享一个新发现: 今天去 www.eclipse.org 下载 Eclipse 的时候,起初下载速度只有 56k/s。速度有些慢。 再很下一看居然有一个提示: Get It Faster Here 下面列出了好几个下载地址,我选择了...
分析设计的基本任务: 什么是对象?思考的是如何将项目分成多个组成部分。 它们的接口是什么?思考的是需要向每个对象发送什么消息。 第0阶段:制定计划 我们必须决定在此过程中必须有哪些步...
const Saying const as part of variable's difinition promises that we are not going to change the value of the variable at the rest of its lifetime. We say that a variable is con...
Writing the value of std::endl to output stream have two function: First: Ends the line of output. Second: Flushes the buffer, which forces the system to write to the output str...
First, the buffer might be full, in which case the library will flush it automatically. Second, the library might be asked to read from the standard input stream. in that case, ...
Question: How do I open a shell prompt or gnome-terminal at the current location while browsing directories and files via nautilus file manager? I'd like to see Open Terminal / ...
指针和引用一直是学习C++时的一个难点,不知道什么时候应该用指针,什么时候应该用引用。下面是指针与引用做为函数时的不同,看了之后,也许上面的问题就不是问题了,呵呵。 1.两者都可以不用...
下面的这篇文章讲的十分透彻了,所以转载之 abstract class和interface是Java语言中对于抽象类定义进行支持的两种机制,正是由于这两种机制的存在,才赋予了Java强大的面向对象能力。abstrac...
今天在 Windows 7 上安装了 Netbeans 6.7 RC 后,首先想到的就是换一种字体,没有想到一个老Bug又出现了,把字体换成 Courier New 后,汉字显示为方格,之前解决过这个问题,但是忘了,让我在...
类图中的关系有以下几种:一般化关系、关联关系、聚合关系、合成关系和依赖关系。 1、一般化关系 表示类与类之间的继承关系、接口之间的继承关系或类与接口之间的继承关系。用空心三角箭头从...
导致一个软件可维护性较低,也就是说会随着性能要求的变化而“腐烂”的原因有四个:过于僵硬、过于脆弱、复用率低、耦合过高。 1、过于僵硬 指很难在一个软件系统里加入新的功能。因为加入一...
没有更多内容
加载失败,请刷新页面
文章删除后无法恢复,确定删除此文章吗?
动弹删除后,数据将无法恢复
评论删除后,数据将无法恢复