Tag Archives: 软件

Going Global With Text

A number of issues related to internationalization of the software:

* International issues can be divided into four groups: native language rules, character sets, I/O formatting, and message translation.
* C++ has broad support for character sets, imposing few minimum requirements.
* At compile time, C++ reads files in the physical character set, and converts the characters to the source character set.
* At runtime, C++ interprets characters according to the execution character set.
* The execution character set comes in two flavors: narrow and wide.
* Narrow characters use the char type. Wide characters use the wchar_t type.
* You have no control over the execution character set. You can only hope that it is a Unicode encoding (UTF-8 for narrow and UTF-32 for wide).
* C++ does not mandate Unicode character sets, but you can specify Unicode code points as universal character names: \uXXXX or \UXXXXXXXX.
* C++ imposes few requirements on wchar_t, but the ideal implementation is a 32-bit value and UTF-32 encoding.
* A multibyte character set uses a sequence of narrow characters to represent a single logical character.
* Multibyte character sets are useful only for converting to and from wide characters.
* Case conversion is hard to do correctly one character at a time. Much better is to convert an entire string at a time. C++ does it one character at a time.
* A locale specifies I/O formatting rules (among other things).
* I/O formatting rules include: thousands separator, decimal point, and the format of negative numbers. I/O streams automatically use the formatting rules of its locale.
* The initial locale is the classic or “C” locale, which implements universally portable formatting rules.
* The user’s preferences are expressed in the default locale, which is locale(“”).
* Other named locales are possible, but the C++ standard does not dictate naming rules.
* Each I/O stream can have a distinct locale. Associating a locale with a stream is called imbuing the stream with the locale.
* Many applications use std::locale only to imbue streams or set the global locale.

Link: http://cpphelp.com/learning/ch08-global.html

WPS Office 2007个人版更新至 6.3.0.1519

新版修改了软件使用授权,不再限制在个人计算机上使用的目的:
本 “ 软件 ” 个人版仅供个人所有计算机使用,不得用于法人或其他组织(包括但不限于政府机关、公司、企事业单位、其他组织等)。

下载: WPS Office 2007 个人版 6.3.0.1519

原先的授权:
本“软件”个人版仅供个人学习、研究或者欣赏之用,不得用作其他任何用途,包括但不限于商业用途。

WPS 2007 办公软件

编者按: 只要是WPS的新闻, 我就愿意贡献给大家, 毕竟因为它的存在, 微软在中国只能以较优惠价格销售Office.

来源: http://www.cnbeta.com/articles/51099.htm

Phun, 让人惊讶的小程序

Phun是什么?Phun是Umeå大学的学生Emil Ernerfeld为自己的计算机作业而开发的一个基于物理规律的工具软件. 使用者可以随意而且轻易的创建物体,并给它们之间创建弹簧、链条等联系,重力、摩擦力、弹力、加速度等等,一切都符合物理规律. 这个软件的开发目的是为了让物理教学、研究更直观有效. 看完下文的视频你就能了解它的神奇之处了。

你是不是觉得看起来很神奇?84可以负责任的说玩儿起来更神奇!84已经当下来玩儿了好一会儿了,跟几个同事一起感叹了很久. 你完全可以把它当作一个打发时间的小游戏来玩儿,点这里进入作者的下载页面,请注意,你可以免费使用这个软件但是不得进行商业性质的分发哦.

把视频放下面,不可不看哈:

作者: http://www.acc.umu.se/~emilk/downloads.html
来源: http://www.cnbeta.com/articles/50647.htm

编者按: 在这个软件面前,感觉自己像是个白痴!