打开文件输出每行数据(string),如何将这些一行一行的数据转化为(string int int)
输出的语句bIn = new BufferedReader(new FileReader("C:\\goodsname.txt"));
line = bIn.readLine();
接着是定义一个index让其以一行为单位输出,现在输出了数据
(kele 10 20
xibi 20 30
pijiu 60 30)
,但我要调用的函数中的参数(string int int)(如上图)。如何转换???
谢谢!!!