question about files

hi every body,
how to take the input values from a file and then make any operations on them like adding or subtracting,

i want to take values from the file not just as characters
Working in C or C++?
working on c++
Topic archived. No new replies allowed.