Software Development
Member Avatar

Hi All,

All of my programming was done in Visual Studio Express 2008 version. Thinking of upgrading to 2015 now that I have a Win 10 machine and given that …

c++
Software Development
Member Avatar

Hi All,

All of my programming was done in Visual Studio Express 2008 version. Thinking of upgrading to 2015 now that I have a Win 10 machine and given that …

c++
Software Development
Member Avatar

Hello,

My function below is part of a program that compiles and runs. The core of the program is in the function below. The issue is that the variable named …

c++
Software Development
Member Avatar

Hello,

My function below is part of a program that compiles and runs. The core of the program is in the function below. The issue is that the variable named …

c++
Software Development
Member Avatar

Hello,

My function below is part of a program that compiles and runs. The core of the program is in the function below. The issue is that the variable named …

c++
Software Development
Member Avatar

Hi,

I'm trying to compute a moving average of length 20. I've got a vector of structs that's read into my function and I'm using an iterator to read through …

Topic by toneranger

Never mind guys, I figured it out.

Software Development
Member Avatar

Hi,

I'm trying to compute a moving average of length 20. I've got a vector of structs that's read into my function and I'm using an iterator to read through …

Software Development
Member Avatar

Hi,

I'm trying to compute a moving average of length 20. I've got a vector of structs that's read into my function and I'm using an iterator to read through …

Software Development
Member Avatar

Hi,

I'm wondering what could cause this type of runtime error:

My program basically reads data from different kinds of data files, either a minute data file or a 5 …

Topic by toneranger

that's why I chose small input data files, so I could manually eyeball them. The 5min data file looks fine. The issue must be the program because it outputs the …

Software Development
Member Avatar

Hi,

I'm wondering what could cause this type of runtime error:

My program basically reads data from different kinds of data files, either a minute data file or a 5 …

Topic by toneranger

the program reads in the data from the txt file, then it does some analysis on the data in the main function, outputting to a txt file. Then there is …

Software Development
Member Avatar

Hi,

I'm wondering what could cause this type of runtime error:

My program basically reads data from different kinds of data files, either a minute data file or a 5 …

Topic by toneranger

Tried it with another 5 min file which ends with a blank line and no luck, still aborts. I've attached below:

So, I noticed that the code gets through the …

Software Development
Member Avatar

Hi,

I'm wondering what could cause this type of runtime error:

My program basically reads data from different kinds of data files, either a minute data file or a 5 …

Topic by toneranger

Nullptr,

I changed the NamedSwings to the dereferenced iterator as you suggested, but still the same abort at runtime. I checked out what you said earlier about this line:

0x09 …

Software Development
Member Avatar

Hi,

I'm wondering what could cause this type of runtime error:

My program basically reads data from different kinds of data files, either a minute data file or a 5 …

Topic by toneranger

Hi David,

I found this code below online and gave it a try to read the last line in each of the two files. In the file that works, "csv …

Software Development
Member Avatar

Hi,

I'm wondering what could cause this type of runtime error:

My program basically reads data from different kinds of data files, either a minute data file or a 5 …

Topic by toneranger

I attached a new 5 min file i tried with, but no luck. I made this one to be only a few days long with no extraneous lines in it. …

Software Development
Member Avatar

Hi,

I'm wondering what could cause this type of runtime error:

My program basically reads data from different kinds of data files, either a minute data file or a 5 …

Topic by toneranger

David and Nullptr,

Thanks. Nullptr, sorry for the silly question, how did you get to 'see' those bytes? And what can I do to fix the file? I basically have …

Software Development
Member Avatar

Hi,

I'm wondering what could cause this type of runtime error:

My program basically reads data from different kinds of data files, either a minute data file or a 5 …

Topic by toneranger

David,

I looked at the five mintest.txt file in notepad and didn't notice anything unusual. What I see is two days worth of data, spanning 9/9/2010 to 9/10/2010. Did you …

Software Development
Member Avatar

Hi,

I'm wondering what could cause this type of runtime error:

My program basically reads data from different kinds of data files, either a minute data file or a 5 …

Topic by toneranger

Hi David,

Thanks much for your thoughts. Well, both files are small samples, covering a few days worth of data only. I tried the indirection above but that caused a …

Software Development
Member Avatar

Hi,

I'm wondering what could cause this type of runtime error:

My program basically reads data from different kinds of data files, either a minute data file or a 5 …

Software Development
Member Avatar

Hi,

I'm new to APIs. Got the code below to compile (with 3 warnings C4129) but it won't output to the designated path. I created the txt file ahead of …

Topic by toneranger

Thank you Nullptr, that worked perfect.

c++
Software Development
Member Avatar

Hi,

I'm new to APIs. Got the code below to compile (with 3 warnings C4129) but it won't output to the designated path. I created the txt file ahead of …

Topic by toneranger

Thank you Suzie.

You mean checking as in something like this?

if (hr == S_OK) ?

c++
Software Development
Member Avatar

Hi,

I'm new to APIs. Got the code below to compile (with 3 warnings C4129) but it won't output to the designated path. I created the txt file ahead of …

c++