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...
Type: Posts; User: shrinivasapte
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...
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);
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...
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 ?
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...
Thank you all for helping. I will try using vectors.
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...