Search:

Type: Posts; User: dralexpe

Search: Search took 0.01 seconds.

  1. Thank you very much, you guys gave me the...

    Thank you very much, you guys gave me the solution.
    I appreciate you taking the time to help me out.

    Best regards.
  2. C static variables + dynamic memory allocation

    I am a little bit puzzled by the behavior of some static variables. Here's the code:




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

    double** input_file(int *);
    void read_file();
  3. Replies
    1
    Views
    1,253

    c++ dynamic memory

    Hello,

    I am trying to write a program that uses dynamically allocated arrays in C++. I got the code working, but I am not sure I understand why it works.

    Here is the code:




    #include...
Results 1 to 3 of 3