|
-
April 28th, 2003, 08:55 PM
#1
Need a little bit of help
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.
-
April 28th, 2003, 09:31 PM
#2
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
-
April 28th, 2003, 10:44 PM
#3
thanks paul for your help...........I am gonna check this out
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|