虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

Multiple-Input

  • 学会对文件的记录锁定

    学会对文件的记录锁定,及解锁。#include <stdio.h> #include <unistd.h> #include <fcntl.h> int main() { int fd int i struct { char name[20] uint ID int age } myrec fd =open("name", O_RDWR|O_CREAT, 0755) if (fd == -1) return -1 printf("Input your name:") scanf("%s", myrec.name) printf("Inpute your ID :") scanf("%d", &myrec.ID) printf("Input your age :") scanf("%d", &myrec.age) lseek(fd, 0,SEEK_END) lockf(fd, 1, 0) write(fd, (void *)&myrec, sizeof(myrec)) lockf(fd, 0 ,0) return 0 } 执行命令cc lock.c –o lock.out Chmod +x lock.out ./lock.out

    标签: 记录

    上传时间: 2016-01-04

    上传用户:亚亚娟娟123

  • Hammerhead2 is a stress testing tool designed to test out your web server and web site. It can init

    Hammerhead2 is a stress testing tool designed to test out your web server and web site. It can initiate multiple connections from IP aliases and simulated numerous (256+) users at any given time

    标签: Hammerhead2 web designed testing

    上传时间: 2016-01-04

    上传用户:youlongjian0

  • Abstract The Lucene Server project is an attempt to extend the Jakarta Lucene tool with server ca

    Abstract The Lucene Server project is an attempt to extend the Jakarta Lucene tool with server capabilities. Lucene is a robust Java API that enables you creating indexes from text sources and perform powerful searches on these indexes. With Lucene, creating an index must be done programmatically and there are almost no possibilities of integrating index management in a distributed environment. In other words, out of the box, Lucene is suitable for integrating indexing and searching possibilities in a single application but not for providing index/search services for multiple applications. The Lucene Server project comes with a Java API that propose the following make it easy to create indexes in a declarative way by simply providing an XML configuration document. make it easy to personalize the way Lucene must handle different kind of data sources. provide services for index management and searching that can be accessed from several applications. enable batch tasks scheduling.

    标签: Lucene Abstract Jakarta project

    上传时间: 2016-01-10

    上传用户:songrui

  • This gives examples of Session Description Protocol (SDP) offer/answer exchanges. Examples include

    This gives examples of Session Description Protocol (SDP) offer/answer exchanges. Examples include codec negotiation and selection, hold and resume, and addition and deletion of media streams. The examples show multiple media types, bidirectional, unidirectional, inactive streams, and dynamic payload types. Common Third Party Call Control (3pcc) examples are also given.

    标签: Description exchanges Protocol Examples

    上传时间: 2014-01-02

    上传用户:450976175

  • This directory contains code implementing the K-means algorithm. Source code may be found in KMEANS

    This directory contains code implementing the K-means algorithm. Source code may be found in KMEANS.CPP. Sample data isfound in KM2.DAT. The KMEANS program accepts input consisting of vectors and calculates the given number of cluster centers using the K-means algorithm. Output is directed to the screen.

    标签: code implementing directory algorithm

    上传时间: 2014-01-15

    上传用户:woshini123456

  • This the second tutorial of the Writing Device Drivers series. There seems to be a lot of interest i

    This the second tutorial of the Writing Device Drivers series. There seems to be a lot of interest in the topic, so this article will pick up where the first left off. The main focus of these articles will be to build up little by little the knowledge needed to write device drivers. In this article, we will be building on the same example source code used in part one. In this article, we will expand on that code to include Read functionality, Handle Input/Ouput Controls also known as IOCTLs, and learn a bit more about IRPs.

    标签: the interest tutorial Drivers

    上传时间: 2016-01-28

    上传用户:lmeeworm

  • This code implements the shortest path algorithm via the simple scheme and fibonacci heap data struc

    This code implements the shortest path algorithm via the simple scheme and fibonacci heap data structure. It has 3 kinds of testing data input method : random input by computer, reading from the file, reading from the key board.

    标签: implements algorithm fibonacci the

    上传时间: 2013-12-23

    上传用户:ynzfm

  • Easy-to-Use, Ultra-Tiny, Differential, 16-Bit Delta Sigma ADC With I2C Interface The LTC2453 is an

    Easy-to-Use, Ultra-Tiny, Differential, 16-Bit Delta Sigma ADC With I2C Interface The LTC2453 is an ultra-tiny, fully differential, 16-bit, analog-to-digital converter. The LTC2453 uses a single 2.7V to 5.5V supply and communicates through an I2C interface. The ADC is available in an 8-pin, 3mm x 2mm DFN package. It includes an integrated oscillator that does not require any external components. It uses a delta-sigma modulator as a converter core and has no latency for multiplexed applications. The LTC2453 includes a proprietary input sampling scheme that reduces the average input sampling current several orders of magnitude lower than conventional delta-sigma converters. Additionally, due to its architecture, there is negligible current leakage between the input pins.

    标签: Differential Easy-to-Use Ultra-Tiny Interface

    上传时间: 2014-01-08

    上传用户:凤临西北

  • 简单C编译器生成的目标代码是8086的汇编代码(16位)

    简单C编译器生成的目标代码是8086的汇编代码(16位),可以在一般的PC上被像MASM之类的汇编编译程序编译,生成可执行文件后,在DOS或Windows控制台下运行。 实现的语言定义如下: 语言类似于tiny语言,不支持过程调用,也就是只有一个main函数,无其他函数和全局变量 基本语句:注释语句(/*…*/),输入语句(int input(void) ),输出语句(void output(int) ),赋值语句。这里的输入输出语句实际上类似于函数调用,可以看作是本语言内部的函数 算术运算符:+、—、*、/ 数据类型:整数.

    标签: 8086 C编译器 代码 汇编代码

    上传时间: 2016-02-06

    上传用户:bakdesec

  • Thinking in C++ patiently and methodically explores the issues of when and how to use inlines, refer

    Thinking in C++ patiently and methodically explores the issues of when and how to use inlines, references, operator overloading, inheritance and dynamic objects, as well as advanced topics such as the proper use of templates, exceptions and multiple inheritance. The entire effort is woven in a fabric that includes Eckel’s own philosophy of object and program design. A must for every C++ developer’s bookshelf, Thinking in C++ is the one C++ book you must have if you’re doing serious development with C++.

    标签: methodically and patiently Thinking

    上传时间: 2014-01-03

    上传用户:it男一枚