cannot convert parameter 1 from 'char' to 'char *'
calcCharges(type_of_gas, &rate_of_gas, number_of_gallons, &total_gas_of_price, car_wash, &price_of_car_wash, &total_cost);
cannot convert parameter 1 from 'char' to 'char *'
calcCharges(type_of_gas, &rate_of_gas, number_of_gallons, &total_gas_of_price, car_wash, &price_of_car_wash, &total_cost);
Looks like it should work to me! :confused:
Well, and what's your problem? Are you sure that telepathy helps me to get the type_of-gas variable declaration and the calcCharges function signature?
It seems you have a very informative diagnostic message.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.