In C++, use a void() and switch case for the command menu to delete a specific line from the textfile icecream.txt.
CONSOLE
command:delete
cout<"what icecream="" do="" you="" want="" to="" delete="" from="" the="" text="">"what>
cin >> chocolate;
cout <>
Chocolate is now removed/deleted from the text file.
icecream.txt
chocolate $15
vanilla $12
strawberry $8
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here