Hi, I want to process a text file. Here are the contents of the text file labels 1 -1 -1 0.2988 0.7012 -1 0.188161 0.811839 -1 0.0824541 0.917546 1 0.579515 0.420485 -1 0.0965063 0.903494 -1 0.174624 0.825376 -1 0.0404312 0.959569 -1 0.0770909 0.922909 -1 0.12001 0.87999 1 0.778388 0.221612 In the above data, there are 11 lines (rows) and 3 values (columns) are on each line and every value is separated by a space. The second are third column are actually the probability scores. Now I want to perform 2 actions. 1. I want to access the second column of …

Member Avatar
Member Avatar
+0 forum 3

I am starting a new project and i plan to use c# for it. Basically what it entails to is reconfiguring a large am mount of config files. 100+ of them. They are each named differently but are prefixed the same (ex: CONFIG_FILE_xxxxxx , where x changes). Inside the files also follow a similar structure. My question is how would i go about getting started with this. The reconfiguration i plan to do to these files is edit certain parts of the files depending on their name and then saving them. The editing part is going to come from a …

Member Avatar
Member Avatar
+0 forum 3

[B]How to read the header of the text file:?:[/B] such as [I][B][INDENT] tab-size tab-stops indent-size line-length new-line use-tabs[/INDENT][/B][/I]need help. Thanks in advance. Senthil

Member Avatar
+0 forum 0

I wrote a program to analyze a log file for a machine that my company repairs. The program that runs the machine spits output into a text file (.log) and my program will analyze it and return the results of different calculations to the user. The log file idealy looks like this most of the time [CODE] >25 233966 300156 89980 >26 232342 300157 90010 >25 235908 300156 90020 >22 242106 300154 90000[/CODE] This is ideal formatting and USUALLY is the case. Now out of each of those 4 line "paragraphs" only the first and the last lines (eg >22 …

Member Avatar
Member Avatar
+0 forum 5

Hello everyone, I am trying to read a .rtf file, does this have to be done using the RTFeditorKit? Can a .rtf file be read line by line like a normal .txt file, as I was planning to read it line by line (as a string) to remove punctuation first by using a regex. I did find some examples on the RTFeditor but I ' m not sure what it is used for and I didn't understand them, or if I should use something else. Any help would be greatly appreciated.

Member Avatar
+0 forum 0

I would really like to be able to read notification emails on my phone (email to sms). However, my email preferences on daniweb are currently set to html, as far as I know. Could someone please help me change it to plain text? Is it even possible? Thank you.

Member Avatar
Member Avatar
+0 forum 2

I want to be able to have a Textblock set to a certain width and height so it can contain two lines of 36pt font. I have accomplished this with word wrap, but it can still overflow. Is there anyway to make the font size shrink when there is an overflow?

Member Avatar
+0 forum 0

Hi I am trying to genarate report in java. my basic requirement is like: 1. i have to print sales invoice in .txt format. 2. In application, user will select sales invoice no in drop down list. after clicking print button, user can show his invoice . 3. invoice contain only three column ( simple invoice format) 1. item name 2. rate. 3.qty 4. amount finally in detail, it will print Total amount. --------------------------------------------- item name Rate Qty Amount --------------------------------------------- ABC 10 10 100 PQR 05 10 50 -------------------------------------------- Total: 150 -------------------------------------------- Whether it is possible to print above format …

Member Avatar
Member Avatar
+0 forum 4

The End.