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.21 seconds.

  1. Thread: Classes

    by GCDEF
    Replies
    9
    Views
    300

    Re: Classes

    Give it a name.


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

    by GCDEF
    Replies
    9
    Views
    300

    Re: Classes

    public:
    Creature(string);


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

    by GCDEF
    Replies
    9
    Views
    300

    Re: Classes

    Post the code you have now.
  4. Replies
    5
    Views
    200

    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.
  5. Replies
    15
    Views
    503

    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...
  6. Replies
    15
    Views
    503

    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...
  7. Replies
    15
    Views
    503

    Re: Need help with a structure

    Could you please answer the question I asked. Your requirements aren't clear yet.
  8. Replies
    7
    Views
    337

    Re: Visual C++ 6.0 for Notepad

    Notepad just uses text files. CStdioFile would work. I don't know if you can automate it or not.
  9. Replies
    15
    Views
    503

    Re: Need help with a structure

    What do you mean "the user puts a different name"? Do you need to get input from the user and find that name in the file?
  10. Replies
    12
    Views
    391

    Re: index position in array Issue

    I don't think it's us that's confused. Your original post said you want to find all positions. The assignment says you only need to find the first occurrence, and it appears you're doing that.
    ...
  11. Replies
    12
    Views
    391

    Re: index position in array Issue

    That's what you're telling it to do. You're starting at 0 each time. Since it's not really clear to me exactly what you're trying to do, I'd recommend figuring out the algorithm before writing...
  12. Thread: New Student Help

    by GCDEF
    Replies
    14
    Views
    319

    Re: New Student Help

    You really have to wonder what people are teaching these days. Using global variables and passing them by reference to a function seems pretty goofy.
  13. Replies
    16
    Views
    524

    Re: sort vector of objects on member variable

    If you really are only interested in the last element. you wouldn't need to sort anything. Just iterate the vector and find the result_holder with the lowest value.
  14. Replies
    12
    Views
    391

    Re: index position in array Issue

    What do you mean by that? A function can only return one value.
  15. Re: Help using .find_first_not_of to check true or false.

    That's an odd way to do it, and as mentioned, doesn't work.

    If it were me, I'd just check each character using isupper(), islower() and isdigit() and setting a flag when each is found.
  16. Thread: Creating Process

    by GCDEF
    Replies
    7
    Views
    302

    Re: Creating Process

    You need to be more specific. Communication and data sharing are different concepts. Read 2kaud's links and see if any of them point you in the right direction. If not, specify why not. It's not...
  17. Replies
    25
    Views
    965

    Re: C++ circular buffer

    Why would that indicate a full buffer?
  18. Replies
    1
    Views
    201

    Re: release build hangs at "Code Generation..."

    You already asked this question.
    http://forums.codeguru.com/showthread.php?548099-Help-Release-build-hangs-during-linking
  19. Replies
    3
    Views
    258

    Re: Child Window on top of control

    Can you set it to inactive when the other window is on top of it? How are you creating the child window?
  20. Replies
    20
    Views
    760

    Re: Matrix 4x4 in C++

    Didn't your class come with a text book?
  21. Replies
    20
    Views
    760

    Re: Matrix 4x4 in C++

    Cool. Have fun.
  22. Replies
    2
    Views
    228

    Re: Noob needs loop help - lstbox counter

    As Victor said, wrong language, but I don't see you counting anything. Doesn't SelectIndex give you the currently selected index, and not the string?
  23. Replies
    6
    Views
    574

    Re: Class of String Collections

    The question wasn't well asked. In Visual C++ there are at least three types of strings, and a dozen or more containers that can hold them.
  24. Replies
    7
    Views
    374

    Re: How long is your build?

    We are? I would think as hardware becomes faster and multi-core processors are everywhere, we'd be spending less time compiling. How long a build takes depends on what I'm building and what...
  25. Replies
    10
    Views
    478

    Re: Help: Release build hangs during linking

    One project or all?
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