如何将用户输入与文本文件进行匹配?紧急 [英] How to match up a user input against a text file? URGENT

查看:68
本文介绍了如何将用户输入与文本文件进行匹配?紧急的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用vb.net

I am using vb.net

您好,我目前正在从事一个项目,我迫切需要一些有关如何操作的帮助:

如何接受用逗号分隔的用户输入

how to take a user input which is separated by commas

然后存储该

然后将用户输入与文件匹配

then match the user input with a file 

任务在下面列出:

该程序应允许用户输入GTIN-8代码以获取他们想要购买的产品列表
以及每种产品所需的数量.该程序应搜索库存文件以产生
列表 产品及其说明,价格,每个选定数量的成本以及所有产品的总成本
产品.该程序还应标识未找到的产品.

该程序应出示收据,
即产品清单,其中包含描述,价格,所选每个数量的成本以及全部的总成本
订购的产品.
预先感谢.

The program should allow a user to enter GTIN-8 codes for a list of products they wish to purchase
and the quantity required of each product. The program should search the stock file to produce a list of
products with their descriptions, prices, cost for each of the quantity selected and the total cost for all of
the products. The program should also identify products not found.

The program should produce a receipt,
i.e. a list of products with descriptions, prices, cost for each of quantity selected and the total cost of all
the products ordered.
Thanks in advance.


推荐答案

我正在使用vb.net

I am using vb.net

您好,我目前正在从事一个项目,我急需有关如何操作的帮助:

如何接受用逗号分隔的用户输入

how to take a user input which is separated by commas

然后存储该

然后将用户输入与文件匹配

then match the user input with a file 

任务在下面列出:

该程序应允许用户输入GTIN-8代码以获取他们想要购买的产品列表
以及每种产品所需的数量.该程序应搜索库存文件以产生
列表 产品及其说明,价格,每个选定数量的成本以及所有产品的总成本
产品.该程序还应标识未找到的产品.

该程序应出示收据,
即产品清单,其中包含描述,价格,所选每个数量的成本以及全部的总成本
订购的产品.
预先感谢.

The program should allow a user to enter GTIN-8 codes for a list of products they wish to purchase
and the quantity required of each product. The program should search the stock file to produce a list of
products with their descriptions, prices, cost for each of the quantity selected and the total cost for all of
the products. The program should also identify products not found.

The program should produce a receipt,
i.e. a list of products with descriptions, prices, cost for each of quantity selected and the total cost of all
the products ordered.
Thanks in advance.

我理解正确,您希望有人为您编写整个项目吗?

Do I understand correctly, you want someone to write the entire project for you?


这篇关于如何将用户输入与文本文件进行匹配?紧急的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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