I have written my code and I want to replace the "," to space and I just can't seem to solve this problem. Can someone help me?
#include <iostream>
using namespace std;
int main()
{
    std::cout << "Please type if you want pickup or delivery: ";
    string address;
    string space;
    
    
    cin >> input;
    delivery = "d";
    pickup = "pickup";
    cheese = "c";
    random = "r";
    space = " ";
    fee1 = "10";
    fee2 = "15";
    fee3 = "20";
    
    
    if (input == "pickup")
    {
        cout << "What pizza do you want(press r for a random pizza and c for cheese pizza!): ";
        cin >> input;
    }
    else if (input == "d")
    {
        cout << "Tell me your adress and i will deliver a random pizza to ur house!(when you type your address, plz type it comma space, we will help you replace it with space) ";
        cin >> address;
        cin.ignore();
    }
   
 
    if (address.find(space))
    {
        string address = replace(",",space);
    }
}
 
     
     
    