最近搞了搞編譯器,解譯器.由於自己才接觸,開始完全不曉得基礎概念BNF文法.現貼在這裡.方便瞭解,學習轉http://blog.chinaunix.net/u/3176/showart_404211.html BNF 和EBNF的含義與用法 BNF 和EBNF的含義與用法(感謝譯者:Sunnybill)By: Lars Marius Garshol
1.2. Persistence and Entity BeansPersistence is a higher-level abstraction above JDBC. The persistence layer maps objects to database storage so that they can be queried, loaded, updated, or removed without having to go through a verbose(adj.詳細的,
程式員的精神特質Posted in Uncategorized by Hans AdreamanOctober 24, 2009 Tags: 世界觀, 心理, 性格, 程式員最近在某博上看到一段文字:周思博(Joel Spolsky)在幾年前的一篇文章中談論了程式員的喜好,其中一點就是非政治化。以下引用阮一峰部落格的翻譯:
XmlNode.Attributes 屬性描述:一個 XmlAttributeCollection,它包含該節點的屬性。 如果節點為 XmlNodeType.Element 類型,則返回該節點的屬性。否則,該屬性將返回Null 參考(在 Visual Basic 中為 Nothing)。樣本:下面的樣本向 XML 文檔添加一個新屬性。Public Shared Sub Main()Dim doc As New XmlDocument()doc.LoadXml("<book
Do not create web projects, create library projects instead.When developing a web application, using visual studio will make the developing process a bit easier. However, it's much difficult to share web projects by a team, especially which are
from:http://en.wikipedia.org/wiki/High-intensity_focused_ultrasound HIFU (high-Intensity Focused Ultrasound) (sometimes FUS or HIFUS) is a highly precise medical procedure using high-intensity focused ultrasound medical device to heat and destroy
今日在tw的MSDN上忽然看到了關於c#調用c編寫的dll,方法不錯.又簡單.以前還老寫Active X,麻煩.具體例子,借用MSDN(v2005),如下 using System;using System.Runtime.InteropServices;class MainClass { [DllImport("User32.dll")] public static extern int MessageBox(int h, string m, string c, int type)