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
Read a tag and cout the value?
Read a tag and cout the value?
Mar 5, 2013 at 7:01pm UTC
lmsmi1
(156)
Say I have a text file containing this:
[OPS] somestring;
The
[OPS]
is a tag,
somestring
is the text that needs to be printed on the console screen, and
;
terminates the string and causes the console to
endl
. How do I do this via ifstream?
Last edited on
Mar 5, 2013 at 7:04pm UTC
Topic archived. No new replies allowed.