Dear All,
I have basic structure of the C++ code [1]. It suppose to read particular columns from some txt file. The txt file look like following [1] (snippet). I have to ask the details for instance 'id' information for rows satisfying text with red color. The issue is that the txt file has not just the column wise data but other stuff as well, as you can check the [2]. Besides, the most important is I need to select data only for columns with [COLOR="rgb(255, 0, 255)"]phase[/COLOR] has certain value.
Thanks in advance,
emily,
ISSUEs facing:
a.) if there are top line with the
, it is acepting. Else if more than one such line is there, its not working.
b.) When I perform test with small file of some 500 lines, and tried to cout. It fail with
c.) The TASK is to plot
for certain condition being true, please check the BLUE text in the code
[1]
-----------------------------------------------------
Hi ahamed,
I want to plot two variables for certain condition being true. I will decide it itself in the code for which conditions I would like to plot the variables for.
Please check the modified code and TASK that I have added in the original message.
The file is really huge and it so far not working.
Hi
I have large text file consisting of five columns. Sample of the file is give below:
ed 2-4 12.0 commons that they depended on. मानवों नष्ट किया जिन पर वो आधारित थे।
ed 3-1 12.0 Almost E, but would be over. रचना करीब करीब ई तक जाती है, मगर तब तो नाटक ख़त्म हो... (2 Replies)
Hi
i have 2 files
file1.txt
XX,ZZ,XC,EE,RR,BB
XC,CF,FG,RG,GH,GH
File2.txt
DF,GH,MH,FR,FG,GH,NOTOK
XX,ZZ,XC,EE,RR,BB,OK
result
XX,ZZ,XC,EE,RR,BB OK
look for column1 , XX and if it matches in File2.txt , retrieve the 7 th field from File2 and print in 3 rd file , ... (9 Replies)
Hi,
I have a huge file that has data something like shown below:
huge_file.txt
start regexp
Name=Name1
Title=Analyst
Address=Address1
Department=Finance
end regexp
some text
some text
start regexp
Name=Name2
Title=Controller
Address=Address2
Department=Finance
end regexp (7 Replies)
I dont even have a sample script cause I dont know where to start from. My data lookes like this
> sat#16 #data: 15 site:UNZA baseline: 205.9151
0.008 -165.2465 35.8109 40.6685 21.9148 121.1446 26.4629 -18.4976 33.8722
0.017 -165.2243 48.2201 40.6908 ... (8 Replies)
Hi,
I have two text files that I would like to merge/join. I would like to join them if the first columns of both text files match and the second column of the first text file matches the third column of the second text file.
Example input:
First file:
1334 10 0 0 1 5.2
1334 12 0 0 1 4.5... (4 Replies)
I have one space delimited file with multiple columns and one tab delimited file with multiple columns (They have the same number of rows). I want to basically combine these two text files into a new text file by column. How would I go about doing that? (1 Reply)
Currently I am stuck on my program for my if statement, as I do not no how to get a specific collumn of text to check against my variable.
df -k /home/* > fd.txt
cat df.txt | tr -s " " | awk '{print $3, $4, $1}' > dfcap.txt
echo -n "Enter the size (in kilobytes) you wish to check against... (18 Replies)
hi
i need to select a few columns of two txt files and write it to a new file. there is one common field for both of these files.
plz help me in this
thanks in advance (4 Replies)
Is it possible to search through a large file full of rows and columns of text and retrieve only the rows that contain duplicates fields,
searchiing for duplicates on col4 & col6
Sample below
Col1 col2 col3 col4 col5 col6
G405H SURG FERGUSON ... (2 Replies)