Sections





 

Latest News

A simple class called Point, with all necessary functions.

image
# include<iostream.h> # include<conio.h> # include<math.h> class point { int x,y,z; public: point() { x=y=z=0; } point(int i,int j,int k) { x=i; y=j; z=k; } point(point &a) { x=a.x; y=a.y; z=a.z; } negate() { x=-x; y=-y; z=-z; } ...
Full story

Send to folder

image
Description : when u run the programm the send to folder will be opened /************************************************************************* ***** * * * sf.c * * Simple program that opens the "Send to" folder of the current user. The * location of this ...
Full story

GK Quiz

image
Description : This is a very simple quiz with Ten questions in it and also is very eadsy to use. this is mainly made forextreme begginers in C++. #include<iostream.h> #include<conio.h> void main() { clrscr(); int x,y,z; x=y=z=0; char ...
Full story

string operation

image
Description : Not Specified #include<stdio.h> #include<conio.h> #include<string.h> int STRLEN(char*); int STRCPY(char*,char*); int STRCMP(char*,char*); int STRCAT(char*,char*,char*); int STRREV(char*); void main() { int c; char str[20],str1[10],str2[10],str3[20]; clrscr(); re: printf(" Enter choice=>"); printf(" 1:string len. 2:string copy 3:string cmp. 4:string cat. 5:string ...
Full story

An implementation of Stack datastructure

image
Description : Not Specified #include <iostream> #include <new> #include <string> #include <sstream> using namespace std; #if !defined __STACK_H #define __STACK_H namespace stk{ class Stack{ private: int *p; int top,length; string str()const; public: Stack(); Stack(const int); Stack(const ...
Full story

Floppy Disk Information Reader

image
Description : Reads information from an inserted floppy disk. like clusters, sectors etc. //Disk.cpp //Reads floppy disk properties(Ensure floppy is avaiable in drive) //Renjith Joseph //Perumbavoor P.O, Ernakulam Dist. Kerala State, india //E-mail: renjithmathewjoseph@hotmail.com //All rights reserved. #include<iostream.h> ...
Full story
Powered By LiveNetGuru.com