EARTH WEEK
Now through April 22, save up to 70% on digital learning resources. Learn more.
Register your product to gain access to bonus material or receive a coupon.
Question 1: When I try to compile I get the errors that it cannot open the stdio.h file.
Solution 1: Open up the system editor by clicking on the Start button, then on Run...
Now type in "sysedit" and click OK.
Click on the Config.sys window and look for the "Files=" line. If it is not there, type in Files=60, Save and Exit.
Now reboot the system, open the compiler, and try the example again.
Sams Teach Yourself C in 24 Hours, Second Edition, shows you how to program in C in an easy-to-understand format. C is a powerful and flexible language used for a wide range of projects. You begin with learning the basics to write a first program and then move on to arrays, pointers, disk input/output, and functions. This book will allow you to understanding data types, loops, and strings to make your programs work for you. You'll also work with arrays, structures, and unions to expand your programming skills, use pointers to access and retrieve data elements, develop programs that process mathematical equations, functions, and variables, and explore memory management techniques.
Problem:
When I try to compile I get the errors that it cannot open the stdio.h file.
Solution:
Open up the system editor by clicking on the Start button, then on Run...
Now type in "sysedit" and click OK.
Click on the Config.sys window and look for the "Files=" line. If it is not there, type in Files=60, Save and Exit.
Now reboot the system, open the compiler, and try the example again.
ch12, question 4, p. 205 should read as follows:
4. What's wrong with the following declaration?
char list_ch[][] = {