Storing Information - Online Code

Description

This is a simple program for storing personal information of a person.

Source Code

# include<iostream.h>
# include<string.h> // for strcpy
# include<conio.h>

class person
{
	char name[20];
	int yob; //Year of birth
	int yod; // Year of death
public:
	person()
	{       strcpy(name,"N.A.
... (login or register to view full code)

To view full code, you must Login or Register, its FREE.

Hey, registering yourself just takes less than a minute and opens up a whole new GetGyan experience.

Related Online Codes:




Comments

No comment yet. Be the first to post a comment.