Click here to Skip to main content
14,486,466 members

C / C++ / MFC

 
QuestionRe: Error in BSTR TagVariant After project Migration from VS2010 to VS2017 Pin
CPallini27-Mar-20 3:38
mveCPallini27-Mar-20 3:38 
Questionfatal error LNK1104: cannot open file 'errorStruct.lib' Getting error while compiling application Pin
Member 1326109427-Mar-20 2:12
MemberMember 1326109427-Mar-20 2:12 
SuggestionRe: fatal error LNK1104: cannot open file 'errorStruct.lib' Getting error while compiling application Pin
Richard MacCutchan27-Mar-20 3:03
mveRichard MacCutchan27-Mar-20 3:03 
Questionimplicitly deleted because a base class invokes a deleted or inaccessible function 'CDialog::CDialog(const CDialog &)' Pin
Member 1326109426-Mar-20 22:15
MemberMember 1326109426-Mar-20 22:15 
AnswerRe: implicitly deleted because a base class invokes a deleted or inaccessible function 'CDialog::CDialog(const CDialog &)' Pin
Stephane Capo26-Mar-20 22:50
MemberStephane Capo26-Mar-20 22:50 
GeneralRe: implicitly deleted because a base class invokes a deleted or inaccessible function 'CDialog::CDialog(const CDialog &)' Pin
Member 1326109426-Mar-20 23:26
MemberMember 1326109426-Mar-20 23:26 
QuestionHow to solve the problem with a simple algorithm? Pin
tianzhili439925-Mar-20 23:25
Membertianzhili439925-Mar-20 23:25 
AnswerRe: How to solve the problem with a simple algorithm? Pin
Greg Utas26-Mar-20 0:33
professionalGreg Utas26-Mar-20 0:33 
If I understand this correctly, you're looking for a unidirectional path from the first layer to the pth layer, a path that includes each layer only once.

I would start with the second layer. Assign each node its shortest distance from the first layer, and record the first layer node whose edge was selected. Then proceed through each layer in the same way: for each node, find its shortest distance from the nodes in the previous layer (the current weight of a previous node plus its edge to the current layer). Eventually you will find the shortest distances to nodes in the pth layer, and thus the shortest path to that layer.

AnswerRe: How to solve the problem with a simple algorithm? Pin
CPallini26-Mar-20 21:12
mveCPallini26-Mar-20 21:12 
GeneralRe: How to solve the problem with a simple algorithm? Pin
Stefan_Lang26-Mar-20 22:52
mveStefan_Lang26-Mar-20 22:52 
PraiseRe: How to solve the problem with a simple algorithm? Pin
CPallini26-Mar-20 23:16
mveCPallini26-Mar-20 23:16 
AnswerRe: How to solve the problem with a simple algorithm? Pin
Stefan_Lang26-Mar-20 22:47
mveStefan_Lang26-Mar-20 22:47 
Questionplz ans this program Pin
Member 1477930521-Mar-20 16:53
MemberMember 1477930521-Mar-20 16:53 
AnswerRe: plz ans this program Pin
Richard MacCutchan21-Mar-20 21:51
mveRichard MacCutchan21-Mar-20 21:51 
AnswerRe: plz ans this program Pin
Victor Nijegorodov22-Mar-20 0:42
MemberVictor Nijegorodov22-Mar-20 0:42 
QuestionRe: plz ans this program Pin
David Crow23-Mar-20 2:39
MemberDavid Crow23-Mar-20 2:39 
QuestionBaffling Error! Pin
Richard Andrew x6421-Mar-20 11:11
professionalRichard Andrew x6421-Mar-20 11:11 
AnswerRe: Baffling Error! Pin
leon de boer21-Mar-20 19:11
Memberleon de boer21-Mar-20 19:11 
AnswerRe: Baffling Error! Pin
Randor 22-Mar-20 3:20
professional Randor 22-Mar-20 3:20 
GeneralRe: Baffling Error! Pin
Richard Andrew x6422-Mar-20 4:40
professionalRichard Andrew x6422-Mar-20 4:40 
QuestionHow to make flowchart for matrix on C language? Pin
Member 1477750619-Mar-20 8:39
MemberMember 1477750619-Mar-20 8:39 
AnswerRe: How to make flowchart for matrix on C language? Pin
jeron119-Mar-20 11:10
Memberjeron119-Mar-20 11:10 
AnswerRe: How to make flowchart for matrix on C language? Pin
leon de boer19-Mar-20 15:09
Memberleon de boer19-Mar-20 15:09 
GeneralVC++ Error in Visual Studio 2017 After migration of application from VS2010 to VS2017 Professional Pin
Member 1326109416-Mar-20 20:35
MemberMember 1326109416-Mar-20 20:35 
AnswerRe: VC++ Error in Visual Studio 2017 After migration of application from VS2010 to VS2017 Professional Pin
OriginalGriff16-Mar-20 20:47
mveOriginalGriff16-Mar-20 20:47 

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.