opening file

Mar 14, 2013 at 7:04am
can we open a file in c++ using a variable(either character or int)?
please tell the syntax if that can be done.
thanks.
Mar 14, 2013 at 7:40am
Topic archived. No new replies allowed.