我必须创建一个数组,程序必须能够找到事件并用“aaaa”替换它们。另一个只是删除事件 [英] I have to create an array and the program has to be able to find the occurrences and replace them with "aaaa" and another one with just removing the occurrence

查看:76
本文介绍了我必须创建一个数组,程序必须能够找到事件并用“aaaa”替换它们。另一个只是删除事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的程序必须能够向用户询问一些条目,这些条目应该能够在数组中存储各种密码(数字和字母)。然后它要求用户在文本框中输入密码,并查看该密码是否与用户先前在阵列中输入的任何密码
相匹配。如果数组中的任何密码与文本框中的密码匹配,则数组中的密码必须更改为"aaaa"。

My program has to be able to ask the user for a number of entries which should be able to store various passwords(numbers and letters) in an array. Then it asks the user to enter a password in a textbox and see if that password matches any of the passwords that the user previously entered in the array. If there are any passwords in the array that match the passwords in the textbox, then to password in the array has to change to say "aaaa".

应创建另一个程序同样的事情,但相反,从数组中删除重复的密码。

Another program should be created do to the same thing but instead, remove the repeating password from the array.

请帮助我谢谢你。

推荐答案

Jaxx6382,

Jaxx6382,

没什么可以帮到你的。 

There is little to help you. 

也许这样:做在Visual Studio文件中 - >新项目 - > VB - > Windows窗体并在窗体上拖动您的控件。然后开始编码。 

Maybe this: Do in Visual Studio File -> New Project -> VB -> Windows Forms and drag your control on the form. Then start coding. 


这篇关于我必须创建一个数组,程序必须能够找到事件并用“aaaa”替换它们。另一个只是删除事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