Encrpytion

Pages: 12
closed account (z05DSL3A)
pilot538,

Sorry, we do get a lot of people who don't pay attention and then ask for the work to be done for them. It would be a good project if you have a decent amount of time to do it in.

Start at the tutorial: http://www.cplusplus.com/doc/tutorial/
Well now I ask another question. Can data in a class be search in the same module. I have a program that is like a database. My options is to search the database or insert new people into it. Anybody no how to do this. This is my code so far:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#include <iostream>
#include <sstream>
#include <string>
using namespace std;

int main(){
	int op,fn,mn,ln,a,dob,cb,ad,fnn,mnn,lnn,an,dobn,cbn,adn;
	cout<<"Welcome to 'The People Database'\n\a";
	cout<<"This database will allow you to look up a person information by\n";
	cout<<"Name, Age, Date of Birth (or DOB), City Born, and Address, or Insert a name. If you have a security passowrd\n";
	cout<<"please enter it when asked. Now choose an option to look someone up by: ";
	cout<<"1) First Name\n ";
	cout<<"2) Middle Name\n ";
	cout<<"3) Last Name\n ";
	cout<<"4) Age\n";
	cout<<"5) DOB\n";
	cout<<"6) City Born\n";
	cout<<"7) Address\n";
	cout<<"8) Insert a New Name (Need Security Key)\n";
	cin>> op;
	cin.ignore();
	if (op == 1) {
		cout<<"Enter their first name: \n";
		cin>> fn;
		cin.ignore();

	if (op == 2) {
		cout<<"Enter their middle name: \n";
		cin>> mn;
		cin.ignore();











class People
{
public:


private:
	
};
void main()
{};

 


Topic archived. No new replies allowed.
Pages: 12