dolly37 0 Newbie Poster

Hi all,

I want to write a perl script which will parse a .cpp file to extract the member variables of a function and log them into a text file. Then I have to read this file using Tk and display the contents of the file. I have the perl script which can parse the .cpp file for the require information and log it to text file.
But what i want is, that instead of writing to a text file I should write to a binary file and then while displaying it using Tk, I should read this binary file and display it as text file in my GUI.

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.