Search:

Type: Posts; User: pratras

Search: Search took 0.00 seconds.

  1. cin.get(); add this at the end

    cin.get();

    add this at the end
  2. can you please elaborate how i can use vector in...

    can you please elaborate how i can use vector in my case, i didn't get
    "std::vector<std::vector<T>> v(N, std::vector(M));" this line..
  3. Finally this one is working, thanks all....

    Finally this one is working, thanks all. :redface:

    I have one more question. Should I free the memory space and how?


    // reading a text file
    #include <iostream>
    #include <fstream>
    #include...
  4. Thanks all! it was really helpful. I am a noob. ...

    Thanks all! it was really helpful. I am a noob.

    @laserlight : I have changed my code as follows, but i don't know how do this -->
    can you explain me in more details.

    New code:

    // reading...
  5. Not able to read data from text file and convert it to integer

    Hi,

    I am trying to read an array values from Tmin.txt file. I take array size from user viz. number of raw & column and then, read the following data from Tmin.txt file which look like this:
    ...
Results 1 to 5 of 5