[Programming] learning-cpp – Tao of Programmer

作者:fangzhzh
声明:允许未经作者的同意进行非商业目的的转载,但必须保证原文完整性
本文永久链接地址:http://www.fangzhzh.info/2010/7/learning-cpp



learning cpp series

Why this series should be given birth to.

Thousands and thousands articles and books are there involving in c++ language. So why I want write this series about c++.

In my option, the best way to confirm that you have mastered some knowledge is you can teach that to others clearly in your tone. So this series is my teaching plan. Forthmore, notes are good for memory.

how will this series flow

Followed with process of reading The C++ Programming Language1, I will develop articles from problems about some obscure language detail and thoughtss when resolving some test from this book.

I will focus on many conceptual points.

what will be covered

The series will focus on C++, yet not limite in c++, also on compiling, debugging, assembler, Operating System, etc.

post list

learning-cpp-series-overview

1.the c++ programming language wiki, the c++ programming language homepage.


 

[Life] a-call-from-job-hunter – Tao of Programmer

作者:fangzhzh
声明:允许未经作者的同意进行非商业目的的转载,但必须保证原文完整性
本文永久链接地址:http://www.fangzhzh.info/2010/7/a-call-from-job-hunter

Time-stamp: <2010-07-13 20:21:27 JosephZhang>

A call from job hunter

A call

Today, When I partaking my supper, I got a call.

This call was called from a job hunter. I have received many hunter’s calls. But this is different.

As usual, he asked my technologies, best programming languages, his interest, such as perl and python. I said I just interested in python and writted some small program, so python level is not professional.

Then, he asked whether I have small system administrator experience. I said no and then added that maybe working as administrator got few money. No, he said, 30k per month, at least.

And as usual, he asked how about my English, written and spoken, I said not too good.

Although I read english document, blog and news everyday, but I can’t let out my thought fluently, and this is the biggest problem of Chinese programmer too.

The hunter shocked me with such words, “In China, Good Programmers are everywhere, but they CANNOT speak out.” This is obvious scene on which I have never taken serious before.

Chinese programmer

Yes, being a good programmer is not difficult to Chinese, ’cause Chinese people are clever. They can learn well everything foreigner think hard to learn.

But they cannot learn english well. People spent almost 20 years, from kintergarten to college ,to learn english, but they can’t speak out.

I don’t know why.

English—Doing thing right is half way to success.

I started an english accent training course half month ago, I will finish this course in half years. Half month’s study make me believe oral english is not difficult, and not impossible.

Doing thing right is half way to success.

 






[Programming] j2me+eclipse开发环境搭建步骤 – Tao of Programmer

作者:fangzhzh
声明:允许未经作者的同意进行非商业目的的转载,但必须保证原文完整性
本文永久链接地址:http://fangzhzh.info/blog/2010/7/how-to-setup-development-environment-4-j2me+eclipse

下载安装:

1.到http://java.sun.com/javase/downloads/index.jsp 下载JDK6

2.下载J2ME的SDK(WTK)安装 https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=sun_java_wireless_toolkit-2.5.2_01b-oth-JPR@CDS-CDS_Developer

3.到http://www.eclipse.org/downloads/ 下载安装eclipse 选择Pulsar for Mobile Developers.(解压免安装,直接可用)

配置

因为使用的eclipse是最新版,而文档所用的eclipse不是最新版,所以界面上的菜单、选项会有所区别。但是基本上不影响使用。

配置 EclipseME and Eclipse

http://eclipseme.org/docs/configuring.html , 配置中第三四步可选,我省略了第三步。

创建新工程

http://eclipseme.org/docs/createProject.html

创建一个新的Midlet

http://eclipseme.org/docs/createMidlet.html

运行调试MIDlet

http://eclipseme.org/docs/run.html


 






[Emacs] emacs指定不同的换行符 – Tao of Programmer

作者:fangzhzh
声明:允许未经作者的同意进行非商业目的的转载,但必须保证原文完整性
本文永久链接地址:http://fangzhzh.info/blog/2010/7/concepts-and-specification-of-newLine

换行符(有时表示为EOL),表示文本中一行的结束。经常游走在Unix/Linux和Windows的人经常会碰到设定、转换CR,LF,CR/LF的问题。

CR,LF,CR/LF由来

不同系统会使用不同的编码系统1,也可能使用不同的换行符,这个是历史原因2。孰优孰劣,不得而知,但是给用户的使用体验造成的困惑,是大大的。

系统 表示下一行的符号
Windows CR/LF
Unix/Linux LF
Mac CR

CR,LF,CR/LF的解释

仍然是个表格:

符号 名称 表示 十进制 十六进制 }
CR 回车 ‘\r’ 0x0D3 13
LF 换行符 ‘\n’4 0x0A 10

Continue reading »

 






[Emacs] 使用doxymacs写标准代码注释 – Tao of Programmer

作者:fangzhzh
声明:允许未经作者的同意进行非商业目的的转载,但必须保证原文完整性
本文永久链接地址:http://fangzhzh.info/blog/2010/7/intro-doxymacs

本文先发在 http://emacser.com/doxymacs.htm , 略有改变。

doxymacs = doxygen+emacs。
如果你不知道doxygen,请移步这里,或者google之。

doxymacs 官网,现在版本是1.8.0。

特性:

  • 从emacs中,查找某个符号的文档,显示在你选择的浏览器中。
  • 在源代码中方便的插入Doxgen Style格式的注释。
  • 可选:实用外部XML parser加速构建完整列表。
  • 高亮Doxygen关键字。

特性1,3,4我用的比较少,重点介绍第二个。

Continue reading »

© 2012 Tao of Programmer Suffusion theme by Sayontan Sinha