Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9189081
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T20:09:53+00:00 2026-06-17T20:09:53+00:00

If a text file contains many rows and columns (say 100*100 ). How can

  • 0

If a text file contains many rows and columns (say 100*100). How can I pick up a particular column and read all the values in that column and then corresponding to a particular value in that column, I need to read all the values in that row. Can anyone help please.

Regards.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T20:09:55+00:00Added an answer on June 17, 2026 at 8:09 pm

    The question is not clear. Do you mean columns of characters (the Nth character in a row), of numbers (“2 3 0 9 45 223 93 1” being eight columns, or something else?

    In any case, you can only read the file by rows, so to extract a certain column it will be necessary to read the file into memory first, storing the data in strings. Then in each string, get the column values you are looking for. When you find it, the string in which you found it will be the row you want.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Say you have a simple text file which contains many columns. Some columns are
I have the text file which contains 3 columns, first column having strings, second
I am reading a text file which contains numbers in the range [1, 10^100].
I have a plain text file with many lines. Each line contains 5 words
I am loading a text file (which contains many lines, some containing spaces or
I have a text file which contains many (over 5000) links. Like this: http://www.website.com/rgfdefvrggh
I have a text file which contains several spelling variants of many words: For
I have a text file that contains two lines of numbers, all I want
My text file contains 2 lines: <IMG SRC=/icons/folder.gif ALT=[DIR]> <A HREF=yahoo.com.jp/>yahoo.com.jp/</A> </PRE><HR> In my
My raw input file text file contains a string: Caf&eacute (Should be Café) The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.