自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(24)
  • 资源 (3)
  • 收藏
  • 关注

原创 Ubuntu 9.10安装中文字体

以安装微软雅黑为例:下载解压后将雅黑字体放到 /usr/share/fonts/yahei/下,yahei为你新建立的雅黑字体文件夹然后 修改字体权限sudo chmod 755 /usr/share/fonts/yahei/msyh.ttf然后运行以下命令:cd /usr/share/fonts/yahei/ sudo mkfontscalesudo mkfontdi

2010-03-14 16:29:00 759

原创 Ubuntu 9.10 Panel无响应

这是Ubuntu 9.10的一个已知bug,是由于面板的天气插件造成的,关闭天气插件重启系统后解决。

2010-03-14 16:25:00 480

转载 WCF and 404.3 Errors

After building, a WCF service in Windows Server 2003, I thought no big deal, for Windows Server 2008.  I deployed the service on my Windows Server 2008 machine and started getting 404.3 errors only wi

2009-10-22 16:29:00 427

原创 VS2008 出现 'Sys' is undefined 错误

     在asp.net ajax 1.0 中出现 Sys is undefined 错误多数是由于web.config中关于ajax的配置不正确,但是VS2008的web.config中对于ajax的配置是自动生成的,所以此时 Sys is undefined 错误应该不是由于配置问题造成的。     此时需要注意的是对于sys对象的引用一定要出现在ScriptManager的声明

2009-09-08 20:00:00 685

转载 Visual Studio 2008 System.Runtime.InteropServices.COMException

 Solution Summary:It seems that DevelopmentServerPort and IISUrl were changed in the process of installing Norton Internet Security. These values must be updated in the Project file.

2009-07-03 15:35:00 509

原创 How to configure SQL Server 2005 to allow remote connections

INTRODUCTIONloadTOCNode(1, summary);When you try to connect to an instance of Microsoft SQL Server 2005 from a remote computer, you may receive an error message. This problem may occur whe

2008-07-29 17:52:00 810

原创 SQL SERVER 2005 下启动sa用户和修改sa的密码

 如果安装SQL时用的是只WINDOWS身份验证SA是不能登陆的 在SQL Server Management Studio 用WINDOWS连接的情况下改实列的“属性”中“安全性”选中WINDOWS及SQL验证,再重起SQL服务器后执行下面代码ALTER LOGIN sa ENABLE ;GOALTER LOGIN sa WITH PASSWORD = password ;GO修

2008-07-26 17:49:00 702

原创 #include *View类的头文件后 View类中GetDocument()出错的解决办法

要在包含 *view的头文件之前包含*doc头文件

2007-11-06 12:15:00 651

转载 c++学习者的书目

