Hey , you must have assumed my intention to write the program.
well, i simple want the user to write a password, but while writing.. the alphabets should be replaced with *...
But i am getting some errors.
I am sorry if you think that the program is too stupid.
Actually i am not learning c++ "legally" as i am too young for it (15). i am just reading manuals and watching youtube tutorials... due to my infinite interest in programming. :D
i am using dev c++ (4.0.92) [it suxx]
On line 15 you are trying to access multiple positions within the array. You cannot do this. char variable a is an array of 20 items, and if you want to access positions 0, 1, 2, 3, or 4 you will need to re write the code as follows: