English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

how will i put into codes that if the password is not equal to "cid" then it will prompt the user to try again with "retry and cancel button" and password can be entered 3 times only?

2006-09-23 02:10:12 · 5 answers · asked by bonjing 2 in Computers & Internet Programming & Design

5 answers

!=

for example

if (x != y)

2006-09-23 02:13:04 · answer #1 · answered by Brian G 3 · 0 0

I thought the bytecodes ans is better
but U have do it for even small case and upper case letters also
bcoz u may wish to allow the user to enter in capitals also
but it is somewhat complicate as said by bytecode


c and c++ ,the languages very interested dont listen to the idiot ans. o.k. learn both that helps U
wish u best of luck

2006-09-23 09:55:34 · answer #2 · answered by chirumca 1 · 0 0

if your password variable includes an integer or double value, you have to use !=

if (a!=b) ...

but if your variable is a char array it is more complicated, you have to strcmp function to compare two strings.

2006-09-23 09:28:11 · answer #3 · answered by Anonymous · 0 0

If its C++ the not equal to is !=.

2006-09-23 09:15:59 · answer #4 · answered by eternalvoid 3 · 0 0

damn C++

the answer is !=

ex:a!=b

I am also learning C++ in school. I hate it! Damn it, damn it!

2006-09-23 09:19:34 · answer #5 · answered by Anonymous · 0 0

fedest.com, questions and answers