標籤: 在代碼顯示的時候,有行號會非常的方便舒服(可能是個人習慣)。 這讓我想到部落格園的代碼顯示,添加行號居然是在每一行代碼前添加數字,只能說是下下策,身為處女座的我對此很是不滿,雖然曾經也這樣想過。。 測試: 1 using System; 2 using System.IO; 3 using System.Collections.Generic; 4 using System.ComponentModel; 5 using System.Data; 6 using
標籤:alert 日誌記錄了資料庫的很多重要訊息,要養成時常檢查alert日誌的習慣,但如果日誌很大vi開啟翻來覆去找著麻煩,怎麼做的可以查錯呢?看我的測試[[email protected] bdump]$ tail -n 1000 alert_ahjcyl.log |grep ORA-ORA-12012: error on auto execute of job 22ORA-00054: resource busy and acquire with NOWAIT
標籤:C. Make Palindrome A string is called palindrome if it reads the same from left to right and from right to left. For example "kazak", "oo", "r" and "mikhailrubinchikkihcniburliahkim" are palindroms, but strings "abb" and "ij" are
標籤:getchar()和scanf("%c")的功能都是從STDIN讀一個字元,單論功能兩者沒有區別。 但兩者的傳回值是有區別的:------------------------------------------------scanf()的詳盡介紹請移步這裡。-------------------------------------------------scanf()的傳回值的含義是:On success, the function returns the number of
標籤:#include <stdio.h>//結構體:可以由多個不同類型的資料構成int main(){ struct Person { //裡面的3個變數,可以稱為是結構體的成員或者屬性 int age; double height; char *name; }; struct Person p = {20, 1.55,