Forum Replies Created

Abhey Member

The 3rd party returns an object that I instantiated. All values returned are stored in this object’s property. I think your example code is good enough. But my question is also that if this property type is of “int” type then do I still need to check using your example? I mean, C# is strong type so wouldn’t it already throw an exception if I’m getting non-integer or script embedded value in an int property field?

Abhey Member

There are approximately 37 million poker hands from a 52-deck pack. Multiply that by the number of possible hands per dealt hand and the numbers are staggering. Managing the volume of results is beyond the ability of most desktop computers.

I suggest that you base your analysis on patterns and pattern matching. The programming might seem a bit more complex, but you’ll get a quantity of answers that you can manage. And an heuristic algorithm can adjust to its findings in real-time whereas the brute force approach never can.

Any C compiler should be just fine. gcc is as good as any of them.

Abhey Member

It’s possible, but with lot’s of internal (non-public) knowledge of the t-log file structure.
there are tools out there, like for example apex to do the task without having to develop anything: You may consider using:

http://www.apexsql.com/sql_tools_log.aspx
http://msdn.microsoft.com/en-us/library/cc280386%28v=sql.110%29.aspx
http://technet.microsoft.com/en-us/library/bb677179.aspx
http://msdn.microsoft.com/en-us/library/bb933994.aspx
Abhey Member

I’m looking for what JavaScript has but in c#. You can pass a function that exists nowhere else- as an argument to another function.

Something like this

B(A(str) { print(str); } );

Void B(func f){
   //do some work
  f("hello"):   // prints hello
}
Abhey Member

you just need to assign the numbers that are being returned into the array.
find out how the numbers that are being returned are decelerated. and the simply input them in the array the same way that is shown above.
so if x = 5 don’t do int Nbrs[] = { 5 }, but do int Nbrs[] = { x }. (crudely speaking)

hope I’m on the right track, cause I’m not sure what you mean.

Viewing 5 posts - 106 through 110 (of 110 total)
en_USEnglish