- Messages
- 4,493
- Reaction score
- 15,418
- Points
- 523
🚀 NEW from the xtremepape.rs team: AI exam prep — 120,000+ worked solutions, and it marks your handwritten working from a photo. Sign in with your forum account & try it free → prepare.xtremepape.rs
explain the joke (T.T)ok.. I found it hilarious...!! HAAH!! xD
![]()
problem is.. I really doubt any1 else will considering its a rare combination here... C programer who knows abt star wars...![]()
explain the joke (T.T)
is this c# or java?if (count_IncorrectPass = = 5)
{
messagebox.show("you have entered the wrong pass 5 times.. now your access to this screen is disabled for 3 mins");
//more code..
}
oooooooooooooooooooooooooooooooooooooooh...noooow i get ithmm.. ok, u kmnow how master yoda speaks right...? (http://yoda.locutus.be/quote.php)
agree with you, council does..
like that..
now we come to programming part... == is used to compare stuff....
for example if I'm writing code for a user login page... and I dnt want user to b able to enter wrong passwrd more than 5 times.. I will code the condition:
if (count_IncorrectPass = = 5)
{
messagebox.show("you have entered the wrong pass 5 times.. now your access to this screen is disabled for 3 mins");
//more code..
}
now notice how a normal programmer will write that code n how master yoda will:
![]()
is this c# or java?
yeah...it is C# .... in GUI programming we have no console so we use MessageBox.Show to give user a nice little message box...
which reminds me.. we gotta learn this later...![]()
yeah...
jee..agar Allah aapko taufeek ata farmae tou seekhai gai! -.-
🚀 NEW from the xtremepape.rs team: AI exam prep — 120,000+ worked solutions, and it marks your handwritten working from a photo. Sign in with your forum account & try it free → prepare.xtremepape.rs