- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
9 Posted Topics
ehehehe.. You post more than 1000 lines of code, and expect people to be able to see what the issue is? Please.. Redo your question, post relevant code, and then, and I talk for myself, I'll look at it. Just a good piece of advice.
Are you accidentally hitting the touch-pad on your laptop when you're writing? That's most likely it ^^
What? Why are people on DaniWeb so bad at defining their problems? Do you wish to make a program that takes a variable amount of integers, and upon asked, tell the user how many combinations there are to sort them? Or do you wish to make a program that takes …
How about throwing any guess the user makes into an ArrayList? That way, you can easily fetch amount of tries by running a `myArrayList.size()` (returns an integer on how big the arraylist is). And every time the user attempts to make a guess, their guess is checked against the arraylist …
Well, for starters. What do you mean with turning your program into a string? As for the negative-number check. You could either consider doing a `Math.abs` on the input for sanitazion, or create an if-statement around the `cin`, to check if the number provided is higher than 0.
> (Or if you want harder to read code ... Why would you even suggest that? ... Like he said, the compiler has **no clue** what you're doing here: `++= val;` .. The proper syntax to add **One** to your `val`-variable is to use `val++;` In another case, you might …
Well, SoundPlayer does not have an inbuilt pause/resume method, so you'd have to use another library if you're allowed to do so. If I may, I would advice using DirectX to play the audio file, although a bit more complex, it has the functionality you need. There is some more …
As far as I know, it can not be done. http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/ca257f22-115e-43f2-a28d-c806c81061b7/ Here's some more reading on your issue, and consider using NDde to extract the URL of the current tab.
Go here and read up on if-statements, it's really easy to do what you want: http://docs.oracle.com/javase/tutorial/java/nutsandbolts/if.html If you aren't into regex.
The End.