Hi everyone. As per the advice, I have modified my code again. Now, I am using while loop to read the data from the file. However, my programme is still not running. Whenever I try to run the...
Type: Posts; User: torresdrogba
Hi everyone. As per the advice, I have modified my code again. Now, I am using while loop to read the data from the file. However, my programme is still not running. Whenever I try to run the...
Here is the sample of my actual input file:
Alpha:01232012:0100:2.7
Alpha:01292012:0100:2.2
Alpha:02022012:0100:2.1
Alpha:02032012:0100:3.5
Alpha:03012012:0100:5.4
Alpha:03042012:0100:5.8
The sample line of the file "RedwoodBaySeismicEventList.data" looks like this :
Alpha:01232012:0100:2.7
Note:
"Alpha" represents ID
Hi forum. I was busy doing other stuff, so I could not take part in the discussion yesterday. But, anyway, as per the advice of rags_to_riches and jimblumberg, I have made some modifications on my...
First, thanks everyone for their sound and erudite advices. But, I would just like to point out that I am not in anyway advanced programmer. As a matter of fact I just started learning C++ about two...
Hi Antred. Thanks for your response. The thing is that since "Magnitude" is a double variable, I can not read it from the file by using "substr" like I did for other variables. Do you happen to know...
Hi everyone in the forum. I was just wondering if anyone in this forum could help me get rid of segmentation fault in my programme. The code of the programme is below"
#include <iostream>...