Nevermind, I figured it out.
Another question. I just noticed that the program is using a lot of cpu when it's just sitting there. A little debug printing showed that the WM_PAINT message is...
Type: Posts; User: fatinez
Nevermind, I figured it out.
Another question. I just noticed that the program is using a lot of cpu when it's just sitting there. A little debug printing showed that the WM_PAINT message is...
Holy crap that is easy. Thanks a million.
Ok, it's been a while since I posted this. I looked up thread stuff but I cannot get it to work. Everything in GO_BUTTON is now in its own function. I absolutely cannot get a new thread to work...
I have a small Windows app that accepts a data file from a user, then processes the data. During the processing of the data (about 15-20 seconds) the user interface completely quits responding. Not...
I must be no good at Google. Sorry to waste your time.
Can anyone explain to me how to make a computer do a 2D discreet wavelet transform on an image. I've searched the internet and I know exactly what it is, and what it is supposed to look like, but...
Thanks for the help guys. I figured it out. One of the if statements had an extra condition in it. I don't know why it didn't affect all the codes. But, thanks again.
Sorry it took me so long to get back to you. I had to reformat my HD. The file I'm using for the assignment will fill the whole array, but thanks for the general advise. It did not help with the...
I am writing a program for a class that calls for Huffman coding. The coding itself is not the issue. The problem is that I can't figure out why a chunk of my code works for the first 90% of the...
HOLY CRAP!! That worked.
Thanks a million Dave.
200: 0
201: 0
202: 15
203: 255
204: 139
205: 47
206: -1
Yup. EOF
Yes sir.
For some reason, whenever the program reads 1A in hex, 26 in dec it is reading it as EOF. I have it print out the character and, sure enough, it prints -1. I don't get it. Other programs are...
Thanks, I'll see what I can come up with.
I need to make a 2-D array based on command line argumnets.
The program is supposed to compress an image in raw format. The command line is: compress filename width height
I have:
int...