Vim-LaTeX Feature Round Up
This is mostly an answer to a question on Vi.SE.
There are many features present in Vim-LaTeX. I don't remember all of them. I'll just talk about features that I know and use constantly.
Note: These are my limited...
This is mostly an answer to a question on Vi.SE.
There are many features present in Vim-LaTeX. I don't remember all of them. I'll just talk about features that I know and use constantly.
Note: These are my limited...
今天面试时遇到一道题, 大意是
int a=1, b=2; int c=a+++b;
问 c
的值是多少. 听说此题很经典, 不幸的是我却没答对. 利用我从 C Primer Plus 中学到的仅有的 C 语言知识, 我无法判断这个表达式的值....
C 语言中, 动态分配一维数组是很简单的. 例如, 动态分配一个长度为 n
的数组, 其中每个元素类型为 int
, 只需:
int *pti; int n=5; pti=(int *)malloc(n
Read More
A Ridiculously Complicated Structure
Learning structure in C, I constructed the following structure. Yes, I was just testing how far my logic can go...
#include <stdio.h> #define LEN 50 struct department { char name
Read More
Two Simple-minded Utility Programs: catf and wcf
I wrote two very simple programs (oh please, if you really call them that way.) as an exercise for my ongoing C programming study. One is my version of cat
and another is wc
. cat
and wc
are simple command-line...
Read More
A Miserable Failure on Home Folder Encryption
A couple days ago, I decided to re-install and upgrade Ubuntu, as I really want to reach the latest versions of many developer tools and softwares etc., without having to compile their source codes from scrath. (And being my first...
Read More
Simulate the Magnetic Field of a Solenoid
This post should have original been the answer to an similar titled question on Mathematica.SE. However, the time I was about to answer, the question has been put on hold by its low apparent quality. So I'll leave it...
Read More