i have watched the entire 48 min video...without skipping anything ..i understood well..awesome bro...Eagerly waiting 4 more programs like this
@fernandomagallanes73503 жыл бұрын
broooo, u earned my subscription. much love!
@xovert53473 жыл бұрын
this saved my life, thank you so much
@LearningLad3 жыл бұрын
pleasure :)
@purshotamkhatri47127 жыл бұрын
wonderful explanation .you really deserve respect .waiting for your new videos
@LearningLad7 жыл бұрын
Thank you :)
@clintothomas10308 жыл бұрын
Its just awesome . I wish u were my teacher.
@johnlarryburo62504 жыл бұрын
Thank you, for making this video.
@LearningLad4 жыл бұрын
my pleasure :)
@madhavgautam62528 жыл бұрын
thanks for your's awesome useful videos .....u described it beautifully in understanding manner..waiting for your more updates.
@LearningLad8 жыл бұрын
thank you. will add more videos asap :)
@XxelitebeautyxX6 жыл бұрын
So, basically we use printf("\b \b"); Thank you!
@PalitoTechnologies7 жыл бұрын
you are the best i love to watch your videos
@LearningLad7 жыл бұрын
Thank you :)
@edilmarlulab59648 жыл бұрын
Thanks your all videos are awesome, and it's help me a lot for applying to my project xDD, more vids up upload please..
@LearningLad8 жыл бұрын
i'm really glad that my tutorials are helping you. i will add more video's. Thank You :)
@vineethreddy.s7 жыл бұрын
Clean and neat💓...
@LearningLad7 жыл бұрын
Thank you :)
@crist2000a7 жыл бұрын
I wonder why characterPosition
@jijojose88927 жыл бұрын
Superb.........................
@harshavardhanupputuri62117 жыл бұрын
Sir I'm using compiler telnet it doesn't support conio.h then to use getch what preprocess or directive we should include
@punjog49178 жыл бұрын
i want to print the whole array but to print i call a function with an 2 parametes i.e. pointer and an int size but instead of passing base addres in pointer i pass the address of any element in the array how to print the whole aray ??? will you please helpme with this
@raghavchadha91337 жыл бұрын
how an ASCII value u can store in char CH variable ..that data type must b int ?????
@junihbhatt5 жыл бұрын
Thank you ❤️🔥
@LearningLad5 жыл бұрын
my pleasure :)
@Xp-Sam4 жыл бұрын
@@LearningLad sir... In my linux getch() was not working so i googled it and found a written getch() function which i pasted in the above code... Its working fine but the problem is the ascii value it is taking for ENTER = 10 and for backspace = 127 while for TAB and SPACE it is same as yours.... Why is it so? I'm so confused right now..... I have read that ascii values are fixed for every key.
@yangakwaje96858 жыл бұрын
I love all your learning lad
@LearningLad8 жыл бұрын
+yanga kwaje Thank you :)
@junxian95215 жыл бұрын
why my char password[maxPasswordLenght+1]; was eror?? need some help
@LearningLad5 жыл бұрын
which compiler you are using? some doesn't allow it.
@jungho60485 жыл бұрын
@@LearningLad Visual studio doesn't allow to.
@junxian95215 жыл бұрын
visual studio i use
@junxian95215 жыл бұрын
@@LearningLad now I got some problems is i using binary file to store the file ,when first time invalid password second time key in the valid password and i put enter after it will stuck and cant accept any key . I just modify ur code
@userrrrr-l1r5 жыл бұрын
i did search but i didn't find how i use conio.h in linux please can someone help me
Great work sir.... But i have a question... According to you printf("learninglad\b" ) ; Should print learninglad with cursor blinking at 'd' but what i got is "learningla" printed on the screen... Why is this happening? Plz reply.....
@boginenivenugopal34418 жыл бұрын
Hii Anil. How r you? Your videos are awesome. I have wrote entire code as you said in the video, there is no errors as well, but when i enter any key for password that command prompt terminating automatically in DEV C++. is there any problem with getch() ? Below is the program which i written ************************************************************** #include #include #include #include #include int main (){ const int max_password_length = 15; char password[max_password_length+1]; char ch; int characterPosition = 0; printf("Please enter password: length 1 - %d ",max_password_length); while(1) { ch = getch(); if (ch = 13){ // When USER hits ENTER key break; }else if(ch == 32 || ch == 9) { // Wher USer hits SPACE or TAB continue; }else if (ch == 8){ /// When user hits BACKSPACE if (characterPosition > 0){ characterPosition--; password[characterPosition]='\0'; printf("\b \b"); } }else{ if (characterPosition < max_password_length){ password[characterPosition]= ch; characterPosition++; printf("*"); }else{ printf(" You have enterd more than %d characters . Hence we will consider first %d character ",max_password_length,max_password_length); break; } } } password[characterPosition]='\0'; printf(" "); if (strlen(password)==0){ printf(" No passwd enterd "); }else { printf(" password is %d ",password); } return 0; } ************************************************************** Please Kindly help me on this.
@LearningLad8 жыл бұрын
you are using if (ch = 13){ // When USER hits ENTER key here = is the assignment operator. everything it assigns value 13 to the variable ch. change this to == (comparison operator) use if( ch == 13 ) I haven't checked rest of the code. So if u have any other mistake then Pls check the video again to correct the mistake.