Create a graphical (not text-based) Visual C++ program that allows the user to enter the coefficients for a system of four equations with four unknowns. Include a button that when clicked, will solve the system of equations and display the results in one or more text boxes.
Use Text Boxes and this code:
double num1, num2, num3;
String^ str1;
String^ str2;
String^ str3;
str1 = textBox1->Text;
str2 = textBox2->Text;
num1 = Convert::ToDouble(str1);
num2 = Convert::ToDouble(str2);
num3 = num1 + num2;
str3 = Convert::ToString(num3);
textBox3->Text = str3;