Hello i am developing an MFC application in vc++ 6.0.I created one int variable(m_iEdit1) to the EditBox1 and one CString variable(m_strEdit2) to the EditBox2. I wanted to give the condition that two editbox must not be empty.
if(m_iEdit1==" ")
return;
if(m_strEdit2==" ")
return;
But the first condition will not work here i will get error error C2446: '==' : no conversion from 'char *' to 'int'
please tell me how to check an int Variable of EditBox is Empty or not.