Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - AT Sample code
Search - AT Sample code - List
Parses forwards and backwards. -Scans forwards and backwards. -Get the delimiter that was found. -Get the offset at where the token was started. -Get the current offset of the parser. -Add any number of delimiters. -Support for delimiter lists. Instead of removing all delimiters and adding one by one, just set the delimiter list. Can be used for easier parsing out of comments. -Unicode/Ansi Support Included is also 5 tests showing all the functions in action. Sample text is mostly a snippet of C++ source code except for one test. Shows the ease of use for parsing with support multiple delimiters.
Date : Size : 50kb User : majid

VC窗体中的listBox列表多选示例程序,不用多介绍了吧,可以选择至少两项数据的ListBox,代码挺简洁,入门的VC++朋友,有兴趣参考参考。 -VC form, a list of multiple choice in listBox sample program, do not introduce more of it, you can choose at least two data, ListBox, the code very simple, entry of VC++ friends, are interested in information for reference.
Date : Size : 19kb User : madud00076

This book is designed to help you teach yourself how to program with C++. Just as you can learn to walk one step at a time, you can learn to program in C++ one hour at a time. Each lesson in this book has been designed so that you can read the entire lesson in just an hour a day. It lays emphasis on the practical usage of the language, and helps you get up-to-speed with concepts that are most important in writing C++ applications for realworld usage. By focusing for just an hour a day at a time, you’ll learn about such fundamentals as managing input and output, loops and arrays, object-oriented programming, templates, using the standard template library, and creating C++ applications—all in well-structured and easy-to-follow lessons. Lessons provide sample listings—complete with sample output and an analysis of the code—to illustrate the topics of the day.
Date : Size : 2.19mb User : Khanhha

可生成网上可见到的各类调查问卷的超强功能软件,即基于表单的所有系统都可用这个系统生成。 支持限制IP,验证码,限制网段等多种调查投递限制方式。 可自定义题目类型(如单选,多选,复合选,复合填空,等等,只要是表单上有的都可以组合生成,超强自定义) 可自由更换界面,使用时提交和提交成功界面均是纯Html格式,调查组织方随意编辑。 随时可对使用中投票调查进行更改,随时查看调查结果。 投票还原功能,可以真实实还原调查统计样本。-Can generate various types of online questionnaire can be seen super-functional software, that all systems are based on forms available in this system generates. Support Limitations IP, verification code, limit segment limit delivery methods and other surveys. Customizable title type (such as radio, checkbox, compound selection, composite fill in the blank, etc., as long as some can be combined on a form generated super-custom) are free to replace the interface, use the success of submission and submission interface are pure Html format, the survey organizers free to edit. Vote at any time use surveys can be changed at any time to view the survey results. Vote to restore function, you can restore the true real survey sample.
Date : Size : 4.25mb User : 陈浩杰

1。源文件保存在src目录,QII的工程文件保存在Proj目录; 2。程序可以在VGA显示器上以800x600分辨率显示方波示例和字母示例 3。具体设计参考代码。 -1. Save the source file in the src directory, QII project files in the directory Proj 2. Program can display at VGA display with 800x600 resolution and square-wave sample letters Example 3. Specific design reference code.
Date : Size : 3.11mb User : 成语

uIP is a very small implementation of the TCP/IP stack that is written by Adam Dunkels <adam@dunkels.com>. More information can be obtained at the uIP homepage at <http://dunkels.com/adam/uip/>. This is version $Name: uip-0-6 $. The directory structure look as follows: apps/ - contains some sample applications cc65/ - uIP for the 6502 CPU uip/ - actual uIP TCP/IP and ARP code unix - uIP as a user space process under FreeBSD or Linux-uIP is a very small implementation of the TCP/IP stack that is written by Adam Dunkels <adam@dunkels.com>. More information can be obtained at the uIP homepage at <http://dunkels.com/adam/uip/>. This is version $Name: uip-0-6 $. The directory structure look as follows: apps/ - contains some sample applications cc65/ - uIP for the 6502 CPU uip/ - actual uIP TCP/IP and ARP code unix - uIP as a user space process under FreeBSD or Linux
Date : Size : 69kb User : 叶漳桂

