extracting numerical values

In your opinion, what is the best way to extract numerical values from the user:

stringstream, or string conversion functions(atof, atoi, strtod, ect...).

Thanks.
are you going to have to convert these values to a different type? like will you be converting the imported numbers (int) to a string or character later?

If you are going to keep it as an int always, I would just do this

int x;
cin >> x;

Topic archived. No new replies allowed.