Hi there, I can't seem to find why this program does not exit the loop whem the conditions are met, anyone else know?? Also why does the random numbers always...
You need to change: for(tries = 0; (tries < MAXTRIES) || (found != TRUE); tries++) To: for(tries = 0; (tries < MAXTRIES) && (found != TRUE); tries++) Since you...
Ian Packer
snazlists@...
Mar 1, 2003 8:55 pm
26716
I keep getting an illegal operation whenever i try to execute the following code: for (int count1; count1<groundcount;count1++) { ofstream out(savename); out...
Hello All. I want to write a programthat will display a message box only if the date is certain days. It is a Windows GUI program. I am running Windows 98...
From: ImacBabe [mailto:ImacBabe@...] ... It would be nice if you could explain to us, and more importantly the user, the orientation of the grid you're...
AAAAARRRRRRRRRRGGGGGGGGGGGHHHHHHHHH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! My experience has always been that int count1 would always be assigned the value of 0....
That's some VERY odd experience. ... Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"...
is it? I've heard people talk about unassigned variables containting a garbage value, but until now, for me at least, they've always had a value of 0. And I...
what compiler are you using? I seem to get garbage all the time when I forget to initialize the variable. I'm using VS 6 enterprise edition. On occasion I use...
marianne
uddane@...
Mar 2, 2003 3:17 pm
26724
HI, fellows I am learning WIN32 programming. I want to activate a screen saver by pressing Ctrl+Z. How can I do this using Visual C++ under WIN NT and win32 ...
Sharif, Muhammad
muhammad.sharif@...
Mar 2, 2003 5:14 pm
26725
Thanks Peter and Ian, You really helped me get it working! ImacBabe...
Enterprise edition????????? I think you're way beyond my league (though that's irrelevant to the question). I'm using visual c++ 6. I've often used for...
Hello. I am writing a win32 program and i am trying to create an icon for it. I am running Visual C++ 6.0. I created a new win32 GUI project, wrote my source,...
Hi. I'm a programmator from Romania and last week I've programmed an UDP chat using Win32 Sockets2 Api. My chat also contains a Time-Handler which sends ...
... There is another way to specialise, and that's not to specialise! template<class T, T GCD(T,T)> class Rational { //... void normalise() { T gcd = GCD(num,...
I have a C++6 project with an oDialog object of CDialog type, and the following code: oDialog d1; CString c1="New Title" d1.SetWindowText(c1); The last C++...
I am writing a command based (terminal) structured program and want to control the command prompt display for these 3 input modes. 1 interactive, where the...
Thanks. Sometimes the obvious escapes me. Chad ... From: Shyan Lam [mailto:lam@...] Sent: Monday, March 03, 2003 2:13 PM To: c-prog@yahoogroups.com ...