¡@

Home 

c++ Programming Glossary: cpassword

C++ Buffer Overflow

http://stackoverflow.com/questions/8782852/c-buffer-overflow

std int main begin int authentication 0 char cUsername 10 cPassword 10 char cUser 10 cPass 10 cout Username cin cUser cout Pass.. cUser cout Pass cin cPass strcpy cUsername cUser strcpy cPassword cPass if strcmp cUsername admin 0 strcmp cPassword adminpass.. strcpy cPassword cPass if strcmp cUsername admin 0 strcmp cPassword adminpass 0 authentication 1 if authentication cout Access granted..