2012年9月28日
摘要: #include <stdio.h>int main(void){ int a=1,b=2,c=3,d=4,m=2,n=2; int t =0; t=(m=a>b)&&(n=c>d); /*when deal with && operator first cause == 0 then the secondary cause will not be run*/ printf("n=%d,m=%d,t=%d",n,m,t); return 0;}#include <stdio.h>int main(void) 阅读全文
posted @ 2012-09-28 15:25 abacuspix 阅读(409) 评论(0) 推荐(0) 编辑
摘要: 1. InstallVLANpackage on your computer:sudo apt-get installvlan2. Edit your /etc/network/interfaces file so it would contain the following:# The loopback network interfaceauto loiface lo inet loopback# This is a list of hotpluggable network interfaces.# They will be activated automatically by the ho 阅读全文
posted @ 2012-09-28 14:29 abacuspix 阅读(1686) 评论(0) 推荐(0) 编辑