Message from C, C++ talks

July 2019

— Well done

— Purge complete.

— #ot

— Https://


Say a website considers the presence of atleast one digit, lowercase letter, upper case letter n one special character.. as a strong password.. provided it is 6 characters long..

and the user gives a password.. I have to write a function that returns the minumum number of characters needed to make the password strong.

I wrote the code but only half the test cases are passing.. I'm having trouble figuring out where it is going wrong

— The special characters accepted are: !#$%^&*()-+

— Interesting

— Use regex

— Using pointers to access array this way I never saw that

— Do you have to use *(a + i) instead of a[i]? My eyes hurt

— I've used it a few times

— Thats wild PS: :D

— Whoops.

— I didn't read all of it but the lastes if of the for loop seems weird...

— We were taught to use address arithmetic as a practice. But it was like 1 class, and then one should use [] notation

Message permanent page