Thread: Visual C++, Read file and Write on another file with modified Help

  1. #1
    Registered User
    Join Date
    Feb 2012
    Posts
    3

    Visual C++, Read file and Write on another file with modified Help

    Hello Valuable Programmers,

    I have a little Problem with Read on a file and Write on another file with modified like;

    informations on a exel(.xls) sheet but it doesnt matter we should think like any file type like txt ...;

    For Example our xls or txt file have this informations initially;

    xxx 16 segment1
    xxx 1 segment2
    xxx 8 segment3
    yyy 70 segment4
    zzz 4 segment5
    kkk 2 segment6
    mmm 1 segment3
    mmm 1 segment7
    vvv 6 segment3
    ppp 1 segment1
    qqq 31 segment8
    qqq 50 segment2
    qqq 62 segment5

    i need to do change this informations like this;

    xxx total:25 segment1 16,segment2 1,segement3 8
    yyy total:70 segment4 70
    zzz total:4 segment5 4
    kkk total:2 segment6 2
    mmm total:2 segment3 1,segment7 1
    ...

    is anyone can make its on C++ its a very important for me,
    Please help me
    Thank you so much
    ....

  2. #2
    - - - - - - - - oogabooga's Avatar
    Join Date
    Jan 2008
    Posts
    2,808
    What code do you have so far?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Basic file read, file write program
    By starwarsyeah in forum C++ Programming
    Replies: 5
    Last Post: 02-28-2011, 03:23 PM
  2. Help with file read/write
    By bluej322 in forum C Programming
    Replies: 16
    Last Post: 01-09-2011, 06:39 PM
  3. File Handling -Read write and edit a file
    By aprop in forum C Programming
    Replies: 3
    Last Post: 02-27-2010, 02:01 PM
  4. Read/Write hex from/to a file in C?
    By MrSteve in forum C Programming
    Replies: 4
    Last Post: 03-25-2008, 04:44 PM