Monday, 24 June 2013

MENU in C/C++

Program : NAVIGATIONAL MENUPlatform : Turbo C 3.0Description : It is a program to demonstrate the menu system in C/C++. It also uses navigation through ARROW keys..........!! View or Download CPP #include<graphics.h> #include<stdio.h> #include<conio.h> #include<dos.h> #include<stdlib.h> int...

Friday, 21 June 2013

Code Complexity

Code Complexity is influenced by the factors : Average Hierarchy Height Average Number of Derived Classes Afferent Coupling (no. of other packages that depend upon classes within a package ) Efferent Coupling ( no.of other packages that classes from this package depend upon ) Number...

Thursday, 20 June 2013

JAVA VS C++

C++ C++ was designed for systems and applications programming It is Write Once Compile Anywhere ( WOCA ) It Allows procedural programming, functional programming, object-oriented programming, generic programming, and template metaprogramming It Runs as native executable...

Tuesday, 18 June 2013

MOUSE in C++

This is a simple program made in C/C++ to : Initialize Mouse Show mouse Read Mouse Position Detect Mouse Clicks (Left / Right)  DOWNLOAD CPP / SOURCE CODE /*  Program Starts Here */ #include<iostream.h> #include<conio.h> #include<dos.h> #include<process.h> void...

Monday, 17 June 2013

SOLAR SYSTEM ( GRAPHICS IN C/C++ )

SOLAR SYSTEMThis is a program which uses simple C/C++ Graphics Function to show our SOLAR SYSTEM. View or Download Cpp /* Praogram Starts Here */ #include"stdio.h" #include"graphics.h" #include"conio.h" #include"dos.h" #include"math.h" #include"stdlib.h" void main() {     int gd=DETECT,gm;     float i=0,j=100,me=75,ve=23,ma=105,ju=175,sa=10,ur=300,ne=200,pl=175,s=0;    ...

Saturday, 15 June 2013

ANALOG CLOCK IN C++

MAKE ANALOG CLOCK IN C/C++ ............. Copy the following code and then Run it in C/C++ IDE's...........!! /* Program Begins Here */ #include<stdio.h> #include<conio.h> #include<stdlib.h> #include<graphics.h> #include<dos.h> #include<math.h> void main() {  struct  time t;  void drawclock(void);  void intro(void);  void sound(void);  int...

Monday, 10 June 2013

Make your own Header Files in C/C++

Step 1 : Open C/C++ IDE or Notepad Step 2 : Make Your own Function without "MAIN( )"  Example : SUM.CPP / SUM.TXT                  int sum(int,int);                  int sum(int a, int b)                ...