I have a giant 2D array of numbers. I can write them to a file in rows and columns just the way I want by iterating through the contents of rows but looping through the array is time consuming. So, I...
Thanks for reply. I think I have seen links about dictionary before. I would like not to iterate through the entire dictionary to find first key greater than 12 and first key smaller than 16. Is...
I am used to using STL in C++ and kind of dabbling with C-sharp right now. So, I have a sorted array and I want to find all elements between two given quantities.
Can you please elaborate some more on your suggestion, I like your idea but since I am still learning I feel I am missing quite a bit from your suggestion.
I wrote my own millisecond handler which still uses ColeDateTime but the kind of errors I was getting are:
xxx needs ';' before xxx, etc and the errors were in files which I downloaded from code...
According to MSDN, ColeDateTime has resolution of 1 millisecond but when I try to use add 0.002 seconds to a ColeDateTime object and try to output the seconds using GetSecond(), I still get an...
I have a vector of numbers arranged in increasing order. I need to find the exact location where first time the number in vector exceeds a certain value.
This is just an idea that I am trying to think whether would make sense or not. I could simulate what I am thinking and prove myself but I am looking for some logic behind it as well.
As some of the gurus are aware that I have been trying to read the zipped file. I tried other stuff mentioned there like infozip but they are having problems as well and in the time I have, I can't...