原创 C語言學習筆記—08-02
練習2-3,編寫函數htoi(s),把十六進制的字符串轉換爲整數值。#include <stdio.h> #include <string.h> #include <math.h> #include <ctype.h> //測試用函數
原创 Learning Java 7 Chapter 4 The Java Language (1)
爲什麼先翻譯第四章,因爲第四章比較實用。===============================華麗的分割線=============================這一章開始了對java語法的介紹,因爲本書的讀者有着不同的編程經驗,
原创 Hibernate常見錯誤收集
一, bean中的屬性忘記寫getter/setter方法 代碼: import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernat
原创 1.5 OperationSystem Sturcture
1.5 Operating-System Operations--Modern OS is interrupt driven.1.5.1 Dual-Mode Operation--To ensure the proper execution
原创 1.2 Computer-System Organization
1.2.1--Initial program to run, this called bootstrapprogram.--It initalizes all the aspects of system,from CPU registers
原创 1.8 Storage Management
1.8.1 File-System Management--A file is a collection of relatedinformation defined by its creator.1.8.3 Caching--It is c
原创 指針產生的奇怪現象(已解決)
這是k書中的strcpy的例子:void strcpy(char *s, char *t) { while (*s++ = *t++) ; }用來將字符串t複製到字符串s編譯環境,虛擬機中的LINUX。編譯完
原创 無論怎麼樣,每天寫一篇
我想我必須學會寫東西。
原创 關於P推導出Q的問題(離散數學及應用第七版英文26頁)
書中給出了一張真值表 p q p→q T T T T F F F T T ? ? ? F F T 爲什麼前提錯誤 ,結論正確,整個就是正確呢? 書中給出了一個例子,“If I am elec