Im pretty new to C++ and was wondering, how can you store both a integer and a character in the same variable. I was wondering this because I am making a program which could store all my passwords and such but I dont know, if there is, a variable to store both. If not any one have any advice how to store a password in I guess an array that contains both characters and integers.