Sorry, I must have done something when I copied. Here's the correct one I'm using...
void CMainDlg::OnButton1()
{
UpdateData(TRUE);
// if ( !test_input_validity(decimalValue) )
// return 101;
int decimalValue = m_nScannedValue;
int requiredGroup;
int numberOfOnes = 0;
while...
I wrote the program initially for console. The contents of the onButton1 method should add an element to a linked list. It WORKS in the console. All I did was to copy the contents of the console function to the onButton1 method. I also copied the structure definition and the declaration of...
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.