cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Solving for x
Solving for x
Jul 12, 2011 at 11:15am UTC
monkeybutt
(56)
I am trying to write a program that solves a polynomial equation. When trying to solve for x, do I still need to initialize it? It seems like a stupid questions, and maybe since I'm solving for it I'm just being stupid. Thanks ahead of time.
Jul 12, 2011 at 12:36pm UTC
shacktar
(1187)
It's good practice to initialize all your variables, even ones that are guaranteed to be given a value.
Topic archived. No new replies allowed.