Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

sympathy

Organizational problems.

This topic is 6200 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

For my work I''ve written a program that stores, manages and allows for manipulation of calibration data. It works on the principle that there is a unique id and history of calibration for each id. I''m using: map > Entry of course is a class I''ve defined to store a single entry of the history, and the string is the id. This is all fine, but two questions I''ve had are is it worth finding common interfaces between repetitious code and isolating it into a function? I''ve got repetitious code pasted multiple times in main simply because it was easier, but I''m sure there is a much easier way. Another thing I''ve wondered is if there is a simpler way to handle formatted data input from files. I''m tired of having to manage it by reading in X amount of characters, then the word for each of 10,000 odd lines. Any help is appreciated. Thank you.

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!