| | |
A chal;lenging debugging problem : NEW
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
![]() |
Hi every=one,
This is in continuation to my last post. Eve after initialising the 2d pointer a, as suggested, the same probllem as described earlier persists.
Plz help
-Jishnu.
Hello,
The code below calculates the determinant of the matrix. I know that the method of global 2-d pointers is a poor programming practice (so u don't need to reply saying that!!!), but it is a simple method for an amateur programmer. As the code didn't work, I set two watches,
(After giving the input as a 3x3 matrix with elements numbered from 1 to 9) one on e[k][l] & another on b[k1][l1]. To my surprise, b[k1][l1] got modified on its own inspite the fact that e[k][l] at k=1 and l=1 had the value of 5.
Somebody plz help me out.
-Jishnu.
This is in continuation to my last post. Eve after initialising the 2d pointer a, as suggested, the same probllem as described earlier persists.
Plz help
-Jishnu.
Hello,
The code below calculates the determinant of the matrix. I know that the method of global 2-d pointers is a poor programming practice (so u don't need to reply saying that!!!), but it is a simple method for an amateur programmer. As the code didn't work, I set two watches,
(After giving the input as a 3x3 matrix with elements numbered from 1 to 9) one on e[k][l] & another on b[k1][l1]. To my surprise, b[k1][l1] got modified on its own inspite the fact that e[k][l] at k=1 and l=1 had the value of 5.
Somebody plz help me out.
-Jishnu.
appears to be buffer overrun -- since you decided to start a whole new thread I can't see what you previously posted, and I'm too lazy to look. you need to post your code in THIS thread and not expect anyone to look in other threads for it.
I told Santa what I wanted for Christmas and he washed my mouth out with soap.
![]() |
Similar Threads
- Programming Problem (C++)
- A Challenging Debugging Problem (C)
- Making a log file global (C++)
- Urgent Pls Help: My codes are in errors! (C++)
- Urgent: I need Help in c++.net! (ASP.NET)
Other Threads in the C Forum
- Previous Thread: Helping with calling a function
- Next Thread: Product Of Even numbers [HELP]
Views: 966 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for C
#include .net ansi array arrays asterisks binarysearch calculate centimeter changingto char command convert copyimagefile cprogramme creafecopyofanytypeoffileinc database directory dynamic fflush file fork forloop framework functions getlasterror givemetehcodez grade graphics hacking hardware histogram homework inches include incrementoperators input iso kernel km lazy linked linkedlist linux linuxsegmentationfault list lists locate logical_drives looping loopinsideloop. lowest match matrix microsoft motherboard mysql number opendocumentformat opensource owf pattern pdf performance pointer pointers posix problem probleminc process program programming radix recursion recv research reversing scanf scripting segmentationfault sequential shape socket socketprograming spoonfeeding standard string strings structures student systemcall testing threads turboc unix user variable voidmain() wab windowsapi






