Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: GCDEF

Page 1 of 80 1 2 3 4

Search: Search took 0.20 seconds.

  1. Re: [Help] Wininet Aplication does not Send to php File.

    You need to understand what I said in post number 2 and 2kaud said in post number 3. The variables you're inputting data to are not the same variables you're outputting. A variable declared inside...
  2. Re: [Help] Wininet Aplication does not Send to php File.

    Your variable compName in function compName() is not the same variable as compName in sendPCInfo(). Same problem with the others.

    FWIW, I wouldn't recommend giving variable and functions the same...
  3. Replies
    4
    Views
    264

    Re: Drawing a rubber band rectangle

    That would probably make more sense. Typically you want your drawing in the view class.
  4. Replies
    4
    Views
    264

    Re: Drawing a rubber band rectangle

    m_tracker is a member of CSampleView. You're accessing it as if it were a member of CSampleDoc.
  5. Replies
    19
    Views
    548

    Re: Dialog Window Property Question?

    The piece you seem to be missing here is the difference between a HWND and a CWnd or CWnd*. Windows keep track of its resources, so a HWND is the identifier that you would would supply or get from...
  6. Re: Problem With Sleep() When drawing ananalog clock

    Yes. It won't be accurate and as I've said several times, and others have intimated, you'll need a loop.

    Get time
    Display time
    Sleep
    Repeat
  7. Re: Problem With Sleep() When drawing ananalog clock

    I think we need to keep in mind that this is an academic exercise. I don't think it really matters if it's not entirely accurate. Given that sleep will block the thread for approximately the...
  8. Re: Problem With Sleep() When drawing ananalog clock

    Start here
    http://msdn.microsoft.com/en-us/library/windows/desktop/ms632592%28v=vs.85%29.aspx

    I believe your initial problem is because you don't have a loop, or it may just be that your program...
  9. Re: Problem With Sleep() When drawing ananalog clock

    Not really. What's being said is that sleep will work, but it's not good programming practice. You'd be better to have a timer fire every second to update your clock than to use sleep which...
  10. Re: Problem With Sleep() When drawing ananalog clock

    Maybe I'm missing something, but shouldn't there be some kind of loop in there?

    And I agree with VictorN, I'd be using a timer.
  11. Replies
    3
    Views
    330

    Re: Windows Program UI

    If you've tried C++ and you're getting nowhere, you may want to go to another language that's a bit further removed from the Windows API and syntactically a little simpler such as VB and C#. If you...
  12. Re: MFC Proper usage of sending message to dialog to activate

    Why not just create a function to populate the list and call it directly. No need for a message.
  13. Replies
    8
    Views
    356

    Re: C++ tictactoe against computer

    That's not debugging. Debugging is using the debugger to watch your program running to see what it's doing and why. It's what any of us would use to solve your problem, but since we don't have...
  14. Replies
    21
    Views
    1,966

    Re: Trouble updating a recordset......PLS HELP

    I'm guessing after almost 11 years, he's probably moved on.
  15. Replies
    7
    Views
    459

    Re: My code is going out of bounds

    Given that you had to ask how to debug an array out of bounds question, your preferred debugging method isn't really of much interest. You've got some seriously good and experienced programmers...
  16. Re: Creating a good computer AI for a tic tac toe game.

    This isn't really an AI problem. The game is pretty simple. You just need to define the rules. First look to see if you can win. Second see if the user's about to win and block him. If neither...
  17. How do I write a text file on an Android phone

    Hi, I've been writing Windows C++ code forever, and all I want to do is have my app write a simple text file on an Android phone. At this point I don't care if it's internal or external storage. I...
  18. Replies
    14
    Views
    840

    Re: Visual C++ 6.0 for Notepad

    Why not just rename it?

    You could always just read the file and put it into the clipboard yourself. There's no need to automate notepad just to read a text file.
  19. Thread: Classes

    by GCDEF
    Replies
    9
    Views
    570

    Re: Classes

    Give it a name.


    Creature::Creature(string NameOfCreature)
    {
    CreatureName = NameOfCreature;
    }
  20. Thread: Classes

    by GCDEF
    Replies
    9
    Views
    570

    Re: Classes

    public:
    Creature(string);


    You've defined the constructor, but you haven't implemented it.
  21. Thread: Classes

    by GCDEF
    Replies
    9
    Views
    570

    Re: Classes

    Post the code you have now.
  22. Replies
    5
    Views
    321

    Re: need help with timer in CDoument

    Not likely people are going to download zip files of unknown origins. Just based on your title, WM_TIMER messages are handled by windows, not documents.
  23. Replies
    15
    Views
    719

    Re: Need help with a structure

    You're doing what a lot of beginners do, which is writing code without understanding what you're trying to do. The first thing to do is plan the necessary steps.

    1) Prompt for a name.
    2) Read a...
  24. Replies
    15
    Views
    719

    Re: Need help with a structure

    Keep in mind, the computer will do things in the order you tell it to. You're assigning a letter to grade, but you haven't yet given grade a value.

    I would think you'd want to get the user to...
  25. Replies
    15
    Views
    719

    Re: Need help with a structure

    Could you please answer the question I asked. Your requirements aren't clear yet.
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center