it's being read as a "char" so either cast it to an int, or read an "int" instead.
sillyboy 43 Practically a Master Poster
sillyboy 43 Practically a Master Poster
it's being read as a "char" so either cast it to an int, or read an "int" instead.
Krakatoa - Channel Static Blackout
do you know if you are getting the character at all? maybe you need to add the '\r' ... so try "\r\n" instead.
the '\n' character denote a new line.
done
as long as you have your bootloader configured correctly it should detect all OSs fine. i am no expert on this, so i wouldn't know how you would go about this specifically, but i would nearly assume belinix would simply add to an existing grub install.
perhaps somebody can confirm / deny this?
it doesn't seem like you get it. new Track() is trying to find the default constuctor for "Track" i.e. with no parameters. The only constructor you have defined has many constructors, where you should use new Track(param1, param2, ...).
next time use code tags too
you only want to execute the calculations if you have finished receiving user inputs, currently you are doing them as you get the inputs. you want to break out of the loop after the user has finished inputting values. your calculations should be outside the loop and only be executed at the end.
did you even read my question?
if you "break" you are going to skip the calculations. does the calculation need to be in the loop?
you need to somehow "remember" values from previous iterations of the while loop. so if you have a MAX number of iterations you could use an array, but perhaps it would be easiest to use a vector instead. you should also consider an exit clause to the loop.
ah yes, forgot about that, definitely needs to be considered...
equalsIgnoreCase... just read the method name and you should get a fair indication what it does. since it ignores the case, you don't need || . just note jAck, jACk, etc... will also evaluate to true, so if you want to exlude these, use equals instead.
way to bump a super old thread, lol.
I personally use ubuntu. There should be tools in xp and fedora which would allow you to partition your hard disk. It should also be possible while installing Belinix.
In my case, I had my HDD with only vista running. I reduced the size of the partition and installed ubuntu on the unallocated space.
if you write the code, it belongs to you. you can choose licensing on what you have written.
The "==" operator won't evaluate two Strings as true unless they are the same object. You should use String.equals() instead.
ah thanks, I was just after the server details.
you do realise the ways to do this are limitless, not to mention you don't specify any database specifications. in other words, nobody is going to be able to help you with that info.
thanks for this thread, i always wanted to be able to middle click with my touch pad.
ok, well from my understanding you want to set the value of hidden1, hidden2 depending on which submit button is pressed. you already have the onclick event, so inside the event you want to execute some javascript which will populate the values for you.
e.g. onclick=setValues()
if you do this, you obviously need a corresponding function setValues defined, which should do something like i posted in my preview reply.
does that make more sense?
you mention a database, therefore you would probably want a server-side language to set up a database connection.
you don't need to insert any hidden fields as such, just set the value. if this is to be filled when you submit the form, then make use of the onclick event and set the element (your input field) value.
e.g. document.getElementById().value = "blah"
Don't just copy and paste the code, it's just there to give you the idea.
MGMT - Oracular Spectacular
so catchy.
this link should probably help you out:
http://scorreiait.wordpress.com/2007/09/25/how-to-find-the-free-disk-space-in-java/
there is probably going to be no sample source code given before you do anything yourself. research parsing html in java, it shouldn't be all that difficult to achieve what you want once you know how to parse html.
what are your inputs?
you do realise you have 2 while loops to satisfy?
still doesn't make any sense
the "easiest" way is probably to download an IDE like eclipse since it has good support for common Java practices (e.g. autocomplete). BUT I wouldn't necessarily say it is the best way to learn Java. if you are to get the best out of it, I would recommend downloading the Java JDK and trying to compile / run code through the command-line interface.
it does seem too "out there". if i were to guess you have a nullpointer in one of your events.
did you look into selenium at all?
it may be overkill, but it'll work...
you could probably use "Selenium" to do this for you. it is used more for testing purposes, but it'll do what you want.
NumberFormatString?
it would help if you actually post your error (including line numbers), but my guess would be Double.parseDouble isn't working for you.
you have the while loop, which us going to act as your loop. the problem however is that you never query the user for x again. if you read the code, you are going to ask the user for y/n, but never for new numbers.
x is going to be the same through all your looping.
I have usually used logitech, but I am not too into gaming these days.
there's been a few of these threads recently, and the originator hasn't even replied... there is seriously no need to repeat solutions and bump an old thread (which I realise I am doing right now :p)
err... what is going on here?
sounds like a power supply issue, does it work with the battery?
sure by declaring it as a String won't "start it out as an int".
i am pretty sure none of the solution givers are stupid enough to help him out without showing any effort, so i wouldn't worry. if he choses to waste his time monitoring the net instead of attempting this himself, it's his own fault. chillax :)
i am pretty sure you got that backwards there stephen.
"For example I would enter 12345 and 1 2 3 4 5 would be returned."
in C, classes will teach you to treat a String is simply an array of chars, and i think you should keep this in mind here.
i am not sure what your requirements are, but the easiest way to accomplish this, is probably to simply traverse through the String and print each element, followed by a "\t". maybe you need to actually store this as a String? (if so, shouldn't be hard to work out)
do you know how to traverse the String? (remember to consider it as a array of chars, and so as hints: String.length(), String.charAt())
i assume you are going to keep your input saved as a string. if so, is it always a space between each element (char)? or will there be instances where it may be "12 3"?
if it is a space between each element, it should be pretty easy, you just need to work out how to references the elements of the String individually, and add in the whitespace.
read the api on String.split(). it doesn't do what you think it is doing.
since you are not using code tags, it's hard to see, but i will just guess and say you haven't closed your brackets properly.