i am writting program for digital calculator.and i have brought calculator image using graphics on outputscreenand i want to give dual interface of keyboard and mouse.how can i do that in graphics?
thank you in advance.
Amol Ranjere 0 Newbie Poster
Recommended Answers
Jump to PostLook into the curses library, or some variation thereof.
Jump to PostWait, is this a console (text) program or a Windows (GUI) program?
In either case, you will have to add "event listeners": code that checks for input from the keyboard and the mouse. If a button is pressed, add the appropriate digit into the current number or invoke …
Jump to PostIf it isn't in your coursebook and wasn't mentioned by your professor, you probably are wasting time messing with it. Just stick to the assignment.
All 9 Replies
plgriffith 0 Junior Poster
Duoas 1,025 Postaholic Featured Poster
zhelih -1 Junior Poster
Amol Ranjere 0 Newbie Poster
Amol Ranjere 0 Newbie Poster
plgriffith 0 Junior Poster
Duoas 1,025 Postaholic Featured Poster
LostCause(c,b) 0 Newbie Poster
SideTruth 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.