maherd3
07-17-2007, 09:59 AM
Hi,
Im writing a program to find the FFT of data values read from a text file.
The basic program calls a class which reads the data from the txt file without any trouble, but as soon as i add any NR code to main, e.g:
Vec_DP data(512);
the program compiles as normal but when I run the program I get an error saying that the program had to close and there is no indication of why the program crashed.
I have since implemented a similar program using only function calls no classes and it worked fine, is there a reason for this? or has anyone had similar problems?:confused:
Im writing a program to find the FFT of data values read from a text file.
The basic program calls a class which reads the data from the txt file without any trouble, but as soon as i add any NR code to main, e.g:
Vec_DP data(512);
the program compiles as normal but when I run the program I get an error saying that the program had to close and there is no indication of why the program crashed.
I have since implemented a similar program using only function calls no classes and it worked fine, is there a reason for this? or has anyone had similar problems?:confused: