Forum: C# Jul 18th, 2007 |
| Replies: 0 Views: 2,521 Hello, again.
My time is nearly up on the Ultrasound GUI I've been working on, and I've got one last major feature to implement: continuous capture at a user-selected 1 to 30 frames/second rate.... |
Forum: C++ Sep 1st, 2006 |
| Replies: 9 Views: 5,819 For a while loop, the iterator (typically int i) is incremented at the end of the loop. Then, you can use i + 1 as your denominator in calculating the average, and do the cumulative sum of the... |
Forum: C++ Sep 1st, 2006 |
| Replies: 9 Views: 5,819 Sounds like you could use an array to store all those numbers, then have an int sum that you'd use to hold the cumulative sum of the temperatures as you looped through the array.
Something like... |
Forum: Motherboards, CPUs and RAM Sep 1st, 2006 |
| Replies: 0 Views: 834 Hello, all.
About two years ago, I built myself a nice system. Last month, during record-setting heat, I turned it off one night, and it wouldn't work when I next powered it on.
The first time,... |
Forum: C# Sep 1st, 2006 |
| Replies: 0 Views: 2,260 Hello, everyone. It's been a while.
I'm still working on the same Ultrasound machine GUI, but I'd taken time off for summer courses. Fortunately, thanks to the help I received here, I have made... |
Forum: C++ Jun 19th, 2006 |
| Replies: 3 Views: 1,547 As I (eventually) figured out, with inspiration from Wolfpack's reply, making sure to explicitly mark the image for closing and garbage collection solved the problem nicely.
Thanks for the... |
Forum: C# Jun 19th, 2006 |
| Replies: 2 Views: 7,568 Modified 'bSave_Click' to include pbCaptureImage.Image.Dispose() before attempting to rename the directory.
This forces the image to be removed from 'active' or 'accessed' status and lets the... |
Forum: C++ Jun 17th, 2006 |
| Replies: 3 Views: 1,158 Good to know. Thanks, Dave! |
Forum: C++ Jun 17th, 2006 |
| Replies: 3 Views: 1,158 The first version you posted is explicit, and, in my limited experience, is unnecessary.
Just use the second version if you have no input arguments; there's no difference. |
Forum: C++ Jun 17th, 2006 |
| Replies: 3 Views: 1,547 That looks to be just about what I'm interested in; however, with regards to the PictureBox control specifically, how would you force it to release the file that has been set to its image attribute?... |
Forum: C# Jun 16th, 2006 |
| Replies: 2 Views: 7,568 After further research, it appears that the problem is likely due to file share settings. That is to say, it is currently only allowing one process to access the file.
This gives me a few options... |
Forum: C++ Jun 16th, 2006 |
| Replies: 3 Views: 1,547 This is an offshoot of a specific problem I've posted in the C# forum.
However, it applies to C++ as well.
If you have opened a file, specifically, an image file, but would like to rename (or,... |
Forum: C# Jun 14th, 2006 |
| Replies: 2 Views: 7,568 I have a fairly simple set of controls that make up an image viewer.
The goal of this software is to allow image captures to be stored in a temporary directory, viewed in the image viewer, and... |
Forum: IT Professionals' Lounge May 5th, 2006 |
| Replies: 26 Views: 5,324 Wish I'd read this and the wiki before I went off in the other 'save the internet' thread.
I have a dim view of 'free market economics'. I don't trust it, really. In theory, competition is... |
Forum: IT Professionals' Lounge May 5th, 2006 |
| Replies: 6 Views: 2,561 This is also something that has been reported on by NPR. Call 'em ultraleft if you want, but you'll be wrong.
The arguments posed by the telecomms are rather flimsy, in my view. And given the lack... |
Forum: Community Introductions Apr 25th, 2006 |
| Replies: 2 Views: 894 Nice to meet you; hope you enjoy yourself here, Patience. |
Forum: C++ Apr 24th, 2006 |
| Replies: 19 Views: 2,481 I knew there was something evil about you... |
Forum: Computer Science Apr 24th, 2006 |
| Replies: 31 Views: 6,577 To quickly answer the original query (though this is an interesting discussion)
There are many languages because well, people needed code systems that could do some process. They were abstracted... |
Forum: IT Professionals' Lounge Apr 21st, 2006 |
| Replies: 8 Views: 2,134 There is no Windows XP 2004.
Because of that, we couldn't tell you if a real program is the same as an imaginary one. |
Forum: Geeks' Lounge Apr 21st, 2006 |
| Replies: 68 Views: 6,919 If she opts to stay with the forums, I'd like her to continue as a moderator.
But primarily: I just don't want her to leave entirely, as her blunt honesty and experience are just what I needed... |
Forum: C# Apr 21st, 2006 |
| Replies: 5 Views: 3,512 Remember, companies hiring programmers want 'excellent oral and written communication skills', so I suggest learning the English language (or whatever is most appropriate) before going into the... |
Forum: C Apr 14th, 2006 |
| Replies: 7 Views: 1,802 Er, why would you protect shareware? Nowadays, I thought shareware was pretty extinct.
Back in the days of 14.4, there was a call for shareware since you'd be able to order it from a catalog, but... |
Forum: C++ Apr 10th, 2006 |
| Replies: 10 Views: 6,680 All I can think of is a really annoying set of dynamically-allocated arrays. Or a linked list.
Or, determining what the maximum length is, finding all the words that are that long, creating a loop... |
Forum: C# Apr 10th, 2006 |
| Replies: 13 Views: 18,266 Okay, this is what I've done...
private void DelayAdjust()
{
System.Int64 frequ = 0;
if (QueryPerformanceFrequency(ref frequ) != 0)
{
dt.AllocateFrames(8); |
Forum: C Apr 7th, 2006 |
| Replies: 10 Views: 2,575 I'm fairly confident with making/destroying linked lists (one of my few strengths compared to other inexperienced coders), but I see what you mean.
For the first node you'd certainly use a method... |
Forum: C Apr 7th, 2006 |
| Replies: 10 Views: 2,575 In response to the deleted message:
True enough. You don't have to do node creation using
x->next = new <structname>;
I just prefer to do so here as an example, though my statement is a... |
Forum: C Apr 7th, 2006 |
| Replies: 10 Views: 2,575 That's right. Typically, a linked list is presented pictorally as a box with an arrow coming out of it pointing to another box with an arrow pointing out of it, which in turn points to yet another... |
Forum: C++ Apr 4th, 2006 |
| Replies: 14 Views: 3,163 ... There's 12 boards. Fine. 6n+4 is correct, And my approach won't quite work. You'd need a single function that checks a single layer, then feed in the layers appropriately...
Or am I thinking... |
Forum: C++ Apr 4th, 2006 |
| Replies: 14 Views: 3,163 Okay, I'll conceed the +4, and that the equation 4n+4 will apply to evens as well as odds.
But could you please explain how a square can have more than two unique diagonals? |
Forum: C Apr 3rd, 2006 |
| Replies: 25 Views: 9,438 Grunge, it's better to start again and go with conventional methods that meet the standards of people such as Ancient Dragon.
ASCII stands for American Standard Code for Information Interchange.... |
Forum: C++ Apr 3rd, 2006 |
| Replies: 3 Views: 3,501 It's a CWnd base, correct?
How about 'SetForegroundWindow'? (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_mfc_cwnd.3a3a.setforegroundwindow.asp) |
Forum: C Apr 3rd, 2006 |
| Replies: 25 Views: 9,438 As Ancient Dragon says:
A computer only knows binary, because all memory storage in a computer is determined by the state of the bit being on or off.
It does not magically store 'A' or a ... |
Forum: C++ Apr 3rd, 2006 |
| Replies: 14 Views: 3,163 Assuming you're only doing odd-number size cubes (3x3, 5x5, 7x7, etc):
I suggest the following approach.
For the cube itself, there are two full-diagonal wins.
If you think of the n x n cube... |
Forum: C++ Apr 3rd, 2006 |
| Replies: 14 Views: 3,608 How about serialization or XML? Would those help?
As Lerner said, the problem is that if you have to make a dramatic change, you have to move the whole file.
You have an option here, though.... |
Forum: C++ Apr 3rd, 2006 |
| Replies: 12 Views: 2,157 I'm fond of simple games...
Are you familiar with mastermind? You could play it with letters rather than colors if you're not comfortable with programming graphical elements.
How about the... |
Forum: C++ Mar 31st, 2006 |
| Replies: 12 Views: 1,656 ...
Yes.
Yes, I am.
Showoff. |
Forum: C++ Mar 31st, 2006 |
| Replies: 12 Views: 1,656 I'm not a student, and I got plenty of help.
You just need to know how to ask the questions.
Look at the links at the top of the forum to help you get started. If you have a thread topic that's... |
Forum: C++ Mar 31st, 2006 |
| Replies: 3 Views: 1,887 You could create additional pointers to the linked list that you assign during the search functions (Pass the pointers as parameters).
Then, once you've searched, you can continue to bring up... |
Forum: C# Mar 31st, 2006 |
| Replies: 13 Views: 18,266 I see... I've set the thread priority in a slightly different location so that the entire application runs at highest. Any downsides to that?
And while I understand what you're saying, the... |
Forum: C# Mar 30th, 2006 |
| Replies: 13 Views: 18,266 Ah, so the TOTAL time for one iteration of the loop should be 33 ms?
In retrospect, that should be a big ol' DUH on my part. Whoops.
...
I probably should've mentioned that this needs to be... |