a couple things:
no, you'd return a copy of the integer address of where newList used to be (it's probably just been cleaned off the stack when the function exits).
you're returning an empty...
Type: Posts; User: m37h0d
a couple things:
no, you'd return a copy of the integer address of where newList used to be (it's probably just been cleaned off the stack when the function exits).
you're returning an empty...
CombinationMatrix::CombinationMatrix(unsigned int numVars, unsigned int numStates):
numVars(numVars),
numStates(numStates),
Matrix(pow((double)numStates, (double)numVars),...
loop over the board and see if a single character occupies any row, column, or diagonal. if yes, that character is the winner. otherwise, if the number of turns == 9, then it's a draw.
int minutes = 45;
or
int minutes = 15;
minutes = 60-minutes;
you really shouldn't have to ask this, should you? O_o
accept it. the cause of suffering is desire.
/Zp 4 is the solution
after upgrading some projects to VS 2010, i'm now getting some truly odd behavior.
there are 3 parts to this particular monstrosity:
a .NET client application
a C++/CLI interop wrapper DLL
a...
jfgi: an acceptable alternative to rtfm.
oh man. this sounds like my first job out of college.
i wish i could help but i never learned modbus, tho it was often talked about.
my best advice to you is to obtain a copy of the standard...
Generics in C#, Java, and C++
can anyone suggest a better way of executing Anders' suggestion than:
public interface Calculator<T>
{
this won't actually give you execution time down to nanoseconds. if the original measurement doesn't have that level of resolution, you can't replace it mathematically. if the information isn't there...
if you're on windows there's performance counter
Performance Counters
that's awesome.
does this mean recursive FT is a possible way to get the eigenfrequencies of a periodic function? o_O
well, for one, what is the distinction between service and network? from what i can understand, and what you put above, i don't see any need to separate them.
you didn't document how you're going...
you certainly dont' come close to handling all the information laid out in your problem statement, so no. as a matter of style, you should not have different type names that differ only in...
there's also openAL.
i would forego building a complicated gui editor.
i would detect the heartbeats algorithmically. the heartbeats should be significantly louder than the background noise,...
well, that works just fine. i swore i tried casting to T* just like that and i got a compile error in xutility. clearly i made an error somewhere.
char status1 should be bool isMarried
whenever you find yourself doing repetitive copy/paste, you should refactor your code to eliminate those redundancies.
consider using an object to...
please demonstrate how to execute std::copy of a multidimensional array with a simple 1-liner. i attempted it briefly and failed.
i got pulled away and didn't refresh the page before i posted. not familiar with those.
theres multiple problems here. for one, a 2d array is not the same thing as a pointer-to-pointer. also, you cannot implicitly size static arrays of more than one dimension.
the closest you could...
read the manual. winapi is painful, but you can muddle your way through it.
yes, clearly it doesn't. seems rather asinine to me.
Duplicate user-defined conversion in type 'ConsoleApplication1.Foo'
changing implicit to explicit (which doesn't make any sense why that should help) yields the same exception.
this works, but how asinine to have to use LINQ and a lambda to do something that seemingly should be handled by the method above. dotfail.
ImplicitlyConvertibleFromFoo[] castArray =...