C program to open a website url

c graphics program

C program to open a website url This program will launch Mozilla Firefox web browser to open a website so it should be installed on your computer, if you are using an another web browser then you can change path in the program.   #include <stdio.h> #include <conio.h> #include <stdlib.h> #include <graphics.h> #include <dos.h> #include … Read more

Paint program in c language

painting program in language

Paint program in c language   This program can draw different shapes using mouse such as line, circle, pixel and many other shapes. You can also change the color, clear the screen. #include<graphics.h> #include<dos.h> #include<math.h> #include<stdlib.h> #include<stdio.h> #include<conio.h> union REGS i, o; int leftcolor[15]; int get_key() { union REGS i,o; i.h.ah = 0; int86(22, &i, … Read more

C program to print digital clock

C Programming Tutorial

C program to print digital clock This program is written in C Language using graphics. This will show day, month, date, current time and year as output.   Logic for the digital clock program Initialize hour, minute, seconds with 0. Run an infinite loop. Increase second and check if it is equal to 60 then increase … Read more

Graphics Program in C++ for Analog Clock

C Programming Tutorial

Analog Clock is mini project  in a C ++ language. It is graphics application using graphic library <graphics.h>. This program is Compiled using Turbo C++. Here is the source code of this program in C++ using Graphics.   /*Program for analog CLock*/ #include <stdio.h> #include <conio.h> #include <math.h> #include <string.h> #include <graphics.h> #include <time.h> #include <dos.h> void minSecPos(int xrad, int midx, … Read more