摘要:
#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) 阅读全文
摘要:
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 阅读全文