自定义博客皮肤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)
  • 收藏
  • 关注

原创 测试一个机器大小端

// BigSmallEndian.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include using namespace std; /* * 一般机器中 long 为 4 byte (32 bit),所以可以测试某 long 类型的地址和数据分配情况。 * 比如 0x12345678,0x78 是低字节数据,0x12 是高字节数据,若

2014-09-04 15:50:56 448

原创 C#使当前软件只能产生一个运行实例

Process CurrentInstance = GetExitProcess(); if (CurrentInstance != null) { SetFor }

2014-09-02 17:27:09 422

原创 c#中using关键字

1、普通用法 using system; 2、使用别名 using class1 = namespace1.

2014-04-09 14:12:21 492

原创 C#多线程简单实例

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; namespace ConsoleApplication1 { class Program { static private int i = 0;

2014-01-09 15:03:14 495

原创 C#四路继电器usb转com口编程

用到C#在名字空间System.IO.Ports下的SerialPort类来实现功能using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Timers; using System.IO.Ports; namespace ComLibrary {

2013-12-26 14:42:04 2448

原创 C++学习之简单dll制作和预编译头

头文件保护#ifndef HEAD_H #define HEAD_H //头文件内容 #endif 在有些代码中我们可以看到这样的代码 #ifdef DEBUG //... #endif如果程序定义了预编译器DEBUG名字,程序将执行中间部分的代码 在编译C++程序时,编译器自动定义了一个预处理器名字__cplusplus(两个下划线).因此我们可以根据它来判断是否为C++程

2013-12-17 18:35:05 764

原创 关于C#中父子窗体间交互问题

为实现父子窗体通信,我们可以用托管来实现 在子窗体中定义这两个委托         public delegate void OverLapHandler(object sender, EventArgs e);         public event OverLapHandler OverLap;         public delegate void NewPath

2013-12-17 17:22:16 779

空空如也

空空如也

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

TA关注的人

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