The guy never mentioned an infinite loop. You infered that. From what he posted...that was a poor inference Liam. If you actually read it, the logical inference is that the loop is not...
Type: Posts; User: DeadArchDown
The guy never mentioned an infinite loop. You infered that. From what he posted...that was a poor inference Liam. If you actually read it, the logical inference is that the loop is not...
Microsoft-Programming_with_MFC_2nd_ed
the definitive MFC book. Petzold for MFC basically.
Shine on you crazy diamond
Patch coming soon to remove preinstalled software...part of a Gov deal or something. A patch so you can take their stuff off...haha..I love it.
Clyde. Obviously your absolutly right. People don't like the computer idea becuase current computers are a billionth of what our brain is...they are a baby step in the direction...and mabye still...
yeah\
Hahahahaha....your a funny guy. I wasn't laughing at his opinion. I couldn't care less about the dope with the final...hahaha...I was laughing at "I quite agree."...hahaha...me too old chap..me too...
I quite agree.
hhahahaha...can't help myself...hahahahaha
#include<stdlib.h>
system("pause");
system calls are slow...but in this case it doesn't matter.
The best way to do this is to use high prescision timers. All recent computers have them, although pretty old computers won't. Those computers prob won't be running your directx game anyway though....
I think you will have to use
(*MyWnd).ShowWindow(nCommandShow);
because the . is processed first. Thats why they use the ->, all those paretheses and * get confusing fast.
Pointer variables hold addresses, they cant hold characters. You have to dereferecne the pointer. Your pointer is only a pointer to a chacter too...it needs to point to an array, and you need to...
was some function (coreleft with borland..mabye?) and one that worked for microsoft (getglobalmemor mabye?) that returned how much memory was left to deligate from the freestore. I'd just assume...
That was my problem...stupidity. I was wondering about it, because I know you can explicity call the constructor...so I was thinking, why would it call it for you if sometimes you had to call it?...
When is the contructor called for a class thats been declared as a member of another class if you dont implicitly call the contructor? Is it called at all?
Think about that. He came, he wanted help, he didn't deserve help. It's the context. I didn't mean he was such a terrible little person that he deserved nothing...obviously. I ment he didn't deserve...
I thought that the speed difference from C to C++ was pretty much negligable? I know there must be some overhead from an object oriented system...but isn't it almost non existant with a good...
Of course...and as far as I know the average poster is not looking for courtesies...what he is looking for is not to be unfairley harassed...a very simple, legitmate desire.
What that poster got...
Something that you may run into that I've noticed: Im not sure if this is only with XP (I doubt it), but windows seems to automatically send the path of the file as the first command argument. I...
True. That is an easy way, but I seem to see people shy away from using "system". Perhaps because it's not portable. There may be better reasons too...I can't remember, but it's allways been in my...
Wo! You people sure jump off the wagon quickly. What I said has nothing to do with the amount of time I have been here...it is common board courtesy anywhere. And I was in no way rude or...
You still have me confused with your triples and doubles...
But, what your doing is using a while loop to read through the entire file. At this point, your 'get' cursor is at the end of the file....
No way to help you out without seeing some code first. Also, if your just computing statistics of the file, it's not necessary to read the characters into an array; in fact, your just wasting space. ...
Much appreciated.
You may have more luck on the windows programming board. MSDN also has the answer pretty clearly.