Click here to Skip to main content
15,886,362 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: _open generate "Access is denied" error Pin
_Flaviu4-Sep-19 0:29
_Flaviu4-Sep-19 0:29 
GeneralRe: _open generate "Access is denied" error Pin
Victor Nijegorodov4-Sep-19 1:58
Victor Nijegorodov4-Sep-19 1:58 
GeneralRe: _open generate "Access is denied" error Pin
_Flaviu4-Sep-19 9:01
_Flaviu4-Sep-19 9:01 
GeneralRe: _open generate "Access is denied" error Pin
Victor Nijegorodov4-Sep-19 9:09
Victor Nijegorodov4-Sep-19 9:09 
GeneralRe: _open generate "Access is denied" error Pin
leon de boer4-Sep-19 15:03
leon de boer4-Sep-19 15:03 
GeneralBacktracking in C. Pin
Washiko31-Aug-19 20:23
Washiko31-Aug-19 20:23 
GeneralRe: Backtracking in C. Pin
Richard MacCutchan31-Aug-19 20:57
mveRichard MacCutchan31-Aug-19 20:57 
GeneralRe: Backtracking in C. Pin
Stefan_Lang3-Sep-19 4:52
Stefan_Lang3-Sep-19 4:52 
Washiko wrote:
A + E + B is not valid

I don't see why not. Above the condition was stated that
Washiko wrote:
a coalition of More than 60 must be negotiated

which means neither A+E nor A+B or B+E would be enough - all three are needed to get more than 60.

As for your program, if you don't know what backtracking means, look up recursion and backtracking. There's nothing difficult about coding these concepts in C. If you do know what it means, write a program and, if at any point you're stuck, show the code you're stuck with.

We don't write full programs for other people on request. If it's homework, we'd do you a disfavor by destroying a chance for you to learn. If it's work, you'd get paid, and you can't expect from others to do that work for you without payment. If it's a contest, it's part of the contest to find out how to write the program - if others do it for you it tells nothing about your skills, and it would be unfair to the other contestants.
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)

QuestionWhere are the setting in the Intel Manageability Commander for TLS configuration? Pin
Member 1406801930-Aug-19 3:47
Member 1406801930-Aug-19 3:47 
AnswerRe: Where are the setting in the Intel Manageability Commander for TLS configuration? Pin
Richard MacCutchan30-Aug-19 4:53
mveRichard MacCutchan30-Aug-19 4:53 
QuestionCString to const char* Pin
_Flaviu29-Aug-19 22:48
_Flaviu29-Aug-19 22:48 
AnswerRe: CString to const char* Pin
Victor Nijegorodov29-Aug-19 22:55
Victor Nijegorodov29-Aug-19 22:55 
GeneralRe: CString to const char* Pin
_Flaviu29-Aug-19 23:08
_Flaviu29-Aug-19 23:08 
GeneralRe: CString to const char* Pin
_Flaviu29-Aug-19 23:31
_Flaviu29-Aug-19 23:31 
GeneralRe: CString to const char* Pin
Victor Nijegorodov29-Aug-19 23:40
Victor Nijegorodov29-Aug-19 23:40 
GeneralRe: CString to const char* Pin
_Flaviu29-Aug-19 23:56
_Flaviu29-Aug-19 23:56 
GeneralRe: CString to const char* Pin
Victor Nijegorodov30-Aug-19 0:08
Victor Nijegorodov30-Aug-19 0:08 
GeneralRe: CString to const char* Pin
_Flaviu30-Aug-19 0:17
_Flaviu30-Aug-19 0:17 
GeneralRe: CString to const char* Pin
Victor Nijegorodov30-Aug-19 0:26
Victor Nijegorodov30-Aug-19 0:26 
GeneralRe: CString to const char* Pin
_Flaviu30-Aug-19 1:06
_Flaviu30-Aug-19 1:06 
GeneralRe: CString to const char* Pin
Richard MacCutchan30-Aug-19 2:40
mveRichard MacCutchan30-Aug-19 2:40 
QuestionRe: CString to const char* Pin
David Crow10-Sep-19 4:32
David Crow10-Sep-19 4:32 
GeneralRe: CString to const char* Pin
_Flaviu30-Aug-19 0:02
_Flaviu30-Aug-19 0:02 
GeneralRe: CString to const char* Pin
Richard MacCutchan30-Aug-19 0:57
mveRichard MacCutchan30-Aug-19 0:57 
Questioncpplinq - How to use the aggregate function - Get longest string a string array Pin
Mc_Topaz27-Aug-19 22:24
Mc_Topaz27-Aug-19 22:24 

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.