Untitled

mail@pastecode.io avatar
unknown
plain_text
3 years ago
394 B
3
Indexable
Never
#pragma once
class Card {

	public:

		Card();
		Card(char * , char * , int);
		~Card();

		int setCount(int);
		int setName(char*);
		int setAuthor(char*);


		int getCount() const { return count; }
		char* getName() const { return name; }
		char* getAuthor()const { return author; }

		int print() const;

	private :
		char * name;
		char * author;
		int count;


};