Forum: C++ Dec 19th, 2006 |
| Replies: 2 Views: 816 I need to Construct a program that inputs the entries of two matrices and multiplies them. Construct the program so that it gives an error message if they cannot be multiplied.
What I have done so... |
Forum: C++ Dec 18th, 2006 |
| Replies: 2 Views: 3,903 Is this code compiling
#include <iostream>
usingnamespace std;
//Define the Matrix3X3 type.
typedefstruct
{
float index[3][3];
} Matrix3X3;
//Function prototypes (functions are defined... |
Forum: C++ Dec 13th, 2006 |
| Replies: 8 Views: 1,264 No it's not, and thats the problem, After I Build it and run it. It will input matrix A and then tell me to input Matrix B, after I put in numbers to Matrix B however after that its done. What am I... |
Forum: C++ Dec 12th, 2006 |
| Replies: 8 Views: 1,264 I'm still having trouble making this code work
#include <iostream>
using namespace std;
//Define the Matrix3X3 type.
typedef struct
{
float index[3][3]; |
Forum: C++ Dec 11th, 2006 |
| Replies: 8 Views: 1,264 I need to construct a C++ program where I input from the screen the entries of two 3x3 matrices A and B. My program then computes A-5B. The matrices should be declared as two dimensional arrays.
... |
Forum: C++ Dec 2nd, 2006 |
| Replies: 2 Views: 1,099 Given two spheres, I need to determine if a collision has occurred between them. I need to input the radii and the centers from the screen and use a double-valued function (outside of the main... |