954,500 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

read file with delimiter

i have a text file that has delimiter. i wanted to display the test file that will take away the deliminter from my text file. i search through the net was told to use getline() which can include the deliminter. Hope that is someone who can show me an example of using getline() to read from file wif deliniter?

my text file consist of name:tel:age(delimiter is ":")

picass0
Light Poster
45 posts since Nov 2007
Reputation Points: 10
Solved Threads: 0
 

getline is explained quite well here

example :
yourfilestream.getline(CharBufferForOutput, TheSizeOfTheCharBuffer, ':');

Nick Evan
Not a Llama
Moderator
10,112 posts since Oct 2006
Reputation Points: 4,142
Solved Threads: 403
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You