TSR in C – An Introduction

What does TSR stands for? TSR stands for Terminate- and Stay-Resident programs What’s Special about TSR! As the name says Terminate-and-Stay-Resident TSR are programs which get loaded in memory and remain or stay there (resident) in memory permanently. They will be removed only when the computer is rebooted or if the TSR is explicitly removed from memory. Until then they will stay (resident) in memory active Working Technology of TSR Nothing happens because of TSR occupying place in memory. In other words when TSR is not running it does not… Read More

C Language – The Preprocessor

C Language – The Preprocessor In this tutorial you will learn about C Language – The Preprocessor, Preprocessor directives, Macros, #define identifier string, Simple macro substitution, Macros as arguments, Nesting of macros, Undefining a macro and File inclusion. The Preprocessor A unique feature of c language is the preprocessor. A program can use the tools provided by preprocessor to make his program easy to read, modify, portable and more efficient. Preprocessor is a program that processes the code before it passes through the compiler. It operates under the control of… Read More

C Programming – File management in C

C Programming – File management in C In this tutorial you will learn about C Programming – File management in C, File operation functions in C, Defining and opening a file, Closing a file, The getw and putw functions, The fprintf & fscanf functions, Random access to files and fseek function. C supports a number of functions that have the ability to perform basic file operations, which include: 1. Naming a file 2. Opening a file 3. Reading from a file 4. Writing data into a file 5. Closing a… Read More