Main Page | Class List | File List | Class Members | File Members | Related Pages

# /Users/engelen/Projects/gsoap/samples/databinding/address.cpp File Reference

`#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.

## Function Documentation

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 109 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. Parameters:
  | prompt | displays prompt to user
Returns: string input Definition at line 221 of file address.cpp.