I would probably change the line
if (passwdOne == "yourpasswordhere") {
cout << endl << "stuff goes here" << endl;
}
code to comparing individual characters:
bool result;
Type: Posts; User: KyussRyn
I would probably change the line
if (passwdOne == "yourpasswordhere") {
cout << endl << "stuff goes here" << endl;
}
code to comparing individual characters:
bool result;
Novacain, thanks for the code.
I am still not getting it though. Let me try and help myself by further explaining. I realised the mistake in my code that CMainDlg was the Parent and that was not...
DaveH, Thank you for your prompt reply. I have put the GetParent() in OnActive in COptionDlg.cpp as a test using the line:
CWnd* pParent = COptionDlg::GetParent();
but when I then try:...
I am probably going about this the wrong way but I have been searching the web for about 1 week off and on and I can't think for the life of me how to solve this.
Problem:
I have an 'Options'...
buf = (LPTSTR)GlobalAlloc(GPTR, 2*(len + 1));
buf1 = (LPWSTR)GlobalAlloc(GPTR, 1024);
I have just had a quick look and I wont say I am any good with c++ but you are using LPTSTR and LPWSTR...
Laserlight, thank you and you are right. I just read the book incorrectly. Thank you for your prompt response to my question to much appreciated.
One small addition to this is in relation to...
Hello all,
This is my first post and I am a complete novice at C programming. I am trying to teach myself C programming and using "Programming in C" by Stephen G. Kochan 3rd Ed. My problem is...