Search:
Type: Posts; User: Learned
Search:
Search took 0.02 seconds.
-
January 18th, 2013, 03:37 PM
-
August 10th, 2012, 01:12 PM
I have tried to look at it about 20 times but can't find any issue. Please bear in mind that I am a bit novice for c-sharp.
The console part works fine so my StoreArray is not having any problem...
-
August 9th, 2012, 08:24 AM
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...
-
August 3rd, 2012, 07:23 AM
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...
-
August 2nd, 2012, 06:22 PM
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.
I have the following:
...
-
January 5th, 2012, 11:14 AM
Okay I got this simple thing working using an example from "a brief introduction to C++ and interfacing with Excel" by Andrew L Hazel.
Thanks for reading.
-
January 5th, 2012, 10:34 AM
I have a very simple function in c++:
int sum(int a, int b) { return a+b; }
I want to be able to use this simple function in excel. I googled this problem and there is a lot of material available...
-
December 29th, 2011, 02:30 PM
Very nicely done. Thanks. I learn a lot here just reading people's code.
-
December 29th, 2011, 02:03 PM
I have a variable name stored in a string as:
string var = "xyz"; //xyz will be different based on fucntion call
but each of these "xyz" are indeed variables. So, I have:
xyz = 1;
abc = 13.5;...
-
December 28th, 2011, 04:41 PM
This is what I have been thinking:
class lessthan10
{
public:
int a;
lessthan10() {cout<<"Bad data"; //etc.}
};
Now in the original function, if it had been:
void myfunc(int a, string b);
-
December 28th, 2011, 11:43 AM
@Lindley
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.
Thanks
-
December 28th, 2011, 09:44 AM
I have a bunch of functions sharing the variable names like:
void myfunc(int a, string b);
void func2(int c, string b);
void func3(int a, int c);
But they are not consistent in the way they...
-
December 23rd, 2011, 06:58 PM
I have a giant map and using iterator and lower_bound functions I have been able to narrow down to a range relevant to me.
Now I want to copy the locations from first_iterator to last_iterator to...
-
December 23rd, 2011, 06:56 PM
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...
-
December 23rd, 2011, 03:11 PM
Ok if I try to use the prvious suggestion about SYSTEM time to write my own code, how do I do it.
I want to give in a specified time and be able to add 0.002 milliseconds and get new time. But...
-
December 23rd, 2011, 02:49 PM
The CHightime gives build erros with Visual Studio 2010 and I am not the only one having it.
-
December 23rd, 2011, 12:25 PM
I think this is the solution since I can't use Boost:
http://www.codeproject.com/KB/datetime/hightime.aspx
But would love to hear your opinion about the above if you have any.
-
December 23rd, 2011, 09:27 AM
I do not have to use ColeDateTime but that is the only thing I came across with a working example. So, I implemented in my code.
So, is there any example code for m_dt which plays with...
-
December 22nd, 2011, 06:30 PM
Is this problem that hard that there have been more than 50 views and still no could answer it.
-
December 22nd, 2011, 11:12 AM
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...
-
December 20th, 2011, 03:05 PM
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 vector is expected to be of size...
-
December 4th, 2011, 12:54 PM
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.
So, I have...
-
December 2nd, 2011, 03:15 PM
I have a text file with headers and rest of rows are numbers. Is there a way to read the file so that first row is neglected?
Thanks
-
December 2nd, 2011, 10:06 AM
Server is reading it. So, when I type in:
http://blah.blah in IE, I get a page full of numbers and texts in a consistent manner.
I got ahead a step in this process. I am using the code from this...
-
December 2nd, 2011, 08:16 AM
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...
|
Click Here to Expand Forum to Full Width
|