Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
Hi guys
I solved this
Thank you.................................................
Posted 9-Jan-13 18:04pm
Edited 9-Jan-13 19:27pm
v3
Comments
prashant patil 4987 at 9-Jan-13 23:12pm
   
try to do your assignment yourself...if any problem occured in between then ask queries..
prashant patil 4987 at 9-Jan-13 23:12pm
   
if this is your assignment then you can do it yourself only.. try to do your work with yourself. and if any problem occured during the ask queries.
CrugerBrent at 9-Jan-13 23:15pm
   
@prashant: As you see I have done my assignment. But need debugging. I'm still a beginner. I only need to find out what are the errors
prashant patil 4987 at 9-Jan-13 23:27pm
   
what is your error..?/
CrugerBrent at 9-Jan-13 23:29pm
   
any of buttons won't work when I press them.
Sergey Alexandrovich Kryukov at 9-Jan-13 23:37pm
   
A calculator with buttons! Can anyone ever explain me why would anyone use such thing ever. JavaScript itself is much better calculator, or a more graphical calculator can be written in JavaScript. Buttons with 0, 1, 2, ... 9, +, -, etc.? Are we in stone age?
—SA

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Again and again, please see: http://sakryukov.org/freeware/calculator/[^].
 
Pure JavaScript, only one file; see source code via View / Page Source. Million times simpler, just few lines of code, and millions time more functional: all kinds of expressions, anything JavaScript can do.
 
Who needs this…? well, see my comment to the question…
 
—SA
  Permalink  
Comments
CrugerBrent at 9-Jan-13 23:50pm
   
@Sergey: I appreciate your work. But this is not an answer for my question
Sergey Alexandrovich Kryukov at 9-Jan-13 23:57pm
   
Why do you need an answer to your question, especially when you did not answered my? Why not looking it from a right side? This is the advice... Well, sorry if you don't like it. Can you see that the idea of the calculator with buttons is just wrong? Before the PC era, they were produced because people could not do better. Why reproducing them in software?
—SA
CrugerBrent at 10-Jan-13 0:03am
   
@Sergey: I accept what you are saying. But this is an assignment. If my tutor think like the way you think, your idea will be a marvelous one. I have an error and I just need to fix it.......
Sergey Alexandrovich Kryukov at 10-Jan-13 1:57am
   
Well, talk to this person, your initiative might be welcome.
 
Want to tell you one thing: I don't even remember when I did exactly what I was told to do. Once I even came to our professor to arrange a date for the main doctoral exam, quite a formal one. Even though the exam wasn't designed this way, I claimed that they don't have to worry about main questions: I am going to prepare the short talk on the topic of my own choice and promise that it won't be boring. I don't know that anyone else put forward such a daring suggestion. Believe or not, it was quite welcome!
 
Reasonable people rather expect active approach and initiative.
 
And, anyway, consider accepting this formally (green button) — thanks. It won't compromise your chance to get other answers and accept them or not.
 
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 240
1 Kamal Rocks 184
2 CPallini 155
3 PIEBALDconsult 150
4 BillWoodruff 148
0 OriginalGriff 5,695
1 DamithSL 4,506
2 Maciej Los 4,007
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,180


Advertise | Privacy | Mobile
Web02 | 2.8.141216.1 | Last Updated 10 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100