Sorry, but I didn't understand any of it... For the equation: z = z^2 + c I was able to calculate it like this:
r2 and i2 the user gives the values for
r and i are x and y values on a complex plain
r3 = (r2 * r2) + (-(i2 * i2));
i3 = (i2 * r2) + (i2 * r2);
r5 = r3 + r;
i5...
How would I program a complex equation such as:
z = z^2 + c, where 'z' and 'c' are: 'real' + 'imaginary' so
it would look like this: (r+i) = (r+i)^2 + (r+i)???
Please put it as simple as you can...
Thanks...
When I try to run a MFC Application program that I made with Visual C++ on a computer that does not have C++ installed on it, I get an error that says:
"A required .DLL file, MFC42D.DLL, was not found"...
How would I fix this error so I may be able to run my programs on other...
Most of my dialogs(15 dialogs) have about 10 variables(different name but same purpose)... There's is one that I use a lot that has about 50 variables... It's this one that takes up all my Resources(Memory). I go from dialog to dialog constantly...
Thanks.
I can't use delete Variable because they are not pointers... I have many variables and they use up too much of my resources... I need a way to save my resources so I do not run out of memory...
Thanks.
Because it is a ioperator shoudln't the arrow be '>>'??? I'm loading the information from the file to the variables...
I tried what you said to do; it did get rid of the error but the information does not get loaded...
Thanks.
How would I loop a *.mp3 file wih MCI???
This is my code:
//m_Forever is a Variable type HWND
m_Forever = NULL;
if (m_Forever == NULL)
{
m_Forever = MCIWndCreate(m_hWnd, AfxGetInstanceHandle(),
MCIWNDF_NOTIFYSIZE | MCIWNDF_NOERRORDLG |
WS_CHILD, NULL);
if (m_Forever !=...
I was able to save to a Binary .txt file by "overloading the operator"...This is in a MFC Application Dialog Based
But when I want to load the informaton back into the Variables I get an error in the istream operator:
************************************************************...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.