Hi, im new too c++ and im writing a simple program that takes a tires make, size, cast etc. And prints out a few calculated results. I wrote the program on xcode it complies but when i run it it stops half way though and gives me a 11db error? When i try to debug it works fine and help please?
#include <iostream>
using namespace std;
class tire{
protected:
const char * make;
double cost, price;
int size;
public:
tire(const char * mk, double cst, int size);