I have a text files that are coming always in the same text format (I do not have the xsd of the text file).
我想将数据从中绘制成几类。
这样做有某种标准方法,但开始撰写插图或一些复杂的区域评价。
我真的不想用文字 par子来形容我们是数人从事这项工作,或许需要我们每个时间了解对方正在做的事情。
Thanks.
If you have a special format you need your own parser for sure.
If the format is a standard one like xml, yml, json, csv etc, the parsing library will be always available in your language.
<>>>>>
From the sample you provide it seems the format is more like INI file but entries are custom. May be you could extend NINI
解决办法:
假设你不能将即将采用的文件格式改成更便于机器读,那么你很可能需要写自己的习俗名。 最好的方法是,利用每个领域的适当数据格式,创建各类课程,代表并储存所有各类数据。
Try to compartmentalize the code. For example, take these lines here:
272 298 9.663 18.665 -90.000 48 0 13 2 10 5 20009 1 2 1 257 "C4207" 0 0 1000 0 0
这可能是一个单一类别或结构。 其建筑商可接受上述插图作为参数,每个数值可与当地不同成员相同。 同一类别可以采用“拯救”或“稳定”方法,必要时将所有价值重新转化为扼杀。
Then the parent class would simply contain an array of the above structure, based on how many entries are in the file.
What is the use of default keyword in C#? Is it introduced in C# 3.0 ?
I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...
I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...
I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...
I have two EF entities. One has a property called HouseNumber. The other has two properties, one called StartHouseNumber and one called EndHouseNumber. I want to create a many to many association ...
How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...
Since I cannot order my dictionary, what is the best way of going about taking key value pairs and also maintaing an index?
Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...