- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Sr. Systems Architect, U1 Gaming
- PC Specs
- P4 3.0 HT 1 gig PC 3700 36 gig 10k rpm WD System Drive 250 gig 7.2k rpm WD Storage Drive More parts…
10 Posted Topics
Re: If you rotate a square image about it's center, clipping will occur on all sides. The most clipping will occur when the image is rotated by a multiple of 45 degress. At a multiple of 45 degrees, any part of the image extending past the original boundries will clip, which … | |
Re: In general, I'd say pointers are like links on the internet. They refer you to something, and that's all they do. Pointers don't allocate memory, they just point to memory. Pointers aren't a structure, they refer (point) to a structure. The problem is that most people's first interaction with pointers … | |
Re: Doesn't returning false signify failure? I dunno, I'm not an MFC guy. If that's not the problem, then time is crashing on init. | |
Re: Well, you've already broken your hand up into suits and ranks, that's a good start. Now you just need to retain that info after you do print your output. For a flush, by far the easiest solution is to take a histogram of the suits. If the entry for any … | |
Re: well, I bet they'll split at least 2x in the next 3 years. Then you'll have 400 shares, lol. | |
Re: The problem: C++ doesn't allow you to call non-const methods on const objects. Deep in the MSVS.NET 2k3 source, I found the declartion of bind2nd: [code] template<class _Fn2, class _Ty> inline binder2nd<_Fn2> bind2nd(const _Fn2& _Func, const _Ty& _Right) { // return a binder2nd functor adapter typename _Fn2::second_argument_type _Val(_Right); return (std::binder2nd<_Fn2>(_Func, … | |
Re: Were I to post a homework assignment in the hopes of someone doing it for me, that's how I'd post it. I dunno, but I feel that more people would respond to a "challenge" than "do my homework for me." Well, until said people read about 3 lines, and realize … | |
Re: Off the top of me head: [code] #include <iostream> #include <conio.h> using std::cout; using std::endl; struct TData { float fWeight; float fLength; }; typedef float (TData::*TDataFloatPointer); // pointer to member float CalcAverage(const TData* pArray, int iSize, TDataFloatPointer p) { float fAverage = 0; for(int i = 0; i < iSize; … | |
Re: You're -not- using winsock? Odd. Well, one of the modules you're including is. Option 1, nuke that module. Option 2 (a hack), link against WS2_32.Lib. |
The End.