Search:

Type: Posts; User: shrinivasapte

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    1,111

    ok my file goes like this so what it saying...

    ok my file goes like this


    so what it saying is after (10 (2 1 24f 1 3) there are 24f lines of numbers like shown here. So I want to read like,
    if you encounter (10 at start of line then read...
  2. Replies
    5
    Views
    1,111

    I can use 'getline' till end of the file. I was...

    I can use 'getline' till end of the file.
    I was trying to use,



    ifstream inmesh;
    inmesh.open(Filename);
    while(!(inmesh.eof())
    string line;
    getline(inmesh,line);
  3. Replies
    5
    Views
    1,111

    Reading file conditionally

    Hi, I am trying to write a code to read a file
    I want to read it conditionally.
    for example, if the first few line of file are

    (0 " Created by : Fluent_V6 Interface Vers. 11.6.2")
    (2 3)
    (0...
  4. Replies
    4
    Views
    4,200

    Thanks, Can you explain me a bit about your...

    Thanks, Can you explain me a bit about your sentence " you must not return a pointer to a local variable" ?
    What happens if I do that ?
  5. Replies
    4
    Views
    4,200

    Return pointer from a class method

    Hi, I have a class named 'Myclass' and a a class method 'function1'.
    I want to return a pointer from this method.I am not sure how to do it.

    class Myclass
    {
    public:
    int n,m;
    double...
  6. Thank you all for helping. I will try using...

    Thank you all for helping. I will try using vectors.
  7. returning an array from a function and using again in function

    Hi, I am trying to write a function which multiplies two 2d arrays and it stores a result in a third 2d array. Now I want to multiply this result with another 2d array.
    I have tried to write a...
Results 1 to 7 of 7