|
Addressbook 1.0
|
#include <iostream>#include <fstream>#include "addressH.h"#include "a.nsmap"Go to the source code of this file.
Functions | |
| char * | user_input (const char *prompt) |
| A quick-and-dirty user input function: reads string from stdin (up to 80 chars), trims leading and trailing blanks, and returns it. | |
| int | main () |
| Address book application: reads address.xml, displays its content, prompts the user for new contact, adds it, and saves the updated address.xml. | |
| int main | ( | ) |
Address book application: reads address.xml, displays its content, prompts the user for new contact, adds it, and saves the updated address.xml.
Definition at line 112 of file address.cpp.
| char * user_input | ( | const char * | prompt | ) |
A quick-and-dirty user input function: reads string from stdin (up to 80 chars), trims leading and trailing blanks, and returns it.
| prompt | displays prompt to user |
Definition at line 224 of file address.cpp.