abandon sstream a cause error mtn atoi
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
#include <cstring>
|
||||
#include <iomanip>
|
||||
#include <sstream>
|
||||
#include <cstdlib>
|
||||
|
||||
class PhoneBook {
|
||||
|
||||
@@ -15,24 +15,16 @@ class PhoneBook {
|
||||
PhoneBook();
|
||||
~PhoneBook();
|
||||
|
||||
void add_contact();
|
||||
void search_contact();
|
||||
void print_phonebook();
|
||||
void print_contact( int id);
|
||||
void add_contact();
|
||||
void search_contact();
|
||||
int print_phonebook();
|
||||
void print_contact( int id);
|
||||
|
||||
private:
|
||||
|
||||
Contact contact[8];
|
||||
int contact_count;
|
||||
Contact _contact[8];
|
||||
int _contact_count;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
/*
|
||||
* class PhoneBook :
|
||||
* add_contact
|
||||
* print_phonebook
|
||||
* search_by_index
|
||||
* exit
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user