Search:

Type: Posts; User: lanzyzhang

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    2,594

    Thanks. I understand that it can be altered by...

    Thanks. I understand that it can be altered by messing up with pointers. However, the line of code where the memory gets changed doesn't even involved pointers. And that's why I'm puzzled.
  2. Replies
    4
    Views
    2,594

    scope of dynamically allocated variables

    I've been debugging a "segmentation fault" error, which boils down to some dynamically allocated memory gets altered at places where no pointer to the address was used.

    I'm now puzzled since there...
  3. Replies
    4
    Views
    1,813

    strange segmentation fault

    I'm new in C and would appreciate if anyone can help me out on this one:

    My program haults with a "segmentation fault". I was using malloc() etc so I suppose there was sth wrong with that. But...
Results 1 to 3 of 3