I can't figure out how to convert my int value back to a string for use in a textbox. I already pulled it out converted it to int, did the equation now I just want to flip it back to display in a textbox.
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
int cost = Convert::ToInt32(costbuy->Text);
int amount = Convert::ToInt32(amountb->Text);
int costnow = Convert::ToInt32(nowcost->Text);
int frontcost = cost*amount;
int endcost = costnow*amount;
int makebreak = endcost-frontcost;
string makebreak1 = makebreak.ToString();
;
end->Text = makebreak;
}
It's a stock value calculator if that helps make sense of the code.