I want to make a program..

but I'm a bit new to C++, and I'm experimenting.

What I'd like to start off with is a program that can do the following:

- Ask the user how many integers they will be using (we can call this "N")
- Allow the user to input "N" integers
- Calculate the Sum of all integers entered.

Example:
How many integers would you like to add? 7
Enter your 7 integers: 1, 2, 5, 6, 13, 22, 100
Your sum is: 149

Could someone help me out with this?
I've been searching for someone who has something similar, and this was the closest way I could find, though I don't know how to implement it:

http://www.cplusplus.com/forum/beginner/213/
Topic archived. No new replies allowed.