Код: Выделить всё
#include
#include
using namespace std;
#include
#include
void writeFile(string name, string surname, double final)
{
string finalBill = std::to_string(final);
std::ofstream MyFile(name + "order.txt");
enter code here
if (!MyFile.is_open())
{
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79130908/does-anyone-know-why-it-is-jumping-directly-to-the-if-price-0-statement-and[/url]
Мобильная версия