BZU PAGES: Find Presentations, Reports, Student's Assignments and Daily Discussion; Bahauddin Zakariya University Multan Right Header

Register FAQ Community Calendar New Posts Navbar Right Corner
HOME BZU Mail Box Online Games Radio and TV Cricket All Albums
Go Back   BZU PAGES: Find Presentations, Reports, Student's Assignments and Daily Discussion; Bahauddin Zakariya University Multan > Search Forums

Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: BSIT07-01
Forum: Object Oriented Programming 07-10-2011, 07:09 PM
Replies: 7
Views: 6,570
Posted By BSIT07-01
Re: Fraction Calculator with 4 functions in c++ [ex12 of ch#5] Robert Lafore

well, just create a new class . something like this...

class calculator
{
private:

public:

}then move all functions to the public part of class ... then in main part create new object...
Forum: Object Oriented Programming 18-09-2008, 04:59 AM
Replies: 7
Views: 6,570
Posted By BSIT07-01
Re: Fraction Calculator with 4 functions in c++ [ex12 of ch#5] Robert Lafore

Fraction Calculator with Proper LCM Function :)
#include <iostream>
using namespace std;


struct fraction
{
int numerator,denominator;

};
Forum: Object Oriented Programming 10-09-2008, 12:20 AM
Replies: 7
Views: 6,570
Posted By BSIT07-01
Re: Fraction Calculator with 4 functions in c++ [ex12 of ch#5]

Sab kucch hay yar,

There are separate functions for subtraction, multiplication & division ...

We've just called that functions, and used if statement to recognize that to which function we've...
Forum: Object Oriented Programming 08-09-2008, 10:39 PM
Replies: 7
Views: 6,570
Posted By BSIT07-01
Fraction Calculator with 4 functions in c++ [ex12 of ch#5] Robert Lafore

Fraction Calculator with 4 functions in c++ [ex12 of ch#5]


It adds only fractions like 2/3+4/3 (requirement is question).

Program ki Samajh aaye tu mujhe bhi samjha daina!
Ab tu mujhe khud...
Showing results 1 to 4 of 4

 
Best view in Firefox
Almuslimeen.info | BZU Multan | Dedicated server hosting
Note: All trademarks and copyrights held by respective owners. We will take action against any copyright violation if it is proved to us.

All times are GMT +5. The time now is 04:50 PM.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.