cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Quick question.
Quick question.
Feb 28, 2014 at 11:58pm UTC
BenZole
(2)
[Solved]
Last edited on
Mar 2, 2014 at 1:25am UTC
Mar 1, 2014 at 7:24am UTC
MiiNiPaa
(8886)
What do you mean by
call a file from a function besides main()
Files are not functions, they cannot be called.
If you want to not read anything which already was read, use only one fstream/FILE* pointer and pass it by reference to other functions which will access that file.
Topic archived. No new replies allowed.