简单实用的一个I2C FPGA代码,在很多工程设计中很需要的哈-One sample I2C code,used to FPGA at some engneer.
Date : Size : 1.3mb User : eric

低电源电压范围为1.8 V至3.6 V 超低功耗: - 主动模式:280μA,在1 MHz,2.2伏 - 待机模式:1.1μA - 关闭模式(RAM保持):0.1μA 五省电模式 欠待机模式唤醒 超过6微秒 16位RISC架构, 125 ns指令周期时间 12位A/ D转换器具有内部 参考,采样和保持,并 AutoScan功能 16位Timer_B随着三† 或七‡ 捕捉/比较随着阴影寄存器 具有三个16位定时器A 捕捉/比较寄存器 片上比较器 串行通信接口(USART), 选择异步UART或 同步SPI软件: - 两个USART(USART0 USART1)的† - 一个USART(USART0)‡ 掉电检测 电源电压监控器/监视器 可编程电平检测 串行板载编程, 无需外部编程电压 安全可编程代码保护 融合-Low Supply-Voltage Range, 1.8 V to 3.6 V Ultralow-Power Consumption: − Active Mode: 280 µ A at 1 MHz, 2.2 V − Standby Mode: 1.1 µ A − Off Mode (RAM Retention): 0.1 µ A Five Power Saving Modes Wake-Up From Standby Mode in Less Than 6 µ s 16-Bit RISC Architecture, 125-ns Instruction Cycle Time 12-Bit A/D Converter With Internal Reference, Sample-and-Hold and Autoscan Feature 16-Bit Timer_B With Three† or Seven‡ Capture/Compare-With-Shadow Registers 16-Bit Timer_A With Three Capture/Compare Registers On-Chip Comparator Serial Communication Interface (USART), Select Asynchronous UART or Synchronous SPI by Software: − Two USARTs (USART0, USART1)† − One USART (USART0)‡ Brownout Detector Supply Voltage Supervisor/Monitor With Programmable Level Detection Serial Onboard Programming, No External Programming Voltage Needed Programmable Code Protection by Security Fuse
Date : Size : 1.84mb User : 苏春明

WINSOCK服务器端示例程序说明 该程序是基于对话框编程的,是采用一对多的方式进行连接的。 整个程序主要由CServerDlg,CServerApp,CListenSocket,CClientSocket构成的。 (所有关于类的说明在代码中有) 下面简单介绍一下程序流程: 主程序调用CListenSocket类的对象来进行对Socket的监听,当收到请求时调用主程序的函数来处理相应的连接,把Socket放进队列中。 对于Socket的接收数据和断开连接是由消息来触发的,是通过调用基类CSocket中的虚函数重载来处理的。 注:详细的过程,在程序代码中均有注释!-The WINSOCK server-side sample program that the program is a dialog-based programming, is one-to-many connection. The entire program CServerDlg, CServerApp CListenSocket, CClientSocket constitutes. (All instructions to the class in the code) The following is a brief look at the program flow: The main program calls CListenSocket class object to the Socket listener, the main function is called when the request is received to deal with the appropriate connection, the Socket into the queue. Socket to receive data and disconnect is triggered by the message is handled by calling the virtual function overloading base class CSocket. Note: The detailed process both in the code comments!
Date : Size : 3.43mb User : 爱上对方

DL : 0
本人是在家中上网,经常有一些BBS的密码懒得记了,就用IE的自动密码保存功能,这样一来是方便了,但却有一个麻烦,一旦机子不行了,想要重装操作系统了,这些密码却也取不出了,还得重新申请,好麻烦!因此我就写了一个工具,可以取得网页密码框的密码. 因为网页密码框不是一般的EDIT控件,因此不能取得网页密码框的句柄.要实现这个功能,只好通过WebBrowser控件的有关COM接口了.因此取得这些接口是整个程序的关键.有两种方法可以取得WebBrowser控件的接口,接下来我们会逐一介绍,并提供示例源代码供大家参考。-Internet at home, often the BBS password too lazy to remember to use IE' s automatic password save feature, so that is convenient, but there is a trouble, once the machine is to die, you want to reinstall the operating system , these passwords can also take not have to re-apply, good trouble so I wrote a tool that can get the web password box password web password box is not an ordinary EDIT control and therefore can not obtain the page password box handle. To achieve this, had about COM interfaces through the WebBrowser control. Therefore, to obtain these interfaces is the key to the whole program. There are two ways to obtain the interface of the WebBrowser control, then we will go through, and provide sample source The code for your reference.
Date : Size : 4kb User : wxg

