You are on page 1of 102
LEARNING Scott B. Guthery TAB] TAB BOOKS Inc. Blue Ridge Summit, PA 17214 tiny-c* a registered trademark of Scott B. Guthery end Thomas A. Gibson. POP-11™ le a trademark of Digital Equipment Corporation, IBM PC* and PCir® are registered trademarks of International Business Machines Corporation Unix™ is a trademark of AT&T Technology. rinet comon FIRST PRINTING Copyright © 1996 by Scot 8. Guthor Printed in the United Sais of Aerie tho vse othe infomation here Lunrary of Congress Cataloging in Pubcon Data Guthory, Scot B. Leaming C with tny-c. Includes index 1. € (Computer program language) 2. Smal-C (Computer ) Tite. roma \angunge anre\rsc 15098 ‘1985 001.6424 85-4008 ISBN o-206-6869 (04) Contents Preface vit Foreward ix Introduction ill tiny-¢ Programming 1 Programs, Functions, and Statements 3 Futon Cal Furesions Call Functions Cal, 3 Eng » ty Progam + Fundamental of he Sht—Enirirg Text Lines—The Sl Conmands ""SumBigt Top aad te Beton Dating —Une Numbere—sing Locate and Change—om ‘he Number Gusting Game 10 "ewan rough te Guemarum Furcion—A Wak trough Range tape Programming Sie 7 ‘Ecopound Salemerts Nesting Compound Statenents-Presicable Program Flow—Indrting rae Pacerant ct aches Functions “22 ea and Global Variabies 23, More Code Qunernor Et The tiny-c Programming Language 28 Conmonts, Constants, ae Varintios 28 aot Hanos Comune Vee Aya ry mrt, als

You might also like