Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. rhein99

    C++ on the mainframe

    Oppps, when I transferred the file from the mainframe to my PC some of the characters did not convert correctly. Here is the code that extracts the fields to the output. } strncpy(polkID, arr, 10)...
  2. rhein99

    C++ on the mainframe

    Gentlemen, (I'm assuming your both male) thank again for the quick responses. arkM, yes, I would like to see more. I have included my C++ program below that takes 15 hours to run. A collegue a work wrote a C progam using the same input file and it ran in 45 minutes. Big difference when...
  3. rhein99

    C++ on the mainframe

    My input file has 25 bytes records and contains 7 million on them. A record is made up of 3 fields. PolkID - 10 bytes GeoCode - 6 bytes UnitAmt - 9 bytes Total of 25 bytes. Can you show me how to create a class that would define these fields, how to figure out the size of memory I would need...
  4. rhein99

    C++ on the mainframe

    Hello, I just joined. Looking for a code example that will read a file into memory and then write it to an output file. Input file is a fixed length file of 25 bytes. How do I figure out the size of the input file and then allocate enough memory. Then read it into memory, then be able to...

Part and Inventory Search

Back
Top