Hey, I'm making my own encryption code and I will post the part where I need help with::
This may be unproper but this is like the pre pre beta stage lol
cout<<"Enter something you want to encrypt: "<<endl;
cin.get(user, 100);
cin.ignore(102, '\n');
clrscr();
do
{
user[x]=1;
l++; x++;
}
while(x!=26);
My question is I need to make the while statement know how many characters the user enters but I don't know how, is there a way to count how many characters the user types...This program is pretty crappy right now...i plan on making it letting u encrypt files and crap...but anyway if someone knows.... THanks
Also if you have any suggestions that would be great