Click here to Skip to main content
15,891,248 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionExecute Shell Script and Batch Files Pin
AmbiguousName10-Sep-14 23:37
AmbiguousName10-Sep-14 23:37 
AnswerRe: Execute Shell Script and Batch Files Pin
Richard MacCutchan10-Sep-14 23:47
mveRichard MacCutchan10-Sep-14 23:47 
GeneralRe: Execute Shell Script and Batch Files Pin
AmbiguousName11-Sep-14 0:23
AmbiguousName11-Sep-14 0:23 
GeneralRe: Execute Shell Script and Batch Files Pin
Richard MacCutchan11-Sep-14 0:31
mveRichard MacCutchan11-Sep-14 0:31 
GeneralRe: Execute Shell Script and Batch Files Pin
AmbiguousName11-Sep-14 0:49
AmbiguousName11-Sep-14 0:49 
GeneralRe: Execute Shell Script and Batch Files Pin
Richard MacCutchan11-Sep-14 1:20
mveRichard MacCutchan11-Sep-14 1:20 
Questiondeterminant of matrix in c N*N dimension return process kill .I took from net can anyone help me out where exactly its making this issue and how to overcome this issue.As per my program i pass @dimensional matrix of order x=100; Pin
mybm110-Sep-14 20:06
mybm110-Sep-14 20:06 
AnswerRe: determinant of matrix in c N*N dimension return process kill .I took from net can anyone help me out where exactly its making this issue and how to overcome this issue.As per my program i pass @dimensional matrix of order x=100; Pin
Stefan_Lang11-Sep-14 2:51
Stefan_Lang11-Sep-14 2:51 
Check your compiler documentation on how to increase the stacksize. Very likely your program dies due to stack overflow. This tends to happen when you have very deep levels of function calls, and 100 levels of recursion qualifies as very deep!

Alternately, test your program with smaller matrices, say 10x10 rather than 100x100. If it works, it's a stack overflow issue.

To prevent stack overflow, the only safe method is to avoid recursion, i. e. you should transform your program into one that doesn't require recursion. Otherwise you need to set a maximum recursion level and a set a stacksize that is sufficient to run the program with the maximum defined recursion level; you should exit the program with an error message, if the input would lead to a recursion level exceeding the predefined maximum.
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)

GeneralRe: determinant of matrix in c N*N dimension return process kill .I took from net can anyone help me out where exactly its making this issue and how to overcome this issue.As per my program i pass @dimensional matrix of order x=100; Pin
mybm111-Sep-14 2:55
mybm111-Sep-14 2:55 
GeneralRe: determinant of matrix in c N*N dimension return process kill .I took from net can anyone help me out where exactly its making this issue and how to overcome this issue.As per my program i pass @dimensional matrix of order x=100; Pin
Stefan_Lang11-Sep-14 4:40
Stefan_Lang11-Sep-14 4:40 
GeneralRe: determinant of matrix in c N*N dimension return process kill .I took from net can anyone help me out where exactly its making this issue and how to overcome this issue.As per my program i pass @dimensional matrix of order x=100; Pin
mybm111-Sep-14 19:34
mybm111-Sep-14 19:34 
GeneralRe: determinant of matrix in c N*N dimension return process kill .I took from net can anyone help me out where exactly its making this issue and how to overcome this issue.As per my program i pass @dimensional matrix of order x=100; Pin
Stefan_Lang11-Sep-14 20:06
Stefan_Lang11-Sep-14 20:06 
GeneralRe: determinant of matrix in c N*N dimension return process kill .I took from net can anyone help me out where exactly its making this issue and how to overcome this issue.As per my program i pass @dimensional matrix of order x=100; Pin
mybm111-Sep-14 20:30
mybm111-Sep-14 20:30 
GeneralRe: determinant of matrix in c N*N dimension return process kill .I took from net can anyone help me out where exactly its making this issue and how to overcome this issue.As per my program i pass @dimensional matrix of order x=100; Pin
Stefan_Lang12-Sep-14 1:42
Stefan_Lang12-Sep-14 1:42 
QuestionReg. Printing Pin
murali_utr10-Sep-14 17:09
murali_utr10-Sep-14 17:09 
QuestionRe: Reg. Printing Pin
Richard MacCutchan10-Sep-14 21:01
mveRichard MacCutchan10-Sep-14 21:01 
Questionerror C2451: conditional expression of type 'std::_Tree_iterator<_Mytree>' is illegal Pin
kamal197710-Sep-14 8:30
kamal197710-Sep-14 8:30 
AnswerRe: error C2451: conditional expression of type 'std::_Tree_iterator<_Mytree>' is illegal Pin
Graham Breach10-Sep-14 8:36
Graham Breach10-Sep-14 8:36 
GeneralThank you Very Much Graham Breach! Pin
kamal197710-Sep-14 13:11
kamal197710-Sep-14 13:11 
QuestionStrange random behavior of TB_HIDEBUTTON on Win7 Notification Toolbar buttons Pin
Will580110-Sep-14 3:47
Will580110-Sep-14 3:47 
AnswerRe: Strange random behavior of TB_HIDEBUTTON on Win7 Notification Toolbar buttons Pin
Richard MacCutchan10-Sep-14 4:05
mveRichard MacCutchan10-Sep-14 4:05 
GeneralRe: Strange random behavior of TB_HIDEBUTTON on Win7 Notification Toolbar buttons Pin
Will580110-Sep-14 6:56
Will580110-Sep-14 6:56 
QuestionMATLAB C/C++ Pin
mohamed sabri8-Sep-14 7:18
mohamed sabri8-Sep-14 7:18 
AnswerRe: MATLAB C/C++ Pin
Kenneth Haugland8-Sep-14 8:02
mvaKenneth Haugland8-Sep-14 8:02 
QuestionIs Edit and continue support available for X64 application in VS2010 ? Pin
sma123#4-Sep-14 21:01
sma123#4-Sep-14 21:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.