Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Feb 1st, 2007, 10:11 AM   #11
magnus.therning
Programmer
 
magnus.therning's Avatar
 
Join Date: May 2006
Location: Cambridge, UK
Posts: 88
Rep Power: 3 magnus.therning is on a distinguished road
Quote:
Originally Posted by mrynit View Post
@magnus.therning

dont do assignments in a while statment like that. the only thing that should be going on in the while(...) is a boolean test condtion.
I suspect you are worried about the Halloween Problem kicking in here. No worries though, in this case there is no risk of infinite looping.
__________________
Don't comment bad code - rewrite it.
- The Elements of Programming Style (Kernighan & Plaugher)
magnus.therning is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Please Fix My Dll Kilo C++ 12 May 25th, 2006 12:21 PM
C# corruption!!! Kilo C++ 32 May 21st, 2006 9:44 PM
Testing for a palindrome using std::string Jessehk C++ 9 May 3rd, 2006 2:55 AM
2 dimension array of characters brad sue C 8 Mar 15th, 2006 10:40 AM
Converting ANSI characters to hex for Checksum. JawaKing00 C 4 Sep 9th, 2005 6:07 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:07 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC