Hi guys. I'm beginner in programing. I must write C++ program,
but after 5 days reading in Google now I'm very confused(my hеad will explode).
The problem is:
Write a program to find the roots of quadratic equation(MFC AppWizard -> dialog based).
Requirements:
1.use windows form(at least one button and four edit boxes)
2.use class and 1-2 objects in the class
I wrote some code, but it doesn't work.
I'll be very happy, if anyone help me.
mncoc
0
Newbie Poster
Recommended Answers
Jump to Postshow some code please
Jump to PostI can give ye' some help with solving a quadratic equation in c++, but I have no help for ye' when it comes to MFC. I could even help you solve the equation symbolically as opposed to a close decimal approximation.
Jump to PostHey , for finding roots of a quadratic equation , you can use the general formula..
r1 = (- b + sqrt(d)) / (2 * a) ;
r2 = (- b - sqrt(d)) / (2 * a) ;equation : ax² + bx + c = 0
r1,r2 …
All 9 Replies
richieking
44
Master Poster
Clinton Portis
211
Practically a Posting Shark
mridul.ahuja
4
Coding Enthusiast
mncoc
0
Newbie Poster
aKiLa.. :)
0
Newbie Poster
adityatandon
23
Junior Poster in Training
mncoc
0
Newbie Poster
LRRR
9
Junior Poster in Training
mncoc
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.