Search:

Type: Posts; User: KyussRyn

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    943

    I would probably change the line if...

    I would probably change the line

    if (passwdOne == "yourpasswordhere") {
    cout << endl << "stuff goes here" << endl;
    }

    code to comparing individual characters:


    bool result;
  2. Replies
    5
    Views
    5,436

    Novacain, thanks for the code. I am still not...

    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...
  3. Replies
    5
    Views
    5,436

    More information on GetParent()

    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:...
  4. Replies
    5
    Views
    5,436

    Sharing a variable between CPropertyPage's

    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'...
  5. Replies
    9
    Views
    1,601

    buf = (LPTSTR)GlobalAlloc(GPTR, 2*(len + 1));...

    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...
  6. Replies
    7
    Views
    11,590

    I am an idiot

    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...
  7. Replies
    7
    Views
    11,590

    True Beginner - Pointer/Array For loops

    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...
Results 1 to 7 of 7