Can anyone give me a sample password verification program in c++? The user should type a password and the compiler should check if its right or wrong and display. -- advance thanks.

At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Get our expert's

answer on brainly

SEE EXPERT ANSWER

Get your free account and access expert answers to this and thousands of other questions.

A community for students.

Can anyone give me a sample password verification program in c++? The user should type a password and the compiler should check if its right or wrong and display. -- advance thanks.

Computer Science
See more answers at brainly.com
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Get this expert

answer on brainly

SEE EXPERT ANSWER

Get your free account and access expert answers to this and thousands of other questions

Hoot! You just asked your first question! Hang tight while I find people to answer it for you. You can thank people who give you good answers by clicking the 'Good Answer' button on the right!
You mean when user types password should be shown in screen ????if not it is just like comparing two strings using strcmp
the original password is already in the program. the compiler just need to verify if the user entered password is right.

Not the answer you are looking for?

Search for more explanations.

Ask your own question

Other answers:

#others like stdio and all include int main() { string s1,s2; #lets consider s1 has password and s2 has entered password. if(s1.compare(s2)==0) { #print equal } else { do whatever you want } return 0; }
ya but how to compare two arrays? (one array is the original password and the other one is the one entered by the user.)
hello?
you mean char a[34],b[45]; if (strcmp(a,b)==0) print true else print false
thanks
@geo:I would like to know more about the result,don't forget to use string header file(
ok
strcpy didnt work it is just comparing the first letter of the password. not the entire string. can you please give the c++ program for this?
hello
Check this out http://www.linuxquestions.org/questions/programming-9/comparing-char-arrays-46831/
thanks a lot

Not the answer you are looking for?

Search for more explanations.

Ask your own question