cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Coding without Standard Libraries
Coding without Standard Libraries
Apr 27, 2014 at 6:51pm UTC
JasonMcG
(107)
If I have to read in a text file i would usually use the fstream class. However if I am not allowed to use any standard libraries, how would I go about reading in a text file?
Apr 27, 2014 at 6:53pm UTC
Peter87
(11234)
Use a non-standard library.
Apr 27, 2014 at 6:54pm UTC
JasonMcG
(107)
What is a non standard library?
Apr 27, 2014 at 7:07pm UTC
Peter87
(11234)
When you said "Standard Libraries" I assumed you meant the C++ Standard Library, so what I meant was that you should use some other library, like Boost:
http://www.boost.org/doc/libs/1_55_0/libs/iostreams/doc/home.html
Maybe that's not what you want... ?
Apr 27, 2014 at 7:18pm UTC
JasonMcG
(107)
No but thanks anyways
Topic archived. No new replies allowed.