VC++ 给图片加水印效果示例,导入原图片、导入水印图片,可以将两张图叠加到一张图上,相当于加水印效果,不过实现起来里面有很多细节的,具体请请看代码。源程序编译正常,不过加水印功能有些错误,对水印图片要求也比较高,不过目的是为了交流学习,明白了原理就好办多了。-water mark -VC++ to add a watermark sample pictures, import the original image, import the watermark image, and two maps can be superimposed on a map, which is equivalent to add the watermark, but to implement a lot of details, Please Look at Code. Source code to compile some errors, but add the Watermark feature high watermark image requirements, but the purpose is to exchange learning, understand the principle would be much easier.-Water mark
Date : Size : 1.03mb User : luissh

使用C#语言自制一个平滑的进度条控件,在示例程序中,点击测试按钮即可看到控件的使用效果。代码内的注释比较丰富,是学习参考的好范例。程序分为控件源码和实例源码,测试前请先编译WindowsFormsControlLibrary文件夹中的文件,然后将生成的DLL文件拷贝至SmoothProgressBar文件夹的Debug目录中,也就是DLL文件与测试文件是同级的才可以。关于部分C#代码的注释: -Using C# language-made a smooth progress bar control in a sample program, click the Test button to see the use of the control. The code within the comment is a good example to learn reference. The program is divided into the control source and example source code, test before you compile the file the WindowsFormsControlLibrary folder Debug directory and then the generated DLL file copied to the SmoothProgressBar folder DLL files and test files at the same level before they can . Notes on some C# code:
Date : Size : 42kb User : seivin

分类非平衡数据的SMOTEboost算法-This code implements SMOTEBoost. SMOTEBoost is an algorithm to handle class imbalance problem in data with discrete class labels. It uses a combination of SMOTE and the standard boosting procedure AdaBoost to better model the minority class by providing the learner not only with the minority class examples that were misclassified in the previous boosting iteration but also with broader representation of those instances (achieved by SMOTE). Since boosting algorithms give equal weight to all misclassified examples and sample from a pool of data that predominantly consists of majority class, subsequent sampling of the training set is still skewed towards the majority class. Thus, to reduce the bias inherent in the learning procedure due to class imbalance and to increase the sampling weights of minority class, SMOTE is introduced at each round of boosting. Introduction of SMOTE increases the number of minority class samples for the learner and focus on these cases
Date : Size : 5.37mb User : 贾建华

Windows 8商店应用的实例集合,代码分为C#, C++, VB.NET, and JavaScript版本 -This sample pack includes all the app code examples developed for Windows 8. The sample pack provides a convenient way to download all the samples at once. The samples in this sample pack are available in C#, C++, VB.NET, and JavaScript. The Windows Samples Gallery contains a variety of code samples that exercise the various new programming models, platforms, features, and components available in Windows 8 and/or Windows Server 2012. These downloadable samples are provided as compressed ZIP files that contain a Visual Studio solution (SLN) file for the sample, along with the source files, assets, resources, and metadata necessary to successfully compile and run the sample. For more information about the programming models, platforms, languages, and APIs demonstrated in this sample, please refer to the guidance, tutorials, and reference topics provided in the Windows 8 documentation available in the Windows Developer Center. This sample is provided as-is in order to indicate or demon
Date : Size : 30.86mb User : 刘毅

