program not outputting anything

AM I missing something in my main that allows for outputs?

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
class BLUEBOX {

private:
	std::string user, ID, Taylor, EJ, Donnita, Admin;
public:
	void screen();
	void customers(string);//function prototype

};
void BLUEBOX::screen(){
getline(cin,ID);
customers(ID);
cout << ID;

}
void BLUEBOX::customers(string user){
	if (user == "00")
		Taylor = user;
	else if (user == "01")
		EJ = user;
	else if (user == "12")
		Donnita = user;
	else (user == "99");
		Admin = user;
return;}

int main(){
	BLUEBOX movies;

	system("pause");
return 0;
}
yes. nothing in that class outputs anything.

edit: give your class a Display() method and write some stuff out to the screen:
http://www.cplusplus.com/doc/tutorial/basic_io/

Last edited on
Topic archived. No new replies allowed.