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

Search:

Type: Posts; User: M2W

Search: Search took 0.03 seconds.

  1. Replies
    23
    Views
    2,208

    Re: Call Array Member in function Help

    I understand. Thanks for the info.

    So if I want some specific node, I can just go in order (like iterating) until I get there and once there, modify the contents. It makes sense. And since I have...
  2. Replies
    23
    Views
    2,208

    Re: Call Array Member in function Help

    Can you give me an example of how I would add a pointer to say Node 2, and how I would access it directly? If possible of course.

    Thank you.
  3. Replies
    23
    Views
    2,208

    Re: Call Array Member in function Help

    Thanks buddy.

    This was only part of the problem. But it was the biggest one for me by far since I am really behind on my C++. I am now much further ahead in my project thanks to this thread. Good...
  4. Replies
    23
    Views
    2,208

    Re: Call Array Member in function Help

    Yeah tell me about it. I agree with your points. It's actually a graduate course. I was admitted to it since I had an upper degree in pure mathematics so I guess they expect me to know how to code...
  5. Replies
    23
    Views
    2,208

    Re: Call Array Member in function Help

    Thanks Eri523. I'll work on your suggestions now, but will leave this post with little extra info.

    The array of struct in my first post, and the linked-list in my previous post are intended to be...
  6. Replies
    23
    Views
    2,208

    Re: Call Array Member in function Help

    Again, thanks for the replies. Some, I admit, are a little over my head. I mean, what I want to do sounds simple in my head, but it's totally confusing when writing it. Forgive me, I am just a...
  7. Replies
    23
    Views
    2,208

    Re: Call Array Member in function Help

    OK. I mostly understand what you said. I can work my way through pointers if it does what I need it to do. Would my stuff work better if I made the struct Nodes a linked list? Actually, a circular...
  8. Replies
    23
    Views
    2,208

    Re: Call Array Member in function Help

    OK guys. Thanks for the replies. That was a handful. I'm trying to implement the suggestions and it went bad, so let me summarize what I want to do, and where I am. Please bear with me.

    So I have...
  9. Replies
    23
    Views
    2,208

    Re: Call Array Member in function Help

    Thank you again. That fixed the issue. But created another one, albeit, just 1.

    Let me define a function_two() (and please ignore function_one() from before) so you can help me see what I am doing...
  10. Replies
    23
    Views
    2,208

    Re: Call Array Member in function Help

    Thank you for the reply and the warm welcome Eri523!

    Your BTW's are spot on. The reason I named them like this are for clarity in my post. The names are not like this in my program. I guess my...
  11. Replies
    23
    Views
    2,208

    Call Array Member in function Help

    Hello everyone,

    I have defined a struct, and I have made an array of this struct:


    struct Nodes
    {
    int number;
    }
Results 1 to 11 of 11





Click Here to Expand Forum to Full Width

Featured