Allegro Investment Company
Date: 11/30/99 Fixed Rate InvestmentsAccnt: 0604 Steve Nixon 3670 Rapids Blvd. Troy,MI 62314
Rep: Bill Boniker Office: Lansing Tel: 909-555-4323
Investment Matures Value Interest
-------------- -------- --------- --------
Alphatex 23 JUL 99 234,020 7.62
Hoag 01 APR 98 10,090 5.91
Accnt: 1947 Reginald Cook 221 B. Baker St, London,England EC4A 3LN
Rep: Jonathan Smythe Office: London Tel: 0171 353 1577
Investment Matures Value Interest
-------------- -------- --------- --------
Hagerton 12 MAR 99 109,432 4.68
Mouton 01 SEP 03 436,690 5.67
Maxwell 02 NOV 98 36,690 6.90 Accnt: 6485 Bob Cuthbertson 277, Wellington Toronto,ON M5V 3H2
Rep: Rick Wood Office: CN Tower Tel: 416 204 3327
Investment Matures Value Interest
-------------- -------- --------- --------
Jagerson 31 DEC 99 11,020 6.63
Hardin 23 JUL 98 110,093 5.99这样的打印格式的文件怎么处理啊?
Date: 11/30/99 Fixed Rate InvestmentsAccnt: 0604 Steve Nixon 3670 Rapids Blvd. Troy,MI 62314
Rep: Bill Boniker Office: Lansing Tel: 909-555-4323
Investment Matures Value Interest
-------------- -------- --------- --------
Alphatex 23 JUL 99 234,020 7.62
Hoag 01 APR 98 10,090 5.91
Accnt: 1947 Reginald Cook 221 B. Baker St, London,England EC4A 3LN
Rep: Jonathan Smythe Office: London Tel: 0171 353 1577
Investment Matures Value Interest
-------------- -------- --------- --------
Hagerton 12 MAR 99 109,432 4.68
Mouton 01 SEP 03 436,690 5.67
Maxwell 02 NOV 98 36,690 6.90 Accnt: 6485 Bob Cuthbertson 277, Wellington Toronto,ON M5V 3H2
Rep: Rick Wood Office: CN Tower Tel: 416 204 3327
Investment Matures Value Interest
-------------- -------- --------- --------
Jagerson 31 DEC 99 11,020 6.63
Hardin 23 JUL 98 110,093 5.99这样的打印格式的文件怎么处理啊?
解决方案 »
- 将一个对话框中的图形保存
- 关于数据结构的一点问题
- CSplitterWnd分割窗口的问题
- 难道csdn没人懂在vc下的ado连接数据库,数据库中的varbinary类型数据的读与写吗?我都问了好几天了。
- DialogBox创建对话框如何来加上背景色?
- 如何将一个JPG文件中的各个像素值读到一个RGB数组里面?(给出详细解决方案,给分!)
- 如何使DrawState(...)改变一下字体?
- 高手看过来!怎么用CAsyncSocket在service?
- opencv透视变换后的图像如何还原为原图像?
- 符号 '|'和 '|=' 怎样用?
- VC里面的template 数组问题
- 为什么大家只喜欢MM的 文章?
再用剪贴扳编程
关于pop菜单和剪贴板编程,有没有书可以查?
你是用ODBC还是DAO or ADO呢 ?
关于字段问题,我觉得很值得考虑。
你现在在吗?
Accnt: 6485 Bob Cuthbertson 277, Wellington Toronto,ON M5V 3H2
Rep: Rick Wood Office: CN Tower Tel: 416 204 3327
手工做起好象很麻烦
gongxy(codekiller)上面说得轻松,我就是不知道这个程序怎么处理,唉
Accnt: 0604 Steve Nixon 3670 Rapids Blvd. Troy,MI 62314
Rep: Bill Boniker Office: Lansing Tel: 909-555-4323
Investment Matures Value Interest
-------------- -------- --------- --------
Alphatex 23 JUL 99 234,020 7.62
Hoag 01 APR 98 10,090 5.91
如Rep是字段,得到Bill Boniker是数据
如上表格,你如果不知它的格式,用电脑判断:
Accnt: 0604 Steve Nixon 3670 Rapids Blvd. Troy,MI 62314
Rep: Bill Boniker Office: Lansing Tel: 909-555-4323
Investment Matures Value Interest
-------------- -------- --------- --------
Alphatex 23 JUL 99 234,020 7.62
Hoag 01 APR 98 10,090 5.91
--------算是数据吗?只能人为判断。
CString strContent;while(!文件结束)
{ file.ReadString(strContent);//读入一整行
strFiled1=strContent.Left(7); //截取前7个 500 100 或 5001100
strFiled3=strContent.Right(10); // 01/10/1997
strFiled2=strContent.Mid(8,strContent.Length()-7-10); //中间部分
//中间空格你自行处理
strFile1,2,3写入数据库
}
CStdioFile
CStringArray
CString这3个类就差不多了。我写过这复杂多的提取程序 txt -> mdb 数据库
如PCL、PS、PDF等等。
我们的主页:http://pdfimage.top263.net
如果是固定的,很容易的就可以用perl匹配出来,然后看你的这行
Investment Matures Value Interest
-------------- -------- --------- --------
是不是固定都有的,这行的下面是不是都是数据,如果是,呵呵,那就应该
很好办了
[email protected]
几种我都可以解译,他们都是矢量的图形描述语言,如果您是
作为商用,我可以提供帮助。
我们的主页:http://pdfimage.top263.net
内容不算很出色,不过做你这个够了,主要它带一张盘,
里面有perl的开发包和常用的调试工具