![]() |
|
| *AX SOFT>>>Programming & Design |
How to terminate a Java while loop using a string? |
import java.util.*; Your while condition will always evaluate to true. The expression You could try using the String.equalsIgnoreCase() or String.compareTo() methods. != and == don't work the way you'd expect with String. You need String.equals() or String.equalsIgnoreCase(). the problem is that you are not using object comparision. != will work only for primitives. |
| Tags |
| General - Computers & Internet Software Security Programming & Design Facebook Flickr Google MSN MySpace |
| Related information |
Put the javascript in a file and in a subfolder of your project and then reference it in the header Example: <script language="javascript" src="scripts/general.js"><... Checkout AceHtmlPro (Free Edition) which will help you learn html and allows for easy page generation. Great for anyone starting out. ...Where exactly are you storing the specification of your links? In each page? Or in a separate style sheet (CSS)? If you're not using an external style sheet, I highly recommend starting to do ... Files in Unix filesystems use inodes as structures that hold the actual file data on disks. inode number uniquely identifies a physical file on disk. Hard links are pretty much multiple names fo... It's as simple as this, in C++: string s; cin >> s; ...GIMP should run on any NT-based version of Windows (NT4, 2000, XP or Vista). Older GIMP versions (2.0.x) could also work with older versions of Windows such as Windows 95 but they are not supported... When you link to the .swf you can use target="blank" in the href.... <A HREF="link.swf" target="_blank"> This will force the page to open in a new window..... main() ...should be... int main(void) ...aside from that, you should probably work on understanding how "else if" works. ... |
Categories--Copyright/IP Policy--Contact Webmaster |