Advance C

What is Array?

Whenever there is need to store a group of data of the same type in the memory, arrays are used. Two terms have been described here Array and String. Strings in C are represented by the array only, therefore, it would be convenient to describe strings separately in the same block but in the different …

What is Array? Read More »

What is Array Initialization?

The Element of array are initialized in the same way as the ordinary variables. Example: int num[6]={2,4,5,35,12,12,67}; An example showing the index and its corresponding data (prices) > An example program of entering data into Array: Out put of the program In this example, using the for loop, the process of asking and receiving the marks …

What is Array Initialization? Read More »

Introduction

Graphics programming in C Language is discussed rarely. We will discuss some important functions of graphics.h in C Language, at the end we will make a simple program to demonstrate the use of graphics functions. So let’s start with the description of important functions and their use. Graphics Drivers Graphics drivers are a subset of …

Introduction Read More »

How To Getting started with Graphics mode Advance C Programming Language?

Graphics.h Below are the important functions and their description mostly used in graphics applications in C Language. Function initgraph This function is used to load the graphics drivers and initialize the graphics system. For every function, that uses graphics mode, graphics mode must be initialized before using that function. void far initgraph(int far *driver, int …

How To Getting started with Graphics mode Advance C Programming Language? Read More »

Working with Shapes

Turbo C has a good collection of graphics libraries. If you know the basics of C, you can easily learn graphics programming. To start programming, let us write a small program that displays a circle on the screen. /*  simple.c example 1.0 */ #include<graphics.h> #include<conio.h> void main() { int gd=DETECT, gm; initgraph(&gd, &gm, “c:\\turboc3\\bgi ” …

Working with Shapes Read More »

Windows Device Driver Development

1. Setup Driver Development Environment Step 1: Install following packages on the development computer Platform Software Development Kit (SDK), Microsoft Visual C (must use the version specified in DDK, newer version might not be working), Device Driver Kits (DDK). Step 2: Test driver development system To compile a driver, one uses “build.exe” program from DDK. …

Windows Device Driver Development Read More »

Windows Device Driver Development

1. Setup Driver Development Environment Step 1: Install following packages on the development computer Platform Software Development Kit (SDK), Microsoft Visual C (must use the version specified in DDK, newer version might not be working), Device Driver Kits (DDK). Step 2: Test driver development system To compile a driver, one uses “build.exe” program from DDK. …

Windows Device Driver Development Read More »

Hardware Programming In C Working with keyboard

Normally nobody uses PC/XT (8bit) systems, we use AT (16/32/64bit) systems. So I think it is enough to explain the secrets of keyboard in AT systems. In a typical AT system, the microcontroller(8048,6805 type) in the keyboard sends data to the keyboard-controller (8042 type) on the motherboard. Controller found on the motherboard can also send …

Hardware Programming In C Working with keyboard Read More »

Introduction to TSRs

Terminate and Stay Resident (TSR) is a system call in DOS operating systems that returned control to the system as if the program had quit, but kept the program in memory. Many software vendors use the call to create the appearance of multitasking, by transferring control back to the terminated program on automatic or externally-generated …

Introduction to TSRs Read More »

Scroll to Top