Search:

Type: Posts; User: JoshNCSU22

Search: Search took 0.00 seconds.

  1. Replies
    9
    Views
    2,141

    So this ended up being a combination of...

    So this ended up being a combination of problems....

    PckMovPaths is part of a linked list of structures that is inside of another structure. In a very specific situation the outer most structure...
  2. Replies
    9
    Views
    2,141

    Thanks guys! I finally figured out how to...

    Thanks guys! I finally figured out how to reproduce the issue (I've been trying for 2 days) and I'll post back when I can find the root cause.
  3. Replies
    9
    Views
    2,141

    Maybe I exagerated there just a bit haha! It's...

    Maybe I exagerated there just a bit haha! It's probably not ran millions of times but it is certainly ran thousands.
  4. Replies
    9
    Views
    2,141

    Well the code is running on a HP-UX ia64 machine...

    Well the code is running on a HP-UX ia64 machine so it's definitely running on a 64 bit box and I didn't write this code at all so I'm not sure if it was originally written for 32 or 64 bit. This is...
  5. Replies
    9
    Views
    2,141

    Need Help finding potential Memory issue

    Hey all,

    I've got a question...

    The company I work for is a Supply Chain software company and we have some old legacy code that is creating core dumps. Now I've used GDB to look at the core...
  6. Replies
    16
    Views
    13,006

    Thanks everyone! I really appreciate the advice...

    Thanks everyone! I really appreciate the advice and assistance!
  7. Replies
    16
    Views
    13,006

    Thanks for clarifying on the memory leak part. I...

    Thanks for clarifying on the memory leak part. I understand now why it's leak; I didn't realize before that string literal actually was a pointer and allocated it's own memory like that. So if I...
  8. Replies
    16
    Views
    13,006

    Whoops just saw the latest posts from...

    Whoops just saw the latest posts from Elysia...let me take all that in
  9. Replies
    16
    Views
    13,006

    Sebastiani, Just so I understand why '...

    Sebastiani,

    Just so I understand why ' hostname = "unchanged" ' is memory leak...

    Is that because hostname is a pointer to char and "unchanged" is also a pointer to char, then I allocate...
  10. Replies
    16
    Views
    13,006

    Hmm ok I understand that part I think...I had...

    Hmm ok I understand that part I think...I had initially tried to do it like this but got a compile error:



    #include <stdlib.h>
    #include <stdio.h>

    int main(){
    char* hostname =...
  11. Replies
    16
    Views
    13,006

    Pass by Reference with a pointer to char

    I'm relatively new to C and I was pretty sure I had a decent understanding of pointers and how they are used. However, I was just playing around with the concept of Pass by Reference and came across...
Results 1 to 11 of 11