can any body tell me a udf program in c++ which accepts a squared integer matrix with odd dimensions(like 33,55....) & display the sum of the middle row and middle column elements.
please help me if you can................
Jump to Post
well as for the "mathametical" question:
if you have 5 rows it shows in c++ as 0-1-2-3-4
so you need to get the '2' row which can be done by just dividing by 2 (5 / 2 =2 - if you are using integers)
another example if there are 3 …
All 5 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.