• Forum
  • Lounge
  • My array got new values after being used

 
 
My array got new values after being used in an operation

Hi,

I defined the values of my array and the used it in an equation to define another array. Later, when I am trying to use my array again it gives me wrong values not the ones assigned previously.
I should mention that I was a Fortran programmer and just starting on C++.
Any help will be greatly appreciated.

Post the code.

p.s. this is the wrong board - you probably want Beginners or General.
You are right.
And the problem is being solved.
What was the problem and how did you solve it? You should say so that anyone who has the same problem can get help from this thread without having to make a new one.
Topic archived. No new replies allowed.