I need assistance in printing out a Quine. I googled it and stuff, but I didn't understand the code snippets I saw. Can anyone explain in a more lucid tone?

Recommended Answers

All 3 Replies

Can you explain your problem in java programming terms?

Member Avatar for hfx642

Now that I know what a "Quine" is (I had to go look it up),
It's rather simple!
Write a program which reads a text file (the program itself)
which writes a text file (the new program), with the original file read in as a String.
Every time that you run it, it creates a String... within a String... within a String...
Your problem will be dealing with all of the Quotes (").

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.