İ dont know anything about file IO.if you have any idea how can write a c++ program to my hw pls share your ideas.homework is in the attchement.
c++34
0
Newbie Poster
Recommended Answers
Jump to Post>İ dont know anything about file IO
That's nice, so what are you going to do about it? If you said "Post to Daniweb and hope someone does my homework for me", you get a slap on the wrist. If you said "Open my book and try to figure it …
Jump to Post>no,you are wrong.
Prove it.>i've tried lots of time.
I don't see your attempts. All I see is a problem description. Where are the "lots of time" you've tried?>if you dont want to help pls dont depress others.
I (and anyone else qualified to answer questions …
Jump to Post>Slap on the wrists
>free cookies
Where do I sign up? ;)
Jump to PostFrom your assignment, it looks as if you have to use char arrays for this. Personally, I'd prefer using std::strings, however, there's no point discussing them if they're not to be used.
So you separate each line of the text into a const char array.
Then you would …
All 14 Replies
Narue
5,707
Bad Cop
Team Colleague
c++34
0
Newbie Poster
Nedals
0
Light Poster
Narue
5,707
Bad Cop
Team Colleague
iamthwee
c++34
0
Newbie Poster
iamthwee
Narue
5,707
Bad Cop
Team Colleague
c++34
0
Newbie Poster
c++34
0
Newbie Poster
Narue
5,707
Bad Cop
Team Colleague
c++34
0
Newbie Poster
Narue
5,707
Bad Cop
Team Colleague
c++34
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.