![subject](/tpl/images/cats/mat.png)
Mathematics, 08.11.2019 19:31 keananashville
Write a struct that has only two data members, a string named "password" and another string named "secret". this struct is called "secretkeeper". the purpose of this type is too only share its secret with users that know the password. the struct isn't too secure yet, but we'll learn more ways to control information later in the course. the secretkeeper type also has a function member named "get_secret" that takes a single argument, a string that represents a user providing a password. if the user's password matches the struct's password, return the secret, otherwise, return a empty string.
![ansver](/tpl/images/cats/User.png)
Answers: 2
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Other questions on the subject: Mathematics
![image](/tpl/images/cats/mat.png)
Mathematics, 20.06.2019 18:04, izabelllreyes
Rosa makes a small flower garden outside the clubhouse the area of the garden is 851 square meters if the length of the garden is 23 m what is the width of the garden
Answers: 1
![image](/tpl/images/cats/mat.png)
![image](/tpl/images/cats/mat.png)
You know the right answer?
Write a struct that has only two data members, a string named "password" and another string named "s...
Questions in other subjects:
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/en.png)
English, 27.01.2020 07:31
![Konu](/tpl/images/cats/istoriya.png)
History, 27.01.2020 07:31
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/fizika.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 27.01.2020 07:31
![Konu](/tpl/images/cats/mat.png)
Mathematics, 27.01.2020 07:31
![Konu](/tpl/images/cats/mat.png)
Mathematics, 27.01.2020 07:31
![Konu](/tpl/images/cats/fizika.png)