No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
- Interests
- Music, Cognitive Science, IT, Movies, Languages
Hello I have a problem that I cannot solve by myself. I'm making kind of calculator. I wanted to make one general method that handles all events for some buttons, because all of them are similar. My problem is that in NetBeans code for handling events is generated automatically and … |
|
I need to make calculator with buttons for each digit and so on. My question is, if there is any way to make one function that will handle with all events for all digits? Now I have: [CODE] private void addDigit(char i) { // some calculation with 'i' } private … |
|
Re:
Hi all. I am having trouble with these inside a loop I have. The loop is used to fill a struct and I want to check each input before it is accepted. It works fine if the input is what is expected but doesnt if it is incorrect input. Here … |
|
Re:
Just a little code I have been working on. New to programming and learned about rand. I applied it in this program. Like I said I'm new to programming and if there is a *easier and more effective way* to write some of my code, please tell me. The part … |
|
Re:
heya.. im creating a quiz program...but i dont konw how to randomize the questions can any1 help me out??? |