Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

bacho or bachiyo ye lo assignment ka solution

 

lo hum ne tum ko dil diya kiya yad karo gay

Views: 792

Attachments:

Replies to This Discussion

yaar yeah solution execute nahi ho raha please dakh ker share kero gain ...

nai yasir bhai ye turbo me compile hota hy dev main nahi hota

may ne turbo main compile kr k dekha hy.

yaar nabeel marwa na daina ...

 

 

hahahahaaaaa



#include<iostream>#include<conio.h>#include<math.h>using namespace std;
class CRectangle{      private:                            CRectangle()              {              }      public:                          int iBot;              int iTop;              int iLeft;              int iRight;
                            static int rectCount;
              CRectangle(int bottom,int top,int left,int right)              {                          iBot = bottom;                          iTop = top;                          iLeft = left;                          iRight = right;                                                    CRectangle::rectCount++;              }
                            CRectangle(const CRectangle& lhs)              {                          iBot = lhs.iBot;                          iTop = lhs.iTop;                          iLeft = lhs.iLeft;                          iRight = lhs.iRight;                                                    CRectangle::rectCount++;              }                                        ~CRectangle()              {                          CRectangle::rectCount--;              }                           long Area()              {                   return(long)( abs(iTop-iBot) * abs(iLeft-iRight) );              }};

int CRectangle::rectCount=1;

int main (){      CRectangle rect1 = CRectangle(40,150,40,100);    CRectangle rect2 = CRectangle(10,90,10,500);        cout"Area of rectangle 1 is "rect1. Area()endl;    cout"Area of rectangle 2 is "rect2. Area()endl;    cout"The number of rectangles is "CRectangle::rectCountendl;
    
            cout"The number of rectangles is "CRectangle::rectCountendl;
    getch();    return 0;}
best solution given to you

yar main int me return hoga

isme void me return krwa rakha he

ap sab void ko chng kr k int kro

phr compile ho jae ga dev me b

A b Dev ma compile karny kay lye Dev.Das khan sa layeeen.

how we can compile it in Dev

 

abaid ap aisa karo k ap ye assignment hi na snd karo.  is se acha solution ap k liye or koi nahi ho sakta or na hi apko koi provide karay ga
Yar i am also student of cs201 but mujay jo assignment mille hai is ka ya solution nahi hai assignment file is attached please if some body have made the solution of this assignment share it, assignment file is enclosed.
Attachments:

hahahahahahahahahahahah

shehryaar mje hansi aa rahi hy tum pe baychara.ab apcs201@vu.edu.pk pe mail snd karo or bolo sir g aa ki tusi menu praya smjday o.may v vu da hi student aan

yar yeh kia solution aap ne upload kia hai yeh to koi or problem hai jo problem assignment file mein hai woh to submit kia hi nhi

RSS

Looking For Something? Search Below

VIP Member Badge & Others

How to Get This Badge at Your Profile DP

------------------------------------

Management: Admins ::: Moderators

Other Awards Badges List Moderators Group

© 2021   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service