C++ Programmer's Cookbook

{C++ 基础} {C++ 高级} {C#界面,C++核心算法} {设计模式} {C#基础}

posted @ 2005-12-08 08:58 梦在天涯 阅读(943) | 评论 (0)编辑 收藏
posted @ 2005-12-06 15:53 梦在天涯 阅读(5678) | 评论 (1)编辑 收藏
posted @ 2005-12-06 15:51 梦在天涯 阅读(4006) | 评论 (1)编辑 收藏
posted @ 2005-12-06 15:50 梦在天涯 阅读(3254) | 评论 (0)编辑 收藏
posted @ 2005-12-06 15:49 梦在天涯 阅读(1510) | 评论 (0)编辑 收藏
posted @ 2005-12-06 08:52 梦在天涯 阅读(2508) | 评论 (0)编辑 收藏
posted @ 2005-12-01 17:42 梦在天涯 阅读(2063) | 评论 (1)编辑 收藏
posted @ 2005-11-30 11:58 梦在天涯 阅读(3586) | 评论 (2)编辑 收藏
posted @ 2005-11-29 16:31 梦在天涯 阅读(1201) | 评论 (0)编辑 收藏
posted @ 2005-11-28 18:25 梦在天涯 阅读(966) | 评论 (0)编辑 收藏
posted @ 2005-11-24 13:25 梦在天涯 阅读(523) | 评论 (0)编辑 收藏
posted @ 2005-11-24 13:10 梦在天涯 阅读(407) | 评论 (0)编辑 收藏
posted @ 2005-11-24 12:23 梦在天涯 阅读(1156) | 评论 (0)编辑 收藏
posted @ 2005-11-24 12:06 梦在天涯 阅读(1675) | 评论 (0)编辑 收藏
posted @ 2005-11-24 10:33 梦在天涯 阅读(1330) | 评论 (0)编辑 收藏
posted @ 2005-11-24 10:29 梦在天涯 阅读(814) | 评论 (0)编辑 收藏
posted @ 2005-11-24 09:25 梦在天涯 阅读(528) | 评论 (0)编辑 收藏
posted @ 2005-11-24 09:19 梦在天涯 阅读(2791) | 评论 (4)编辑 收藏
posted @ 2005-11-24 09:17 梦在天涯 阅读(2215) | 评论 (0)编辑 收藏
     摘要: 用ASP.NET/C#连接Access和SQL Server数据库   阅读全文
posted @ 2005-11-23 19:16 梦在天涯 阅读(3667) | 评论 (0)编辑 收藏
     摘要: Perform an XSL Transform  阅读全文
posted @ 2005-11-23 18:50 梦在天涯 阅读(593) | 评论 (0)编辑 收藏
     摘要: Use XML Serialization with Custom Objects/Create a Schema for a .NET Class/Generate a Class from a Schema  阅读全文
posted @ 2005-11-23 18:40 梦在天涯 阅读(868) | 评论 (0)编辑 收藏
     摘要: Validate an XML Document Against a Schema  阅读全文
posted @ 2005-11-23 18:26 梦在天涯 阅读(926) | 评论 (0)编辑 收藏
     摘要: find the nodes in XML in 3 means  阅读全文
posted @ 2005-11-23 18:13 梦在天涯 阅读(560) | 评论 (0)编辑 收藏
     摘要: read and write XMl in 2 means in c#  阅读全文
posted @ 2005-11-23 18:09 梦在天涯 阅读(730) | 评论 (0)编辑 收藏
posted @ 2005-11-23 12:24 梦在天涯 阅读(558) | 评论 (0)编辑 收藏
posted @ 2005-11-22 17:54 梦在天涯 阅读(1756) | 评论 (0)编辑 收藏
posted @ 2005-11-21 17:44 梦在天涯 阅读(869) | 评论 (0)编辑 收藏
     摘要: 从c++到c#  阅读全文
posted @ 2005-11-21 16:59 梦在天涯 阅读(2102) | 评论 (1)编辑 收藏
     摘要: Introduction
Accessing databases is a common part of most applications and with the introduction of C# and ADO.NET, has become quite simple. This article will demonstrate the four most basic database operations.

Reading data. This includes various data types such as integers, strings and dates.
Writing data. As with reading we will write these common types. This will be done using a SQL statement.
Updating or modifying data. Again we will use a simple SQL statement. 阅读全文
posted @ 2005-11-21 12:20 梦在天涯 阅读(1303) | 评论 (1)编辑 收藏
     摘要: Managed, Unmanaged, Native: What Kind of Code Is This?  阅读全文
posted @ 2005-11-21 10:47 梦在天涯 阅读(2138) | 评论 (11)编辑 收藏
     摘要: 归纳起来,泛型比非泛型具有下面两个优点:

1、 更加安全

在非泛型编程中,虽然所有的东西都可以作为Object传递,但是在传递的过程中免不了要进行类型转换。而类型转换在运行时是不安全的。使用泛型编程将可以减少不必要的类型转换,从而提高安全性。

2、 效率更高

在非泛型编程中,将简单类型作为Object传递时会引起Boxing和Unboxing操作,这两个过程都是具有很大开销的。使用泛型编程就不必进行Boxing和Unboxing操作了。



.NET泛型具有很好的二进制重用性。这一点得益于.NET将泛型内建在CLR之中。C++泛型和评估中Java泛型所依靠的是它们各自的编译器所提供的特性,编译器在编译泛型代码时将确切的类型展开,这就难免会出现代码膨胀的问题。而.NET的泛型代码是在运行时由JIT即时编译的,这样CLR就可以为不同类型重用大部分的即时编译代码了。  阅读全文
posted @ 2005-11-18 13:51 梦在天涯 阅读(3518) | 评论 (0)编辑 收藏
posted @ 2005-11-18 13:37 梦在天涯 阅读(457) | 评论 (0)编辑 收藏
posted @ 2005-11-18 13:36 梦在天涯 阅读(1684) | 评论 (1)编辑 收藏
     摘要: Namespaces/Identifiers   阅读全文
posted @ 2005-11-18 12:49 梦在天涯 阅读(405) | 评论 (0)编辑 收藏
     摘要: In this article, we will analyze COM components and their application in C#. These components became popular among developers after Microsoft released Active Server Pages. However, the whole scenario changed when Microsoft released its Windows 2000 operating system and subsequent COM+ technology. In this article, we will examine the fundamentals of this exiting technology followed by its application in C#.

  阅读全文
posted @ 2005-11-18 12:30 梦在天涯 阅读(677) | 评论 (0)编辑 收藏
     摘要: Exception Handling in C#  阅读全文
posted @ 2005-11-18 12:03 梦在天涯 阅读(695) | 评论 (0)编辑 收藏
     摘要: Properties/Access Modifiers/Enumerations/Interfaces(c#)  阅读全文
posted @ 2005-11-17 17:10 梦在天涯 阅读(554) | 评论 (0)编辑 收藏
posted @ 2005-11-16 16:00 梦在天涯 阅读(825) | 评论 (0)编辑 收藏
posted @ 2005-11-16 10:16 梦在天涯 阅读(2664) | 评论 (0)编辑 收藏
仅列出标题
共12页: First 4 5 6 7 8 9 10 11 12 

公告

EMail:itech001#126.com

导航

统计

  • 随笔 - 461
  • 文章 - 4
  • 评论 - 746
  • 引用 - 0

常用链接

随笔分类

随笔档案

收藏夹

Blogs

c#(csharp)

C++(cpp)

Enlish

Forums(bbs)

My self

Often go

Useful Webs

Xml/Uml/html

搜索

  •  

积分与排名

  • 积分 - 1786678
  • 排名 - 5

最新评论

阅读排行榜