What is the vector representation of an integer or variable?

Apr 19, 2016 at 3:31am
How would I represent ++N in its vector form?

Apr 19, 2016 at 3:39am
1
2
// a vector containing the individual digits of a positive integer.
std::vector<int> i = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 9, 9, 9, 9, 9 } ; // integer: 123456789099999 
Apr 19, 2016 at 3:39am
maybe something like: vec.push_back() ?
Topic archived. No new replies allowed.