PRSplayr123
April 28th, 2003, 08:55 PM
I am trying to write a program that allows user defined entry of unlimited float numbers. I forgotten what it is I need to use write this.I am new to C++ and still learnig . I would greatly appreciate any help you can give me thanks.
PaulWendt
April 28th, 2003, 09:31 PM
There are many different ways to solve this problem; chances are
you'll need to use whatever concepts you're currently learning
in class [ie: examine the chapter you guys are on].
This calls for the talents of "dynamic memory". Look up 'new' and
'delete'. If you don't want to deal with that, you can use a
vector. In fact, I'd probably deal with a vector of floats myself.
--Paul
PRSplayr123
April 28th, 2003, 10:44 PM
thanks paul for your help...........I am gonna check this out