need help

srry bout that LONG code
Last edited on
Bjarne Stroustrup
...I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.


OP: did you really need to send all these code to ask how to write, read, modify and delete file records? And what did your search on these give so far?
Last edited on
Bjarne's comment as posted by gunnerfunner is the same concept as "Rubber Duck Debugging". Purchase a small rubber duck, and place it near your computer; whenever you have a coding problem, explain (out loud ) to the rubber duck how your code works. This leads to a solution.
Last edited on
Topic archived. No new replies allowed.