Search:

Type: Posts; User: abotaha

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    2,885

    Read ASCII file into matrix in C++

    Hello everybody,

    I got a stuck in my work ... I have ASCII file with numerical values, and I need to read them and save them in a matrix of 2 dimensions?.... If anyone can help me please...
  2. Replies
    1
    Views
    3,780

    read and store text file as an array

    Hello guys,
    I have a text file contains values such that the values are stored in the file as matrix of 3 by 4 dimension. i need to read this file and store each column of the matrix in a separate...
  3. thank you very much for your replay

    thank you very much for your replay
  4. error: initializer expression list treated as compound expression

    Hi all,
    i would like to say thank you for this forum to provide many facility for us.

    i have code in c++ with gsl library to calculate the regression. but i can not run it there is error says:...
  5. Replies
    14
    Views
    2,311

    yes iMalc....thank you fo your comments. I am...

    yes iMalc....thank you fo your comments.
    I am now trying to find way how to read and print a matrix from data file without knowing its dimension, but it seems to me very difficult. Is there any way...
  6. Replies
    14
    Views
    2,311

    Thank you very much guys, all these information...

    Thank you very much guys, all these information are good and useful.
    i am now find out way to calculate the length of a vector by reading data file as follow:

    i would appreciate if be some of...
  7. Replies
    14
    Views
    2,311

    thank you very much for the replay. actually...

    thank you very much for the replay.
    actually what i want to do is to find out length of the vector or array automatically, but i can not do that and i tried many ways to find that like read file in...
  8. Replies
    14
    Views
    2,311

    unexpected result

    Hi everybody
    i tried to run a simple code to find the mean value of an array using gsl library with eclipse. but i got "0" as a result. i would appreciate any help or advices.
    the code is below...
Results 1 to 8 of 8