Thread: how can ı read and write from 2 column data text file in c++ and obtain function?a

  1. #1
    Registered User
    Join Date
    Sep 2020
    Posts
    1

    how can ı read and write from 2 column data text file in c++ and obtain function?a

    Hi everybody;

    Firstly, I would like to read and write from 2 column data in txt file.Next ı would like to obtain equation or function correspond to use these data and out put will be print these data and finally function from these data.How can ı do it? Pls give me code with using 2 column data in txt file.I am looking forward to hear from you.Thanks

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    First of all, we don't just "give code" in response to people just dumping their assignment on the board.

    If you really want to learn, you need to make an effort to understand some aspect of the problem. Then post your code and questions about that code (why doesn't it compile / run / work etc).
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    Same answer "bro".
    Make an effort, show where you can get to by your own effort and then we'll help you.

    We're your guide, not your mule.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. read last column of the file and compare the data using c
    By prasath_01 in forum C Programming
    Replies: 0
    Last Post: 12-03-2017, 03:57 PM
  2. How to write and read object data from a file ?
    By NomanProdhan in forum C++ Programming
    Replies: 4
    Last Post: 07-12-2017, 11:15 PM
  3. Help needed on Read and Write Text file
    By MagicWand in forum C++ Programming
    Replies: 12
    Last Post: 05-15-2016, 04:06 AM
  4. Encoding text also file write read problem
    By Ph0x in forum C Programming
    Replies: 2
    Last Post: 10-08-2014, 07:59 PM
  5. How to write data in exist text file?
    By ooosawaddee3 in forum C++ Programming
    Replies: 2
    Last Post: 10-20-2002, 05:55 AM

Tags for this Thread