Click here to Skip to main content
14,209,009 members

C / C++ / MFC

 
QuestionWrite in registry Pin
_Flaviu13-Mar-19 0:04
member_Flaviu13-Mar-19 0:04 
AnswerRe: Write in registry Pin
Richard Deeming13-Mar-19 1:41
mveRichard Deeming13-Mar-19 1:41 
GeneralRe: Write in registry Pin
_Flaviu13-Mar-19 3:53
member_Flaviu13-Mar-19 3:53 
Questioninline question Pin
Rw23712-Mar-19 12:52
memberRw23712-Mar-19 12:52 
AnswerRe: inline question Pin
CPallini12-Mar-19 21:48
mveCPallini12-Mar-19 21:48 
QuestionC code for fourth degree polynomials Pin
Member 1417766810-Mar-19 19:45
memberMember 1417766810-Mar-19 19:45 
AnswerRe: C code for fourth degree polynomials Pin
Victor Nijegorodov10-Mar-19 22:27
memberVictor Nijegorodov10-Mar-19 22:27 
AnswerRe: C code for fourth degree polynomials Pin
leon de boer12-Mar-19 3:56
memberleon de boer12-Mar-19 3:56 
For maths, numerical recipes and wolfram is always the goto
GitHub - sasamil/Quartic: Solving algebric equation of 4th order. Fast and efficient. C++ implementation.[^]
Read the docx file to understand it but it sort of follow this form
Math Forum - Ask Dr. Math[^]
The code isn't great like returning an allocated memory block ... I would rework it.

You can solve them online on wolfram .. try an example like
solve x^4 + 12*x^3 + 7*x^2 + 2*x + 12 = 0
https://www.wolframalpha.com/input/?i=solve+x%5E4+%2B+12*x%5E3+%2B+7*x%5E2+%2B+2*x+%2B+12+%3D+0[^]
It's useful to check your code
In vino veritas


modified 12-Mar-19 10:26am.

QuestionUnexpected sequence of cout / perror in console output Pin
Vaclav_10-Mar-19 7:23
memberVaclav_10-Mar-19 7:23 
AnswerRe: Unexpected sequence of cout / perror in console output Pin
Richard MacCutchan10-Mar-19 22:52
protectorRichard MacCutchan10-Mar-19 22:52 
GeneralRe: Unexpected sequence of cout / perror in console output Pin
k505411-Mar-19 2:28
memberk505411-Mar-19 2:28 
GeneralRe: Unexpected sequence of cout / perror in console output Pin
Richard MacCutchan11-Mar-19 3:56
protectorRichard MacCutchan11-Mar-19 3:56 
GeneralRe: Unexpected sequence of cout / perror in console output Pin
k505411-Mar-19 5:41
memberk505411-Mar-19 5:41 
GeneralRe: Unexpected sequence of cout / perror in console output Pin
Richard MacCutchan11-Mar-19 5:52
protectorRichard MacCutchan11-Mar-19 5:52 
GeneralRe: Unexpected sequence of cout / perror in console output Pin
k505411-Mar-19 11:59
memberk505411-Mar-19 11:59 
GeneralRe: Unexpected sequence of cout / perror in console output Pin
leon de boer11-Mar-19 18:10
memberleon de boer11-Mar-19 18:10 
QuestionC Programming[Solved] Pin
Evolt_Pratom9-Mar-19 1:07
memberEvolt_Pratom9-Mar-19 1:07 
AnswerRe: C Programming Pin
Richard MacCutchan9-Mar-19 1:27
protectorRichard MacCutchan9-Mar-19 1:27 
GeneralRe: C Programming Pin
k50549-Mar-19 4:27
memberk50549-Mar-19 4:27 
GeneralRe: C Programming Pin
Richard MacCutchan9-Mar-19 5:16
protectorRichard MacCutchan9-Mar-19 5:16 
GeneralRe: C Programming Pin
Evolt_Pratom10-Mar-19 3:42
memberEvolt_Pratom10-Mar-19 3:42 
GeneralRe: C Programming Pin
Richard MacCutchan10-Mar-19 7:02
protectorRichard MacCutchan10-Mar-19 7:02 
Questiontemplate confusion Pin
Rw2377-Mar-19 13:00
memberRw2377-Mar-19 13:00 
AnswerRe: template confusion Pin
Rw2378-Mar-19 2:37
memberRw2378-Mar-19 2:37 
GeneralRe: template confusion Pin
Richard MacCutchan8-Mar-19 4:01
protectorRichard MacCutchan8-Mar-19 4: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.


Advertise | Privacy | Cookies | Terms of Service
Web01 | 2.8.190617.1 | Last Updated 17 Jun 2019
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid