Coding Problem

hi...
i want to make an output in C++ program. but i have a problem...

we only have one variable (a), and we want to make it in ascending (a++) for several times. but, i need all values in every steps of the changes in the ascending process. it's needed for calculation.
is there any suggestion to go with it???

please help me...
Last edited on
You can store each value in an array (or vector).
http://www.cplusplus.com/doc/tutorial/arrays.html
wow thank alot for your suggestion its really help me out
Umm...come again?
I didnt get what you said.
Topic archived. No new replies allowed.