Forum: C++ Nov 29th, 2004 |
| Replies: 5 Views: 5,259 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. |
Forum: C Nov 29th, 2004 |
| Replies: 8 Views: 15,974 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,... |
Forum: C++ Nov 29th, 2004 |
| Replies: 4 Views: 2,447 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... |
Forum: Java Nov 29th, 2004 |
| Replies: 3 Views: 8,990 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... |
Forum: C++ Aug 13th, 2004 |
| Replies: 2 Views: 9,272 Heh, in all technicality... Could I feasibly get into trouble for posting snippets of MSVS's non redistributable code? heh |
Forum: IT Professionals' Lounge Aug 12th, 2004 |
| Replies: 5 Views: 3,878 well, I bet they'll split at least 2x in the next 3 years. Then you'll have 400 shares, lol. |
Forum: Computer Science Aug 12th, 2004 |
| Replies: 24 Views: 17,198 Replace "mathematically" w/ "analytically", and you'd be correct. Computers do not innately understand math. They understand boolean logic. |
Forum: Computer Science Aug 12th, 2004 |
| Replies: 24 Views: 17,198 If you do games, graphics, or simulations (most notably ones based on physics & scientific calcs), you're gonna need a lot more than just algebra.
If you're going to be a data miner, you may... |
Forum: C++ Aug 12th, 2004 |
| Replies: 2 Views: 9,272 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:
template<class _Fn2,
class _Ty> inline... |
Forum: C++ Aug 12th, 2004 |
| Replies: 3 Views: 3,438 Ooh, forgot to mention.
In 9 out for 10 times, if you know what types of data you're going to be working on, it's easier just to do like kc0arf said, and just dereference manually.
The only... |
Forum: C Aug 12th, 2004 |
| Replies: 3 Views: 1,837 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... |
Forum: C++ Aug 12th, 2004 |
| Replies: 3 Views: 3,438 Off the top of me head:
#include <iostream>
#include <conio.h>
using std::cout;
using std::endl;
struct TData
{ |
Forum: C Aug 12th, 2004 |
| Replies: 1 Views: 2,838 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. |