Learning C with Fractals provides the fundamentals of the C programming language and the generation of fractals.
The book is comprised of 21 chapters that discuss the aspects of the C programming language. The text begins with an introductory chapter that provides the basic hardware requirements and basic information to get the student started. Subsequent chapters tackle the writing and compiling of C programs; the main program and functions; the program's interaction with DOS (Disk Operating System); and the operators and expressions in C. Topics on initializing variables, conditional statements, manipulating strings, and the different programming functions are covered as well.
Computer programmers and those interested in learning computer programming will find the book useful.
List of Color PlatesChapter 1. Introduction Hardware Requirements C Programming Style Comments Preprocessor Directives The #include Directive The #define Directive Reserved Words Data TypesChapter 2. Writing and Compiling C Programs Borland C++ and Turbo C++ Zortech C++ Microsoft C++ Power CChapter 3. Main Program and Functions The Main Program Functions within a Program Function Limitations SummaryChapter 4. Interaction of C with DOS DOS Fundamentals Using DOS from C: the int86 Function The Setmode Function The cls Function The Plot Function SummaryChapter 5. Operators and Expressions Operator Definitions Operator Precedence Mixed Types and TypecastingChapter 6. Initializing Variables Global and Local Variables Initializing Data Items Initializing ArraysChapter 7. Using Loops The while Loop The Mandelbrot Set The do-while Loop The Hyperbolic Cosine Fractal The for Loop The Legendre Polynomial FractalChapter 8. Conditional Statements The if-else Statement Relational Operators More Complicated if Statements The Julia Set The ? : Trinary Conditional Function and the Dragon Curve The Switch-Case StatementChapter 9. Output to Screen and Printer The putch Function The putc and fputc Functions The putchar and fputchar Functions The puts and fputs Functions The putw Function The printf Function Type Characters The Flag Field The Width Field The Precision Field The Size Field Expanded Mandelbrot Set ExampleChapter 10. Disk Reading and Writing Opening a Disk File Closing a File The fseek and Rewind Commands The putc and fputc Functions The fputs Function The putw Function The fprintf Function The freod and fwrite Functions The Tchebychev C5 Polynomial Fractal Curve Restoring a Display from a Disk FileChapter 11. Keyboard Input The getch and getche Functions The getc and fgetc Functions The getchor and fgetchar Functions The gets and fgets Functions The getw Function The scanf Function Specifying the Input Format Type Characters An Example Using scanf Problems with scanf The bioskey Function The Mandelbrot Set as a Map of Julia Sets The Mandelbrot Set with Integer Arithmetic Moving the Cursor and Drawing the Preview Julia Set The Arrow Function The Julia Function The gotoXY Function The Plot Function The plotxor FunctionChapter 12.Using Pointers in C What Is a Pointer? The Plasma Fractal Display Initializing the Palette The Subdivide Function Rotating ColorsChapter 13. Structures and Unions Structures The typedef Statement Using a Structure Unions Expanding the Tchebychev C5 Fractal The move_cursor Function The Plot FunctionChapter 14. Mathematical Functions The Cosine FractalChapter 15. Character and Number Conversions The otoi Function The otol Function The otof and _otold Functions The strtod and _strtold Functions The itoa Function The Itoa Function The ultoa Function The ecvt Function The fcvt Function The gcvt Function Testing for Character Type Newton's Method FractalsChapter 16. Manipulating Strings String Copying Functions String Appending Functions String Comparison Functions String Character Search Functions String Subset of Characters Search Functions Uppercase/Lowercase Conversions Setting Characters in a String Converting Time or Date to a String The strlen Function Converting Strings to Numbers Reversing a String String Token Search The readfile.c ProgramChapter 17.