随笔分类 -  C/C++

摘要:How to tell if a file is an EXE or a DLL? 1 void DumpFile(LPWSTR filename) 2 { 3 HANDLE hFile = CreateFile(filename, GENERIC_READ, FILE_SHARE_READ... 阅读全文
posted @ 2015-09-06 17:24 IAmAProgrammer 编辑
摘要:Comment comparisonThere is a wide variety of syntax styles for declaring comments in source code.BlockCommentin italics is used here to indicate block... 阅读全文
posted @ 2015-08-29 19:23 IAmAProgrammer 编辑
摘要:---恢复内容开始---OBDII Interface ProjectWhen I can ever find enough time away from schoolwork, I try to work on an OBDII compliant portable ScanTool. Howev... 阅读全文
posted @ 2015-08-29 19:22 IAmAProgrammer 编辑
摘要:算法思想简单描述:在插入第i个元素时,对前面的0~i-1元素进行折半,先跟他们 中间的那个元素比,如果小,则对前半再进行折半,否则对后半 进行折半,直到left>right,然后再把第i个元素前1位与目标位置之间 的所有元素后移,再把第i个元素放在目标位置上。 二分法排序最重要的一个步骤就是查... 阅读全文
posted @ 2015-08-10 23:00 IAmAProgrammer 编辑
摘要:Detailed DescriptionGeneric CAN Driver.This module implements a generic CAN (Controller Area Network) driver allowing the exchange of information at f... 阅读全文
posted @ 2015-08-09 11:29 IAmAProgrammer 编辑
摘要:There are two kinds of errors that Basis can find.Syntaxerrors occur during the parsing of input code, and are caused by grammatically incorrect state... 阅读全文
posted @ 2015-08-04 23:55 IAmAProgrammer 编辑
摘要:指针变量可以指向一个结构数组,这时结构指针变量的值是整个结构数组的首地址。结构指针变量也可指向结构数组的一个元素,这时结构指针变量的值是该结构数组元素的首地址。设ps为指向结构数组的指针变量,则ps也指向该结构数组的0号元素,ps+1指向1号元素,ps+i则指向i号元素。这与普通数组的情况是一致的。... 阅读全文
posted @ 2015-08-03 00:55 IAmAProgrammer 编辑
摘要:Overload:顾名思义,就是Over(重新)——load(加载),所以中文名称是重载。它可以表现类的多态性,可以是函数里面可以有相同的函数名但是参数名、返回值、类型不能相同;或者说可以改变参数、类型、返回值但是函数名字依然不变。Override:就是ride(重写)的意思,在子类继承父类的时候子... 阅读全文
posted @ 2015-07-29 20:55 IAmAProgrammer 编辑
摘要:The WinUSB user-mode library uses device interface classes to communicate with the kernel-mode USB stack. The INF file that loads winusb.sys specifies... 阅读全文
posted @ 2015-07-20 18:41 IAmAProgrammer 编辑
摘要:1 #ifndef __SYSTEM_H__ 2 #define __SYSTEM_H__ 3 4 #include 5 #include 6 7 #include "bsp.h" 8 9 extern void sys_srand( unsigned int seed );10 ext... 阅读全文
posted @ 2015-07-16 14:58 IAmAProgrammer 编辑
摘要:/* The Quest Operating System * Copyright (C) 2005-2010 Richard West, Boston University * * This program is free software: you c... 阅读全文
posted @ 2015-06-28 01:33 IAmAProgrammer 编辑
摘要:How to convert a byte to its binary string representationFor example, the bits in a byteBare10000010, how can I assign the bits to the stringstrlitera... 阅读全文
posted @ 2015-06-26 11:53 IAmAProgrammer 编辑
摘要:how convert large HEX string to binaryI have a string with 14 characters . This is a hex represantation of 7bytes. I want to convert it to binary.int3... 阅读全文
posted @ 2015-06-26 02:53 IAmAProgrammer 编辑
摘要:https://github.com/fancycode/MemoryModuleMemoryModuleis a library that can be used to load a DLL completely from memory - without storing on the disk ... 阅读全文
posted @ 2014-10-30 15:04 IAmAProgrammer 编辑
摘要:------------------------ Standard Tab ------------------------ mm TMainMenu pm TPopupMenu mmi TMainMenuItem pmi TPopupMenuItem lbl TLabel edt ... 阅读全文
posted @ 2014-10-19 18:03 IAmAProgrammer 编辑
摘要:http://www.codeproject.com/Articles/36184/Simple-Worker-Thread-ClassIntroductionMany times we need to create worker threads and generally we want to w... 阅读全文
posted @ 2014-10-02 10:39 IAmAProgrammer 编辑
摘要:#ifndef __AGDI__INCED___ #define __AGDI__INCED___//---Revision History: ----------------------------------------------// 17.10.2000, added AG_SYM_S... 阅读全文
posted @ 2014-09-18 15:27 IAmAProgrammer 编辑
摘要:From: Will DeWitt Jr. Subject: Fast strlen routine?NewsGroup: borland.public.delphi.language.basmDate Posted: 28-May-2003 at 13:50:4 PST Download... 阅读全文
posted @ 2014-09-17 08:11 IAmAProgrammer 编辑
摘要:STM32串口通信中使用printf发送数据配置方法(开发环境 Keil RVMDK)http://home.eeworld.com.cn/my/space-uid-338727-blogid-47176.html在STM32串口通信程序中使用printf发送数据,非常的方便。可在刚开始使用的时候总... 阅读全文
posted @ 2014-09-13 23:13 IAmAProgrammer 编辑
摘要:http://programming.sirrida.de/Discussion topicsBit permutationsDownload source filesList of function descriptionsOnline source code generator for bit ... 阅读全文
posted @ 2014-09-11 22:10 IAmAProgrammer 编辑

点击右上角即可分享
微信分享提示