(一)语言入门: 《C++ Primer》 最新版本:第三版(第四版国外已上架,国内一些网上书店也在预订中) 适合有丰富C经验,缺乏C++经验的。不过我个人一直认为此书带着过于强烈的C语言的痕迹,对于C++的学习未必是好事。 《The C++ Programming Language》/《C++程序设计语言》 最新版本:第三版特别版 简称TC++PL,有其他语言的丰富经验的。(也有人简称之

2007-10-31 15:39:00 337

转载 深入理解sizeof

一、好首先看看sizeof和strlen在MSDN上的定义:首先看一MSDN上如何对sizeof进行定义的:sizeof Operatorsizeof expressionThe sizeof keyword gives the amount of storage, in bytes, associated with a variable or a type (includ

2007-10-09 16:30:00 353

转载 C和C++中的static

一. C语言          static在c里面可以用来修饰变量,也可以用来修饰函数。         先看用来修饰变量的时候。变量在c里面可分为存在全局数据区、栈和堆里。其实我们平时所说的堆栈是栈而不包含对,不要弄混。        int a ;        main()        {             int b ;              int c* = (int

2007-10-09 09:23:00 463

原创 在MFC类中各种类的指针的获取和应用

在MFC类中各种类的指针的获取和应用 关于MFC下的文档和视图以及框架之间的访问, 这些问题已经是老生常谈了,但我觉得还是都没有详细的说明,特别是对于英语较差的人,我查看了一些blog,总结了一下!希望对和我一样的人有点帮助! 一:      1:   因为对于SDI程序,主框架窗口就是文档框窗(如果这个也不知道,就要查看一下MFC下的单文档的构成原理了).           下面所说的是关

2007-09-26 08:44:00 362

原创 VC中如何访问各个类

 访问应用程序的其它类 获得CWinApp: -在CMainFrame,CChildFrame,CDocument,CView中直接调用AfxGetApp()或用theApp -在其它类中只能用AfxGetApp() 获得CMainFrame: -在CMinApp中用AfxGetMainWnd()或者m_pMainWnd -在CChildFrame中可用GetParentFrame() -在其它类

2007-09-26 08:43:00 984

原创 (转)简单“破解”Skin++

如何将Skin++试用版本变为正式版本(原创:C++菜菜 QQ:86226337) 作者声明:本文以学习交流为目的,以下将Skin++试用版本变为正式版本方法只限于学习研究领域,作者不承担任何法律责任!若转贴请保留作者及本声明,谢谢! 1.首先到 www.uipower.com 上面下载Skin++的免费试用版本。2.用VC创建新的MFC工程。3.把Skin++的三个文

2007-06-24 22:31:00 3890 3

原创 (转)如何破解Skin++

[原创]  如何破解Skin++         作者: Jonersen郑重声明:本文只供学习交流,技术研究使用,不得将该方法应用到任何商业用途,否则由此产生的一切后果及责任本人概不负责!如果引用该文章请保留声明部分!谢谢!!1.先到 www.uipower.com下载skin++的试用版本.其实就三个文件         SkinPPWTL.h         SkinPP

2007-06-24 22:30:00 3440 6

原创 经典SQL语句集锦

下列语句部分是MsSql语句,不可以在access中使用。SQL分类:DDL—数据定义语言(CREATE,ALTER,DROP,DECLARE)DML—数据操纵语言(SELECT,DELETE,UPDATE,INSERT)DCL—数据控制语言(GRANT,REVOKE,COMMIT,ROLLBACK)首先,简要介绍基础语句:1、说明:创建数据库CREATE DATABASE database-na

2007-06-24 22:29:00 441

原创 老东西不能丢

http://lzyint.googlepages.com/ 

2007-06-24 22:28:00 551

原创 VC+ADO动态创建Access数据库

ado技术目前已经成为连接数据库的主流技术,下面介绍如何使用ado来动态创建access数据库。为了使用ado,必须引入微软的两个动态连接库msadox.dll和msado15.dll:#pragma warning (disable: 4146)#import "c:/Program Files/Common Files/system/ado/msadox.dll"#import "c:

2007-06-24 22:28:00 916

原创 用C++代码建立和压缩ACCESS数据库文件

ACCESS的数据库引擎MS JET 4.0是目前应用很广的小型数据库引擎,它具有使用简单,费用低廉(基本上是免费),对机器的配置要求低和对操作者的技术要求低等特点。在使用MS JET的时候如果我们的程序能够自动建立和维护所用的*.MDB文件,那么我们的小程序将会显得更专业。下面简单介绍一下如何动态建立*.MDB文件和压缩*.MDB文件的操作,以下代码都是基于ADO数据编程。 1) 动态建立*.M

2007-06-24 22:27:00 765

原创 用SQL建立ACCESS表

------------------------------------------------------------------         类型名称         TYPE               备注------------------------------------------------------------------   自动编号         integer  

2007-06-24 22:26:00 703

原创 将ORACLE9数据库表内容输出到文本文件的两种方法(SPOOL / UTL_FILE)

数据库服务名为:cncworks数据库sys用户密码为:gesys数据库simpdba(普通用户)密码为:well现有一个数据库表:create table simpdba.test(id number(1),name varchar2(20),address varchar2(20));内容如下:insert into simpdba.test values(1,’quchch’,’sy’);i

2007-06-24 22:25:00 1282

原创 加速firefox启动

firefox全方面优化1,加快浏览速度。首先在浏览器地址栏里输入“about:config”,等系统调用完毕之后按照下列步骤:(1)更改 "network.http.pipelining" 为 ture(2)更改 "network.http.proxy.pipelining" ture(3)更改 "network.http.pipelining.maxrequests"为8,意思是同时可以接受8

2007-06-24 22:25:00 2472 1

原创 EXCEL中将两列数字中存在的相同的数字挑出来

比如以下两列数:32 3247 3331 4451 4545 60     方法: 假设数据在A、B列,第2

2007-06-24 22:23:00 2490

原创 在VC调试器中显示线程的最后错误代码

  在Microsoft Visual studio 6.0中,Microsoft的调试程序支持一个非常有用的特性,即可以配置 Watch窗口,以便始终都能显示线程的最后错误代码的号码和该错误的英文描述。通过选定 Watch窗口中的一行,并键入“@err,hr”,就能够做到这一点。图中,已经调用了CreateFile函数。该函数返回INVALID_HANDLE_VALUE(-1)的HANDLE,表

2007-04-11 17:37:00 1046

JavaScript: The Definitive Guide: Activate Your Web Pages

JavaScript权威指南第六版 Since 1996, JavaScript: The Definitive Guide has been the bible for JavaScript programmers—a programmer’s guide and comprehensive reference to the core language and to the client-side JavaScript APIs defined by web browsers. The 6th edition covers HTML5 and ECMAScript 5. Many chapters have been completely rewritten to bring them in line with today’s best web development practices. New chapters in this edition document jQuery and server side JavaScript. It’s recommended for experienced programmers who want to learn the programming language of the Web, and for current JavaScript programmers who want to master it. “A must-have reference for expert JavaScript programmers…well-organized and detailed.” –Brendan Eich, creator of JavaScript, CTO of Mozilla “I made a career of what I learned from JavaScript: The Definitive Guide.” – Andrew Hedges, Tapulousl-organized and detailed.” –Brendan Eich, creator of JavaScript, CTO of Mozilla “I made a career of what I learned from JavaScript: The Definitive Guide.” – Andrew Hedges, Tapulous

2011-06-17

C# 4.0 in a Nutshell: The Definitive Reference

What people are saying about C# 4.0 in a Nutshell "C# 4.0 in a Nutshell is one of the few books I keep on my desk as a quick reference. It is a book I recommend." --Scott Guthrie, Corporate Vice President, .NET Developer Platform, Microsoft Corporation "A must-read for a concise but thorough examination of the parallel programming features in the .NET Framework 4." --Stephen Toub, Parallel Computing Platform Program Manager, Microsoft "This wonderful book is a great reference for developers of all levels." -- Chris Burrows, C# Compiler Team, Microsoft When you have questions about how to use C# 4.0 or the .NET CLR, this highly acclaimed bestseller has precisely the answers you need. Uniquely organized around concepts and use cases, this fourth edition includes in-depth coverage of new C# topics such as parallel programming, code contracts, dynamic programming, security, and COM interoperability. You'll also find updated information on LINQ, including examples that work with both LINQ to SQL and Entity Framework. This book has all the essential details to keep you on track with C# 4.0. Get up to speed on C# language basics, including syntax, types, and variables Explore advanced topics such as unsafe code and preprocessor directives Learn C# 4.0 features such as dynamic binding, type parameter variance, and optional and named parameters Work with .NET 4's rich set of features for parallel programming, code contracts, and the code security model Learn .NET topics, including XML, collections, I/O and networking, memory management, reflection, attributes, security, and native interoperability

2010-07-14

Essential Csharp 4.0

Essential C# 4.0 is an well-organized, “no-fluff” guide to C# 4.0 for programmers at all levels of C# experience. This fully updated edition shows how to make the most of C# 4.0’s new features and programming patterns to write code that is both simpler and more powerful. This edition contains two entirely new chapters on parallel programming, multithreading, and concurrency, as well as extensive new coverage of dynamic typing, covariance/ contravariance, and many other new topics. Author Mark Michaelis covers the C# 4.0 language in depth, illustrating key constructs with succinct, relevant, downloadable code examples. Graphical “mind maps” at the beginning of each chapter show what material is covered and how individual topics interrelate. Topics intended for beginners and advanced readers are clearly marked. Following an introduction to C#, readers learn about Updated best practices for C# 4.0 object-oriented programming Data, value, and reference types, including dynamic typing, implicitly typed variables, and anonymous types Operators, control flow, and arrays Methods and parameters, including extension methods, partial methods, option parameters, and named parameters Classes, inheritance, and interfaces Best practices for exception handling Generics, collections, custom and concurrent collections, and iterators Delegates, events, and lambda expressions Collection interfaces and standard query operators Query expressions and new C# 4.0 tree expressions Reflection, attributes, and dynamic programming Parallel Query Processing with PLINQ Multithreaded programming with the Task Programming Library Platform interoperability and unsafe code Common Language Infrastructure (CLI) Essential C# 4.0 will help you write high-quality, highly effective code–whether you’re just starting out, are an experienced developer moving to C#, or are a seasoned C# programmer seeking to master C# 4.0’s most valuable enhancements.

2010-07-14

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除