Question: c + + : how do you display text file into c + + output? no vector usage. using a text file of a menu

c++: how do you display text file into c++ output?
no vector usage.
using a text file of a menu that is separated by ;
pizza;2.00
sandwich; 3.00
salad; 3.00
soda; 1.00
how do i display the contents of text file onto the program without ";"
I can't seem to get it to work, it shows as a single line.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!