FILE pointer problem

This is a discussion on FILE pointer problem within the C++ Programming forums, part of the General Programming Boards category; Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using ...

  1. #1
    Registered User
    Join Date
    Nov 2007
    Posts
    73

    FILE pointer problem

    Read the following data in two different files

    File A: aaaaaaaadddddddd
    bbbbbbbbeeeeeeee
    ccccccccffffffff


    File B: 11111111
    22222222
    33333333


    By using the above files print the following output or write it in the
    Other file as follows

    aaaaaaaa11111111dddddddd
    bbbbbbbb22222222eeeeeeee
    cccccccc33333333ffffffffffff

  2. #2
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,465
    67 posts, over an year you've been subscribed and you still don't know this is no place to do your work for you? Serious lack of observation skills you have there.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. File transfer- the file sometimes not full transferred
    By shu_fei86 in forum C# Programming
    Replies: 13
    Last Post: 03-13-2009, 12:44 PM
  2. File Writing Problem
    By polskash in forum C Programming
    Replies: 3
    Last Post: 02-13-2009, 09:47 AM
  3. Straight Insertion Sort function problem
    By StaticKyle in forum C++ Programming
    Replies: 6
    Last Post: 05-12-2008, 04:03 AM
  4. Inventory records
    By jsbeckton in forum C Programming
    Replies: 23
    Last Post: 06-28-2007, 04:14 AM
  5. what does this mean to you?
    By pkananen in forum C++ Programming
    Replies: 8
    Last Post: 02-04-2002, 02:58 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21