473,657 Members | 2,477 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Add row to irregular matrix?

3 New Member
//matrix :
Expand|Select|Wrap|Line Numbers
  1. 12 5 35 35 35 65 170
  2. 48 15 190 85 27 27 24
  3. 100 315 119 600 116 129 70
  4. 88 110 145 90 90 90 90
  5. 77 85 130 55 210 122 200
  6.  
// the row :
Expand|Select|Wrap|Line Numbers
  1. 152 152 149 155 170
  2.  
// matrix after adding the previous row :
Expand|Select|Wrap|Line Numbers
  1. 12 5 35 35 35 65 170
  2. 48 15 190 85 27 27 24
  3. 100 315 119 600 116 129 70
  4. 88 110 145 90 90 90 90
  5. 77 85 130 55 210 122 200
  6. 152 152 149 155 170
  7.  
**NOTE : I'm beginner in c++ and in the uni. we use the pointer.

- Can I print out the irregular matrix?
Apr 7 '13 #1
4 1658
isimplyrefuse
3 New Member
that is just a try :

Expand|Select|Wrap|Line Numbers
  1. code solution deleted <weaknessforcats>
  2.  
Apr 7 '13 #2
weaknessforcats
9,208 Recognized Expert Moderator Expert
Please provide an explanation of what to do rather than post a solution someone else will have to figure out.

The explanation should allow the OP to write the code.

I would start by explaining the rules for adding rows to irregular matrices, then I would explain the coding steps to follow. That should allow the OP to write the code.
Apr 7 '13 #3
isimplyrefuse
3 New Member
still waiting for help!
Apr 11 '13 #4
weaknessforcats
9,208 Recognized Expert Moderator Expert
Did you not get my private message ?
Apr 12 '13 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
2253
by: Jeff Thur | last post by:
I am trying to run a stored procedure on SQL Server 2000 from ASP Web Matrix. When I insert the line at the top of the code page, Imports Sql.Data.SqlClient I keep getting the following message: "BC30465: 'Imports' statements must precede any declarations." For the life of me, I can't figure this out. Am I doing something wrong? Can you run Sql 2000 stored procedures from ASP Web Matrix? Please Help. Thanks................
14
7922
by: Joseph | last post by:
I am trying to create a function that allocates memory for the matrix through a function; like the code below. However, this does not seem to work since I believe that the scope of the memory allocation only lasts within the create function. Is there anyway around this? Thanx in advance. I also DON'T want to declare int **matrix globally. int main(void) { int **matrix;
7
3308
by: | last post by:
I fail to understand why that the memory allocated in the void create(int **matrix) does not remain. I passed the address of matrix so shouldn't it still have the allocated memory when it returns to main. The problem i am having is understanding why the printf statement in the code below gives the value. I would have expected it to be 123 which is the value I set it to in the create. Thanx in advance. void create(int **matrix); int...
6
25197
by: vishnu mahendra | last post by:
hello to all, can any one please give me an algorithm to find inverse of a matrix of order n rows and m columns. thank you in advance, vishnu.
0
977
by: boopsboops | last post by:
Hello thescripts readers, I have a bitmap consisting of an irregular figure on a transparent background. I'd like to convert the figure's boundary into a graphics path. Can anyone suggest an efficient way to do this? The aim is to use the path for (among other things) drawing an outline round the image with a GDI+ pen. I guess there must be a method which examines every pixel in the image for how many transparent neighbours it has, though...
0
1407
by: StephenLiversidge | last post by:
Hi im having a problem with my wsdl, It generates perfectly and I can create the objects needed from the contract perfectly. The problem comes when I try to pass the object back into the getInitialAvailability function so that I can get the response back. Heres the error im gettting. System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: http://v2_0.soap:getInitialAvailabilityRequest. ...
3
6951
by: Bobby Edward | last post by:
I had a simple admin form for "Categories"... Details View: To INSERT new Category Grid View: To View, Edit and Delete all Categories I decided to put the INSERT Details View inside of a ModalPopupExtender. PROBLEM 1: Dragging a ModalPopupExtender control to my webform gives me a gray box in Design View:
2
3875
by: zceef05 | last post by:
I want to know how we could convert an image into an array of numbers. Furthemore coud you pleezzzzz tell me how we cud rotate this matrix ( please note te commands of java shud be rotating the matrix by 90 degrees) this shud eventually rotate the image too. Pleezz reply as early as possible pleezzz.
4
6649
by: Tosh2pointO | last post by:
Hello, I'm trying to write a program that calculates up to a 1024 x 1024 matrix using multi-threading. For example, I need to run a 1024 x 1024 using 256, 64, 16 or 4 threads. Or I need to run a 64 x 64 matrix using 16 or 4 threads. All the Matrices are square. I thought I coded my program correctly, however I get a segmentation fault when I use a 720 x 720 matrix or higher, heres the code. #include <iostream> #include <stdio.h> #include...
0
8421
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8325
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8742
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8518
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7354
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6177
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5643
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
1734
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.