Thursday, August 30, 2012

undefined undefined

How To Create A Stopwatch in C++

, , No comments
Stopwatch: This is a source code for stopwatch in C++. In this we have used a class named tym as shown in the source code given below. In this class we have used four private elements one for hour , second for minute , third for second and fourth for less than a second. There are some member functions...

Friday, August 24, 2012

undefined undefined

Square In C Graphics

, , , No comments
Source Code#include<graphics.h>#include<conio.h>#include<dos.h>int main()  {     int gd = DETECT ,gm,j=0,a,b,p,q,r,s;     initgraph(&gd,&gm,"c:/tc/bgi");          a = getmaxx()/2; ...

Wednesday, August 22, 2012

undefined undefined

Draw Concentric Circle in C

No comments
Source Code:#include<graphics.h>#include<conio.h>int main ()    {      int gd=DETECT,gm;      int i;      initgraph(&gd,&gm,"c:/tc/bgi");      for(i=0;i<100;i=i+9) ...
undefined undefined

Graphics in C/C++ on Windows 7 using Dev-C++

, , , No comments
On the following I just want to show how to choose coordinate point to draw diagram.If you are using Microsoft windows 7 operating system,Then Dev C++ is good for beginnerlevel, It fallow the same command as it is in Turbo C++,First Download the Dev C++ and install it.after installation download WinBGIm....

Tuesday, July 31, 2012

undefined undefined

Wap to Check that input is Consonant or Vowel.

, No comments
Source Code :#include<stdio.h>#include<conio.h>   void main()       {       char in;       ///input=alphabet       printf("\n Enter An Alphabet :: ");       scanf("%c",&in);if(in=='a'||in=='A'||in=='e'||in=='E'||in=='i'||in=='I'|| in=='o'||in=='O'||in=='u'||in=='U') ...

Thursday, July 19, 2012

undefined undefined

How to reverse a numbers input by user

, No comments
Source Code:#include<stdio.h>#include<conio.h>    void main()       {           long number,n1,n2,n3,n4,n5,n6,n7,n8,n9;                      clrscr();           printf("\n Enter A Five Digit Number :: ");   ...

Wednesday, July 18, 2012

undefined undefined

Check for a leap year

, , No comments
Algorithm to check leap year.if year % 400 is 0          then is_leap_year else if year %100 is 0          then not_leap_year else if year % 4 is 0         then is_leap_yearelse not_leap_year Source:http://en.wikipedia.org/wiki/Leap_year Source...
Entries RSS Comments RSS

Sample Text

Pages


Copyright © 2025 Lovely Codes
Powered by Blogger
Distributed By Free Blogger Templates | Design by N.Design Studio
Blogger Theme by Lasantha - PremiumBloggerTemplates.com