DL : 0
This a sample how to send SMS using AT Commands like in HyperTerminal via GSM Modem or compatible GSm phone attatched to the PC Comport or USB port.. For this sample i used Huawei E160 GSM/HSDPA/GPRS modem.. demonstrate how to use MSComm Control in VB6 in order to send data to the GSM Modem TODO: this code may not work with other modem so better check your modem s specs and manual check your modem s settings (baud Rate,RtsHold,HandShake, etc .comport is auto detect-This a sample how to send SMS using AT Commands like in HyperTerminal via GSM Modem or compatible GSm phone attatched to the PC Comport or USB port.. For this sample i used Huawei E160 GSM/HSDPA/GPRS modem.. demonstrate how to use MSComm Control in VB6 in order to send data to the GSM Modem TODO: this code may not work with other modem so better check your modem s specs and manual check your modem s settings (baud Rate,RtsHold,HandShake, etc .comport is auto detect..
Date : Size : 8kb User : rye

Pulse-code modulation (PCM) is a method used to digitally represent sampled analog signals. It is the standard form of digital audio in computers, Compact Discs, digital telephony and other digital audio applications. In a PCM stream, the amplitude of the analog signal is sampled regularly at uniform intervals, and each sample is quantized to the nearest value within a range of digital steps. Quantization Noise occurs in PCM.
Date : Size : 69kb User : Usman

图像融合是图像处理的重要一环,但图像融合目前未有通用的技术,此代码试采用Kalman方法对图像进行融合,试图达到一个较好的图像信息保留和处理-Image fusion is an important part of image processing, but the image fusion is at present no common technology, this code sample using the Kalman method for image fusion, trying to achieve a better image information retention and disposal
Date : Size : 1kb User : zhaoyongjie

图像融合是图像处理的重要一环,但图像融合目前未有通用的技术,此代码试采用小波变换和局部能量相结合的方法对图像进行融合,试图达到一个较好的图像信息保留和处理-Image fusion is an important part of image processing, but the image fusion is at present no common technology, this code sample using wavelet transform and the method of combining local energy for image fusion, trying to achieve a better image information retention and disposal
Date : Size : 1kb User : zhaoyongjie

图像融合是图像处理的重要一环,但图像融合目前未有通用的技术,此代码试采用自适应图像处理算法对图像进行融合,试图达到一个较好的图像信息保留和处理-Image fusion is an important part of image processing, but the image fusion is at present no common technology, this code sample uses adaptive image processing algorithm for image fusion, trying to achieve a better image information retention and disposal
Date : Size : 1kb User : zhaoyongjie

he files in this package comprise the Matlab implementation of a foreground segmentation algorithm based upon graph cuts, described in: Better Foreground Segmentation Through Graph Cuts, N. Howe & A. Deschamps. Tech report, http://arxiv.org/abs/cs.CV/0401017. The file extractForeground.m contains a sample function that will perform a complete foreground segmentation for static camera video. It uses a number of parameters, which are described in the documentation. An attempt was made to choose sensible default values, but they may need to be adjusted for some videos. More generally, the implementation in extractForeground.m is only a suggestion of how the graph-based segmentation might be used. The same approach can be applied with other (perhaps time-adaptive) background models. The key step is at line 113 of the code, once the deviation array has been created. The graph-cut segmentation can be applied similarly to a deviation matrix computed in any other way.-he files in this package comprise the Matlab implementation of a foreground segmentation algorithm based upon graph cuts, described in: Better Foreground Segmentation Through Graph Cuts, N. Howe & A. Deschamps. Tech report, http://arxiv.org/abs/cs.CV/0401017. The file extractForeground.m contains a sample function that will perform a complete foreground segmentation for static camera video. It uses a number of parameters, which are described in the documentation. An attempt was made to choose sensible default values, but they may need to be adjusted for some videos. More generally, the implementation in extractForeground.m is only a suggestion of how the graph-based segmentation might be used. The same approach can be applied with other (perhaps time-adaptive) background models. The key step is at line 113 of the code, once the deviation array has been created. The graph-cut segmentation can be applied similarly to a deviation matrix computed in any other way.
Date : Size : 1kb User : suhail
« 1 2 3 4 5 67 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.