hi iface aproblem in c program
i want to write aprogram to read R={(1,2),(2,1),(3,3),......}
then covert it to matrix0/1
please help me quickly

Recommended Answers

All 3 Replies

hi iface aproblem in c program
i want to write aprogram to read R={(1,2),(2,1),(3,3),......}
then covert it to matrix0/1
please help me quickly

You need to performulate. Don't understand. You need arrays of rows?

Indeed, it's not clear what you want. If you need to make program to perform some kind of matrix calculation, why not using two dimensional array defined something like this:

int matrix[10][10];

This code will create matrix 10 x 10 (10 rows and 10 columns).
I can give you example of matrix multiplication but you need to explain what you want to do first.

Member Avatar for iamthwee

>then covert it to matrix0/1

huh? Do you mean inverse?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.