- 浏览: 202447 次
- 性别:
- 来自: 北京
最新评论
-
fuliang:
more cleanner than before
Big Integer Arithmetic -
yaojingguo:
Hi, Liang LiangThanks for the i ...
Redirect and restore stdout in C -
fuliang:
使用gcc编译.cpp,可以使用-lstdc++选项,这样gc ...
Redirect and restore stdout in C
文章列表
The default python can be used. It is needed to install from source code. And --enable-shared
must be specified when doing configure.
- 2009-11-25 16:35
- 浏览 707
- 评论(0)
I have a requirement to use a special version of python other than the default on my machine. I am uisng ubuntu 9.10. By default, python 2.6.4 is installed. And a lot other packages depends on it. So it is impossible to remove it. And I need to install from source code since I need to use --enable-sh ...
- 2009-11-25 16:33
- 浏览 553
- 评论(0)
gcc has a very large number of options. Here I am writing some of them to help remember some common usages.
Generating Assembly Code
Using gcc with -S option will generated assembly code and then stop. For example:
$ gcc -S helloworld.c
Preprocessing
Using gcc with -E wi ...
I have installed ubuntu 9.10 recently. At the beginning, NetworkManager can connect with eth0 automatically. After some days, it shows Wired Network - device not managed
when I clicked NetworkManager. After some googling, I found the solution. Just change
managed=false to managed=true in /etc/Ne ...
- 2009-11-23 12:10
- 浏览 1024
- 评论(0)
C Library
GNU C Library
C++ Library
GNU C++ Library
The GNU C++ Library Documentation
Manual
API and Source Level Documentation
- 2009-11-21 18:26
- 浏览 1091
- 评论(0)
g++ and libstdc are coupled. A specific version of g++ uses a specific version of libstdc. It can not be changed.
Recently, I am building a program on ubuntu 9.10 which has g++4 installed. When I run make, the following text shows up.
if [ ! -d ./../linux ]; then (umask 002; set -x; mkdir ./ ...
- 2009-11-21 18:21
- 浏览 885
- 评论(0)
PASW 18 needs libstdc++5 on Ubuntu. Sometimes the followong commad needs to run to install it.
sudo apt-get install libstdc++5
Sometimes, you can need to use /opt/SPSSInc/PASWStatistics18/bin/licensewizard
to authorize SPSS manually.
- 2009-11-16 17:28
- 浏览 800
- 评论(0)
QT
GTK
wxWidgets
TK
Java Swing
Java SWT
- 2009-11-13 11:21
- 浏览 696
- 评论(0)
Datanucleaus access platform is an excellent Java OR mapping framework. It supports a lot of backends. I have been playing with Datanucleaus access platform 1.6. Here are some tricks I want to share.
EnhancerTask and SchemaToolTask all require that jdo configuration file such as package.jdo and j ...
- 2009-11-10 20:28
- 浏览 740
- 评论(0)
I have been using R
recently. R is statistics programming language. R has attracted more and more attention as analytics in cloud gets more and more hot.
Don't install R in default ubuntu source which only contains a older version. Update apt source according to http://ftp.ctex.org/mirrors/C ...
If a script needs to be executed, the shell needs to be executed with the script as an argument. On windows, this shell should be cmd.exe. On linux, this shell may be bash or other shell.
ProcessBuilder give more control over the executable than Runtime. For example, the former can redirect stder ...
- 2009-10-31 16:32
- 浏览 735
- 评论(0)
Recently I have focused on an open source project JAQL
.
In one word, it is a high-level language above hadoop. It is similar to PIG and HIVE.
- 2009-10-17 16:04
- 浏览 652
- 评论(0)
As I communicate with English-speaking people, I often need to use the English names of punctuation ma
() parentheses
[] brackets, square (or brackets)
<> brackets, angle
{} braces (or curly brackets)
@ at sign
. period
, comma
; semicolon
: ...
- 2009-10-17 15:58
- 浏览 916
- 评论(0)
Since I have taken part in JAQL open source project, I need to use diff/patch to communicate with worldwide people.
I tried svn diff. There is one thing that confuses me. It is that the file adding and removing are not included in the result diff file. After playing more with it, I found the cua ...
- 2009-10-16 23:26
- 浏览 918
- 评论(0)
$1 - $9 these variables are the positional parameters.
$0 the name of the command currently being executed.
$# the number of positional arguments given to this
invocation of the shell.
$? the exit status of the last command executed is
...
- 2009-10-13 21:35
- 浏览 729
- 评论(0)