李開復的FB提到:
用你想被領導的方式去領導別人,你就可能達到更高的境界!
境界一:員工因為你的職位而服從你;
境界二:員工因為你的能力而服從你;
境界三:員工因為你的培養而服從你,他們感恩於你對他們的尊重、培養和付出;
境界四:員工因為你的為人、魅力、風範、價值觀而擁戴你。
境界二:員工因為你的能力而服從你;
境界三:員工因為你的培養而服從你,他們感恩於你對他們的尊重、培養和付出;
境界四:員工因為你的為人、魅力、風範、價值觀而擁戴你。
integer FP;
integer fgetsResult;
integer sscanfResult;
integer NowInSeconds;
reg [8*10:1] str;
// call "date" and put out time in seconds since Jan 1, 1970 (when time began, no doubt)
// and put the results in a file called "now_in_seconds"
$system("date +%s > now_in_seconds");
// open the file for reading
FP = $fopen("now_in_seconds","r");
// get a string from the open file - "fgetsResult" should be a 1 - you can test
// that for completeness if you'd like
fgetsResult = $fgets(str,FP);
// convert the string to an integer - "sscanfResult" should also be a 1, and
// you can test that, too,
sscanfResult = $sscanf(str,"%d",NowInSeconds);
// close the file...
$fclose(FP); // closes the file
// use the number as a seed...
process::self.srandom(NowInSeconds);