Skip to content


reply plzzzzzzzz

This section of C++ contains source codes of Programs implementing Object Oriented concepts in C++. Classes and Objects are the most important features of C++.

reply plzzzzzzzz

Postby asad » December 18th, 2008, 9:18 pm

sir i am a student of sotware engineerining i am givin task to make a calculator that is scientific plzzzzzzzz plzzzzzz plzz help me give me directions .i just made the interface by
simple underscores and pipe signs screen is as
___________________________________
|________________________________0_|
plz help me ,task is i enter the values in it as
___________________________________
|________________________________5_|
then operator as
___________________________________
|_______________________________5+_|
another value

___________________________________
|_______________________________5+6_|
sir result will be as
___________________________________
|_______________________________11_|
the above work should be in one screen as we enter 5 zero is placed by 5,as we enter + it is
optional may be displayed or not but as i enter 6 five should be replace by 6 ,lastly addition that is 11 be displayed
Muhammad Asad Kayani
if you want to brief me by description sir no is
03459758211
asad
 
Posts: 8
Joined: December 18th, 2008, 8:49 pm


Re: reply plzzzzzzzz

Postby Web Guru » December 19th, 2008, 10:02 am

In order to implement the calculator screen, please read the function "goto(x,y)". This function helps you to print any character on a spcific position on the screen. Use getch( ) function to get the user input and then using goto() or gotoxy() function, print the user input on the screen.

Please go through the followings projects to have a better idea of this technique.

1- http://www.geosourcecode.com/mzb-scientific-calculator-without-gui-t252.html

2- http://www.geosourcecode.com/simple-calculator-t229.html

I hope it will helps U.
User avatar
Web Guru
 
Posts: 94
Joined: March 24th, 2008, 7:59 am
Location: Lahore, Pakistan


waiting for your reply

Postby asad » December 19th, 2008, 11:48 am

sir i know your time is important but sir plz you have more wide range of knowledge
than me plz by simple codes help me i am new in programming so i am not an efficiant
programmer as you sir plzz reply as soon as you find this ,sir show me the code just prints
any two numbers in the screen that sir i shown to you further i will be in contact with you
sir kindly give your phone no so further discussions i can make on phone.
"""""""""""""""""""""reply plzzzzzzz"""""""""""""""""""""
<<<<<<<<<<<<<<<<<Muhammmad Asad kayani>>>>>>>>>>>>>>>
asad
 
Posts: 8
Joined: December 18th, 2008, 8:49 pm


Return to Board index

Return to Object Oriented Programming (OOP)

Who is online

Users browsing this forum: No registered users and 0 guests