中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-04 10:09
48,038 topics / 350,123 posts / today 0 new / 48,251 members
DOS批处理 & 脚本技术(批处理室) » How to read each character in a text file?
Printable Version  773 / 3
Floor1 zzfer Posted 2007-04-27 07:16
初级用户 Posts 18 Credits 50
For example, there is a txt like this:
1,2,3.......
4,5,6......
7,8,9......
............


Explanation: the number of rows and columns in this txt is not fixed. How can I read each number in each line in sequence? The numbers in each line are separated by ",".
Floor2 bjsh Posted 2007-04-27 07:51
银牌会员 Posts 621 Credits 2,000
Are the numbers between every two commas all single-digit?
Floor3 vkill Posted 2007-04-27 07:57
金牌会员 Posts 1,744 Credits 4,103 From 甘肃.临泽
This has been discussed many times before, about reading characters one by one.
Floor4 lxmxn Posted 2007-04-27 09:51
版主 Posts 4,938 Credits 11,386
OP should search first. There really are a lot of similar posts.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023