Adjusted to show side effects and their handling
When dealing with static buffers, successive calls point
to the same memory location and overwrite formers ones...
committer: Markus Bröker <mbroeker@largo.homelinux.org>
#ifndef CONSOLE_H
#define CONSOLE_H
#ifdef WIN32
#define BS 127
#else
#define BS 127
#endif
#include <iostream>
namespace Console {
int getch ();
void getpass (std::string &);
};
#endif