[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
C Programing
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /wsr/ - Worksafe Requests

Thread replies: 6
Thread images: 2
File: ass2.png (31 KB, 502x609) Image search: [Google]
ass2.png
31 KB, 502x609
I need to write a some C functions for a program.
A function that initializes a matrix with numbers 1.0, 2.0, .... nXn.
A function that prints the sums of each row
A function that prints the values on the diagonal. Only allowed a single loop
and a function that returns the minimum element of the matrix.

I have no idea what i am doing because the prof is awful and this is my second time in the class.
>>
even just the init_mat function would be a big help!
>>
>>46233
c89?
>>
>>46233
Just fire in, and if you have a specific problem, ask here.

There's not much point in asking "how do I do <entire homework exercise>", because you'll just be back next week.
>>
File: 3333.jpg (13 KB, 266x129) Image search: [Google]
3333.jpg
13 KB, 266x129
>>46233
Diagonal
>>
http://pastebin.com/jE9Eq9ax
Thread replies: 6
Thread images: 2

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.