You may read code because you have to-to fix it, inspect it, or improve it. You may read code the way an engineer examines a machine--to discover what makes it tick. Or you may read code because you are scavenging--looking for material to reuse. Code-reading requires its own set of skills, and the ability to determine which technique you use when is crucial. In this indispensable book, Diomidis Spinellis uses more than 600 real-world examples to show you how to identify good (and bad) code: how to read it, what to look for, and how to use this knowledge to improve your own code. Fact: If you make a habit of reading good code, you will write better code yourself.
上傳時間: 2017-08-13
上傳用戶:jyycc
Tic tac toe is (exactly what re your thinking) and it s the first game I made. Made it in one whole day in Turbo C. It uses primitive graphics drawing and also demonstrates how to output an image. Written in C, also uses a library I got from the net (included) for image output.
標簽: thinking exactly first whole
上傳時間: 2017-08-13
上傳用戶:xhz1993
This paper presents a new adaptive mobility-aware MAC protocol for sensor networks (MS-MAC). The protocol uses any change in received signal level as an indication of mobility and, when necessary, triggers the mobility handling mechanism. By doing this way, the new mobility-aware MAC protocol can work very energy-efficiently when the network is stationary, whereas it can maintain some level of network performance when there are mobile sensors.
標簽: mobility-aware adaptive networks presents
上傳時間: 2014-01-11
上傳用戶:libenshu01
WiseMAC is a medium access control protocol designed for the WiseNETTMwireless sensor network. It is based on CSMA and uses the preamble sampling technique to minimize the power consumed when listening to an idle medium.
標簽: WiseNETTMwireless designed protocol WiseMAC
上傳時間: 2014-01-20
上傳用戶:x4587
RSA ( Rivest Shamir Adleman )is crypthograph system that used to give a secret information and digital signature . Its security based on Integer Factorization Problem (IFP). RSA uses an asymetric key. RSA was created by Rivest, Shamir, and Adleman in 1977. Every user have a pair of key, public key and private key. Public key (e) . You may choose any number for e with these requirements, 1< e <Æ (n), where Æ (n)= (p-1) (q-1) ( p and q are first-rate), gcd (e,Æ (n))=1 (gcd= greatest common divisor). Private key (d). d=(1/e) mod(Æ (n)) Encyption (C) . C=Mª mod(n), a = e (public key), n=pq Descryption (D) . D=C° mod(n), o = d (private key
標簽: crypthograph information Adleman Rivest
上傳時間: 2017-09-01
上傳用戶:chfanjiang
The many variants of the Unix operating system require use of a mode of thought that s significantly different from the one that s required by simpler operating systems. Think Unix introduces readers to important fundamental and intermediate Unix commands and, in the process, inculcates them in the Unix way of thinking. It s a worthy goal in a world with more Linux users than ever, and author Jon Lasser accomplishes it. He s both a capable writer and a knowledgeable user of Unix shell commands. Lasser uses bash under Red Hat Linux in most examples--which usually apply equally well to other Unix variants--and makes asides about other shells and environments, as needed.
標簽: significantly operating variants of
上傳時間: 2017-09-04
上傳用戶:qq521
This book is about writing TinyOS systems and applications in the nesC language. This chapter gives a brief overview of TinyOS and its intended uses. TinyOS is an open-source project which a large number of research universities and companies contribute to. The main TinyOS website, http://www.tinyos.net, has instructions for downloading and installing the TinyOS programming environment. The website has a great deal of useful information which this book doesn’t cover, such as common hardware platforms and how to install code on a node.
標簽: This applications language chapter
上傳時間: 2017-09-04
上傳用戶:253189838
PseudoQ is an open source java application for creating, playing and solving SuDoku puzzles of various types. It features both a Swing GUI and command-line operation. The automatic solving of puzzles uses "smart" techniques rather than a brute force search of every possible combination.
標簽: application creating PseudoQ playing
上傳時間: 2014-01-06
上傳用戶:yiwen213
SiftGPU is an implementation of SIFT [1] for GPU. SiftGPU processes pixels parallely to build Gaussian pyramids and detect DoG Keypoints. Based on GPU list generation, SiftGPU then uses a GPU/CPU mixed method to efficiently build compact keypoint lists. Finally keypoints are processed parallely to get their orientations and descriptors.
標簽: SiftGPU implementation processes parallely
上傳時間: 2013-11-27
上傳用戶:zhangjinzj
Yet another mp3 player, but this time using SVGALib under Linux. The idea was to use a 320x240 display which can be used in a vehicle. I wrote this quite a few years ago, before mp3 players were so cheap. It uses mpg123 for the mp3 decoding.
標簽: SVGALib 320x240 another player
上傳時間: 2013-12-26
上傳用戶:zmy123