自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 资源 (5)
  • 收藏
  • 关注

转载 关于char *p和char p[]

见论坛上有人讨论这个问题,感觉也是涉及面比较广,而且很多人犯过这个错误,比如声明char *p = "hello world!";却妄图用p指针改变字符串内容,所以就这个问题,我总结了一下。转载注明作者Logic0以及出处。主要解析的问题:问题1:#include "stdio.h"char *get_string_1(){    char p[] = "hello world!";   

2011-06-29 21:41:00 224

原创 Asynchronous Method Invocation 【翻译】 (六)

Wait a minute! On which thread is the call-back executed on?After all, the callback is invoked by .NET using your delegate, but still it is .NET that calls this delegate. It is your right and duty t

2011-06-24 00:48:00 383

原创 Asynchronous Method Invocation 【翻译】 (五)

Using the Callback delegate, Hollywood style "Don�t call me I will call you!"At this point, you should understand how parameters can be passed, how to pass state, and understand the fact that your m

2011-06-24 00:13:00 323

原创 Asynchronous Method Invocation 【翻译】 (四)

What they don�t want you to know about IAsyncResultYou should be wondering how EndInvoke is able to give us the output parameters and the updated ref parameters. Or, better yet, how EndInvoke is abl

2011-06-23 22:06:00 368

原创 Asynchronous Method Invocation 【翻译】 (三)

Passing parameters to your methodOkay, so calling functions without parameters is not going to take us very far, so I am going to modify my super fancy and sophisticated Foo function to take a few p

2011-06-23 20:56:00 286

原创 Asynchronous Method Invocation 【翻译】 (二)

BeginInvoke() and EndInvoke()So far we saw how to invoke a method without really knowing when it is finished. But with EndInvoke(), it is possible to do a few more things. First of all, EndInvoke wi

2011-06-23 12:29:00 328

原创 Asynchronous Method Invocation 【翻译】 (一)

IntroductionIn this article, I am going to explain asynchronous method calls and how to use them. After playing with delegates, threads, and asynchronous invocation for so long, it would be a sin

2011-06-22 21:36:00 431

漂亮的C#软件启动界面特效源码

漂亮的C#软件启动界面特效源码 vs2008

2009-10-20

c#调用存储过程的相关代码

C#一些基本的调用存储过程的东东 比较适合新人用用 平时收集了些 呵呵~希望支持

2008-10-27

3G网CDMA

Dr.CDMA的说明。做移动方面的可以参考下<br>

2008-07-28

卡西欧采集器一个程序

卡西欧数据采集器DT900一个程序,有可以参考学习下

2007-06-07

空空如也

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

TA关注的人

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