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

  1. Thread: C++ problem

    by GCDEF
    Replies
    1
    Views
    167

    Re: C++ problem

    Start at the beginning. Implement step 1.

    Beyond that you'll need more specific questions. We can't teach you how to program in a bulletin board message. I assume your instructor and your book...
  2. Re: Problems traversing both ways in a doubly linked list

    Are you calling srand anywhere?
  3. Replies
    8
    Views
    237

    Re: global char type array initializing problem

    Teaching? Really?
  4. Thread: copy and unlink

    by GCDEF
    Replies
    4
    Views
    179

    Re: copy and unlink

    Move is more efficient, but it won't work across drives.
  5. Thread: Data strucures

    by GCDEF
    Replies
    4
    Views
    223

    Re: Data strucures

    We don't answer homework questions here.

    Why not write a little program and find out?
  6. Replies
    5
    Views
    172

    Re: segmentation fault

    Look at the values in the variables. See if you're stepping off an array somewhere or you have a bad pointer.

    You have a lot of arrays and pointers, and you didn't post a complete program, so...
  7. Replies
    5
    Views
    172

    Re: segmentation fault

    Run it in the debugger.
  8. Re: Datatype Trouble In My Password Guessing Program

    I explained earlier what the algorithm should be doing. There should be nothing in there that's character position specific such as hardcoded index values or switch statements. I'm not going to...
  9. Re: Datatype Trouble In My Password Guessing Program

    I don't know how many more ways to say it. Your code doesn't make sense. You need to throw away what you have, write out pseudo-code then implement something that will work.
  10. Re: Datatype Trouble In My Password Guessing Program

    It's your approach that makes no sense to me. Not sure why you have a switch statement or why you'd even think anybody would generate random passwords or be concerned about duplicates. The...
  11. Re: person::person(const person &)' : cannot convert parameter 1 from 'int' to 'const

    I'll add that code like this is horrible


    person(string name, int age){
    this->name = name;
    this->age = age;

    Never give function argument variables the same as class member variables....
  12. Re: person::person(const person &)' : cannot convert parameter 1 from 'int' to 'const

    You need a ; following the closing brace of your class definition.
  13. Re: Datatype Trouble In My Password Guessing Program

    As I said, your approach is unclear, but a real password hacker can't identify correct characters one at a time, and it doesn't know the length of the password it's trying to hack. You'd have to try...
  14. Thread: Link error

    by GCDEF
    Replies
    5
    Views
    1,834

    Re: Link error

    One of the mysteries of the universe that I'll never understand is first time posters bumping old threads on this forum. After 14 years, I'm guessing the OP has moved on to other things by now.
  15. Re: Datatype Trouble In My Password Guessing Program

    laserlight correctly pointed out that your logic makes little to no sense. Can you explain in English what your thought process is regarding your approach.

    kjsisco makes a valid point too. You're...
  16. Re: win32 : ftp connection from textfield (builder and stub)

    You still haven't stated your problem in a way that makes much sense, which makes me think you should probably sit down with a good book and get up to speed on the basics. As Victor mentioned,...
  17. Re: win32 : ftp connection from textfield (builder and stub)

    Even with two threads, I have no idea what you're asking.

    " I want the second file which is loaded from resource to use the ftp from the main program (builder and stub) issue here..."

    That...
  18. Replies
    12
    Views
    320

    Re: Set Flag in PropertyPage

    Exactly. Use the debugger to let you know whenever the flag value changes then use the call stack to see you how got there.
  19. Thread: Vs2005 -> vs2013

    by GCDEF
    Replies
    11
    Views
    371

    Re: Vs2005 -> vs2013

    Do you have a question?
  20. Re: How to change the client area icon during runtime

    It's not that difficult. Here's an OnSetCursor function from one of my programs.


    BOOL CZoomView::OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message)
    {
    if (nHitTest != HTCLIENT)
    return...
  21. Replies
    24
    Views
    568

    Re: Functionality of a function?

    You're coding without thinking. Think of how a list works, what parameters you're receiving, how you need to set them and under what circumstances you need to set them. Don't write code until you...
  22. Re: Having trouble initializing array in constructor?

    if (play == 0)
    {
    arrayPlay[0][0] = moveP;
    }
    else if (play == 1)
    {
    arrayPlay[0][1] = moveP;
    }
    else if (play == 2)
    {
  23. Re: Having trouble initializing array in constructor?

    You need to learn how to use for loops. Your code would be a bit impractical if your arrays had thousands of elements.

    Your setGame function could be written in one line as
    arrPlay[play /...
  24. Re: Getting exceptions on Windows 7 and Windows 8 on different parts of the Code

    You could start by figuring out what the exceptions are. Nobody here can help you given the lack of details.
  25. Replies
    2
    Views
    264

    Re: Can't understand the question

    God is a class you'd write yourself. They've told you what the members should be.

    add_ordered() is a function you'd add to the Link class that would insert your new God object in the list so...
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