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

  • Home
  • SEARCH
  • 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 6096425
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:55:32+00:00 2026-05-23T12:55:32+00:00

I am using Visual Studio 6 and want to read a pipe delimited file,

  • 0

I am using Visual Studio 6 and want to read a pipe delimited file, edit some fields and save the file. What would be the best approach for this? Could ADO help me for example? Or maybe Boost? Although I have looked into the Boost string stuff and it doesn’t support VC6. Can STL help?

Sorry to ask but I don’t want to waste too much time messing around with the different options as time is tight. I’ve already wasted time looking at Boost only to find that VC6 isn’t supported.

  • 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-05-23T12:55:33+00:00Added an answer on May 23, 2026 at 12:55 pm

    If the file is purely |-delimited then you can use overloads of getline that allow you to specify a different delimiter. Just read the input “line by line” – each line will be the data up to the next | character – modify the field using string or stringstream and then output it, not forgetting to include a ‘|’ delimiter or whatever you want in your output.

    If you also have newlines in your input file to deal with, then it’s a little bit more complex – you’d need to read each line into a stringstream using standard getline delimiter (EOL), and then parse and re-output the stringstream using the method I noted above.

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

Sidebar

Related Questions

I want to start using Nunit (finally), I am using Visual Studio 2008. Is
I'm developing an ASP.NET 2.0 app using Visual Studio 2008. If I want to
I have Visual Studio 2005 Professional ENU installed and want to create GUIDs using
First, some basic details: I'm using Visual Studio 2008 Team Edition I'm using C#
Using Visual Studio 2008 Team Edition, is it possible to assign a shortcut key
Using Visual Studio 2008 / C# / VS Unit Testing. I have a very
When using Visual Studio (though ideally this can apply to the generic case) and
I'm looking into using Visual Studio 2008's built in unit test projects instead of
I'm using Visual Studio Team System 2008 at work to do web development. I've
Have just started using Visual Studio Professional's built-in unit testing features, which as I

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.