#include<iostream.h>
#include<conio.h>
#include<string .h>
int count=0;
class record
{
private:
char name[20]
int age;
int id;
char sex;
public:
void addrecord();
void display();
int getid();
void editrecor();
viod search();
void delet();
}
tewodros addis
0
Newbie Poster
Recommended Answers
Jump to PostI would not call this C++. If I had to describe it, I might use the phrase "C++" but I would explain it's some kind of primitive, old dialect.
Use proper C++ strings. Don't use char arrays.
Don't use
conio.h
, unless the year is 1993 and you're coding for MS …
All 2 Replies
Moschops
683
Practically a Master Poster
Featured Poster
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.