I want to create a class that can read and write a sample to a stream, I will have to use overloading but I still haven't tackled that and still learning classes and vectors.
Well, a class is (usually) a representation of a real or abstract object type, such as "Person", "File", "AccountManager" or similar. Numbers seems a bit of a misnomer. What is an object of type "Numbers"? What can it do?
Perhaps you're looking for namespaces instead.
You lost me there, sorry I'm a complete newbie when it comes to programming and c++.
Well lets say I changed my class name to "sample" and my vector would have doubles instead of ints.
I also forgot to mention that the program would be given an input with a format:
< "number of elements" : element1(space) element 2(space) ... (space) element n>
This is what I have so far, (I only have bits and bobs on my code)
#include <iostream>
#include <vector>
using namespace std;