In procedural programming, you have to basically either use static variables inside of functions, or global variables to get the job done the first time around (easily done as well), passing 20 values that you're going to use in every function is rather useless, when they're obviously better off being global. At anyrate.
My question was: Is it "ok" by any means, to use a class instead of using global variables and 3-4 functions (that're all associated with that specific data)? A plus side to this is organization (which is mostly what I love about it), and easy modification of a modular program.
Thanks for any answers!
This post has been edited by Hyper: 26 January 2009 - 06:46 AM