Thursday, March 4, 2010

0

Lab oop Answer

  • Thursday, March 4, 2010
  • Ibnu Mahmud Al-Shirazy
  • Have you done this lab, if not here i will provide the answer for you to study it first and do your own source code, not just copy and paste. I help you and you must help me. Below is the source code: Please separate the header file, implementation and main function.#ifndef EMPLOYEE_H#define EMPLOYEE_H#include using namespace std;class Employee{private: string name; int id;public: Employee(string,int); void setName (string);...
    Read more...

    Wednesday, March 3, 2010

    0

    QUIZ 3 OOP ANSWER

  • Wednesday, March 3, 2010
  • Ibnu Mahmud Al-Shirazy
  • #include using namespace std;class Point{ private: int x; int y;public: Point (int = 3, int = 3); Point operator + (const Point &); Point operator * (const Point &); friend ostream& operator << ( ostream &, const Point &); friend istream& operator >> ( istream &, Point &);};Point::Point(int xx , int yy ){ x = xx; y = yy;}Point Point::operator +(const Point & a){ Point temp; temp.x...
    Read more...
    0

    PONTENG KELAS

  • Ibnu Mahmud Al-Shirazy
  • Di akhir-akhir sem ni berlakulah gejala yang tak sihat ini. Ada yang kata "silibus dah habis", "penat sangat la", "mengantuk la", "ada kerja lain".Ingatlah kita study kat university ni adalah satu amanah dan tanggungjawab yang perlu dilunaskan."sesungguhnya kami berikan mereka dua jalan, Tapi ramai yang memilih jalan kesenangan".Syeikh Idris Al-Marbawi sanggup menyusuri jalan-jalan gajah dalam hutan dari Perak semata-mata hendak...
    Read more...

    Subscribe