Grin logo
de en es fr
Boutique
GRIN Website
Publier des textes, profitez du service complet
Aller à la page d’accueil de la boutique › Informatique - Programmation

C Programming. A short Guide

Titre: C Programming. A short Guide

Livre Spécialisé , 2020 , 79 Pages , Note: 13

Autor:in: Sheetal Thakare (Auteur)

Informatique - Programmation
Extrait & Résumé des informations   Lire l'ebook
Résumé Extrait Résumé des informations

C Programming forms a strong base for any programming language study in the life of Computer Science & Engineering students. So the journey of learning C programming is been made easier here in this guide. The book can be used as Laboratory Manual for the C Programming subject.

Flowchart is a diagram that uses standard graphical symbols; to illustrate the sequence of steps required for solving a problem or specific question. Flowchart promotes understanding of a problem and shows what tasks should be performed when writing program codes; and so coding becomes an easy task for a programmer. A Flowchart explains the program to others, and that it is also considered a convenient tool for documenting a program, especially if it is complicated.

Extrait


Table of Contents

1. Turbo C History

2. How to download & install Turbo C++ for Windows

3. Installing DOSBox and Turbo C++

4. Turbo C Shortcuts

5. Important Keys

6. Getting Started with C

7. C Keywords & Data types

8. Flowcharts & Notations

9. C Operators & Precedence

10. Experiments to Practice

Objectives and Topics

The primary objective of this guide is to provide a practical introduction to the C programming language, specifically tailored for beginners who need to set up their development environment and understand fundamental coding concepts through hands-on experimentation.

  • Installation and configuration of Turbo C++ and DOSBox
  • Core syntax, keywords, and data types in C
  • Logical flow control using flowcharts and branching statements
  • Advanced programming concepts including arrays, pointers, and structures
  • Practical laboratory experiments with accompanying code examples

Excerpt from the Book

TURBO C HISTORY

