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 ":")

getline is explained quite well here

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.