White Label
Legacy Member
Voor een paswoord in te voeren heb ik hetvolgende gevonden...

Maar ik kan er niet echt aan uit, heb ook al gezocht op internet maar het helpt me niet verder. Ik neem aan dat ik dus een char * paswoord moet createn en dan paswoord=getpass ofzo doen? Is de lengte van het paswoord maximaal 8 karakters? En hoe slaag ik dat paswoord op? Ik ben echt newbie met C#include <conio.h>
char *getpass(const char *prompt);
Description
Reads a password.
getpass reads a password from the system console after prompting with the null-terminated string prompt and disabling the echo. A pointer is returned to a null-terminated string of up to eight characters (not counting the
null-terminator).
The return value is a pointer to a static string which is overwritten with each call.