Version 1.0, Released on May 13, 1987, offered the first integrated edit-compile-run development environment for C on IBM PCs. The software was, like many Borland products of the time, bought from another company and branded with the "Turbo" name, in this case Wizard C by Bob Jervis (Borland's flagship product at that time, Turbo Pascal, which at this time did not have pull-down menus, would be given a facelift with version 4 released late in 1987 to make it look more like Turbo C.) It ran in 384 kB of memory. It allowed inline assembly with full access to C symbolic names and structures, supported all memory models, and offered optimizations for speed, size, constant folding, and jump elimination.

Version 1.5, in January 1988 was an incremental improvement over version 1.0. It included more sample programs, improved manuals and bug fixes. It was shipped on five 360 KB diskettes of uncompressed files, and came with sample C programs, including a stripped down spreadsheet called mcalc. This version introduced the <conio.h> header file (which provided fast, PC-specific console I/O routines). (Note: The copyright date in the startup screen is 1987, but the files in the system distribution were created in January 1988.)

Chapter Summaries

Turbo C History: Provides an overview of the development timeline and version history of the Turbo C and C++ compiler series.

How to download & install Turbo C++ for Windows: Offers a step-by-step guide on obtaining and setting up the C++ environment on modern Windows systems.

Installing DOSBox and Turbo C++: Details the installation process for running legacy software like Turbo C++ via the DOSBox emulator.

Turbo C Shortcuts: Lists essential keyboard shortcuts to streamline the coding, compiling, and debugging process within the Turbo C IDE.

Important Keys: Highlights key functional keys and their specific roles within the software interface.

Getting Started with C: Provides a basic introduction to writing, saving, and executing a simple "Hello World" program.

C Keywords & Data types: Categorizes C keywords and explains the memory and range specifications for various data types.

Flowcharts & Notations: Explains the standard symbols used for logical program design and algorithmic representation.

C Operators & Precedence: Outlines the hierarchy and associativity of operators in C expressions.

Experiments to Practice: Contains a series of 20 practical experiments, ranging from basic data type exploration to complex structure and pointer management.

Keywords

C Programming, Turbo C++, DOSBox, IDE, Compiling, Data Types, Flowcharts, Operators, Pointers, Arrays, Structures, Recursion, Branching Statements, User-defined Functions, Memory Allocation

Frequently Asked Questions

What is the core focus of this guide?

This guide acts as a practical handbook for beginners to set up and start programming in C using the Turbo C++ environment.

What are the primary themes covered?

The themes include IDE setup, core C language syntax, logical control, data structures, and pointer usage.

What is the primary goal of the book?

The goal is to serve as a comprehensive laboratory manual for students learning C programming, facilitating both setup and practical implementation.

Which methodology does the book follow?

The book utilizes an experimental approach, providing "Experiments" for each topic, which include theory, algorithms, syntax, and sample questions.

What content is covered in the main section?

The main section spans from compiler history and environment setup to advanced topics like file structure, pointers, dynamic memory allocation, and recursion.

Which keywords best characterize this work?

Keywords include C Programming, Turbo C++, Data Types, Pointers, and Arrays.

How is the installation of Turbo C++ handled for modern Windows?

The guide recommends using DOSBox as a compatibility layer to run the legacy Turbo C++ IDE effectively on newer Windows operating systems.

What distinguishes structures from unions in C according to this book?

Structures allocate storage for all members separately, whereas unions allocate a common shared memory space for all members, making them more memory-efficient but accessible one at a time.

How is recursion explained in the context of C?

Recursion is defined as a process where a function calls a copy of itself to solve smaller sub-problems, requiring a clear termination condition to prevent errors.

Fin de l'extrait de 79 pages  - haut de page

Résumé des informations

Titre
C Programming. A short Guide
Cours
C Programming
Note
13
Auteur
Sheetal Thakare (Auteur)
Année de publication
2020
Pages
79
N° de catalogue
V538033
ISBN (ebook)
9783346204462
ISBN (Livre)
9783346204479
Langue
anglais
mots-clé
C C PROGRAMMING
Sécurité des produits
GRIN Publishing GmbH
Citation du texte
Sheetal Thakare (Auteur), 2020, C Programming. A short Guide, Munich, GRIN Verlag, https://www.grin.com/document/538033
Lire l'ebook
  • Si vous voyez ce message, l'image n'a pas pu être chargée et affichée.
  • Si vous voyez ce message, l'image n'a pas pu être chargée et affichée.
  • Si vous voyez ce message, l'image n'a pas pu être chargée et affichée.
  • Si vous voyez ce message, l'image n'a pas pu être chargée et affichée.
  • Si vous voyez ce message, l'image n'a pas pu être chargée et affichée.
  • Si vous voyez ce message, l'image n'a pas pu être chargée et affichée.
  • Si vous voyez ce message, l'image n'a pas pu être chargée et affichée.
  • Si vous voyez ce message, l'image n'a pas pu être chargée et affichée.
  • Si vous voyez ce message, l'image n'a pas pu être chargée et affichée.
  • Si vous voyez ce message, l'image n'a pas pu être chargée et affichée.
  • Si vous voyez ce message, l'image n'a pas pu être chargée et affichée.
  • Si vous voyez ce message, l'image n'a pas pu être chargée et affichée.
  • Si vous voyez ce message, l'image n'a pas pu être chargée et affichée.
  • Si vous voyez ce message, l'image n'a pas pu être chargée et affichée.
  • Si vous voyez ce message, l'image n'a pas pu être chargée et affichée.
  • Si vous voyez ce message, l'image n'a pas pu être chargée et affichée.
  • Si vous voyez ce message, l'image n'a pas pu être chargée et affichée.
  • Si vous voyez ce message, l'image n'a pas pu être chargée et affichée.
Extrait de  79  pages
Grin logo
  • Grin.com
  • Expédition
  • Contact
  • Prot. des données
  • CGV
  • Imprint