Popular posts from this blog
Assembly Program Code For Brick Breaker Game
By
Zain Aftab
-
;-------------------------------------------------------; ;-------------------------------------------------------; ;-------------------------------------------------------; ;-------------------------------------------------------; ;-------------------------------------------------------; .MODEL SMALL .STACK 100H .DATA BAR_OLD_COLSTRT DW 50 BAR_OLD_COLEND DW 80 MOV_TO DW 0 BAR_ROW1 DW 181 BAR_ROW3 DW 184 BAR_NEW_COLSTRT DW 50 BAR_NEW_COLEND DW 80 ...
Polynomial C++ Class
By
Zain Aftab
-
//=============================== //Term.h //=============================== #ifndef TERM_H #define TERM_H #include"Polynomial.h" class Polynomial ; //forward declaration class Term { friend Polynomial; private: int exp; float coef; }; #endif //===============================//Polynomial.h //=============================== #ifndef POLYNOMIAL_H #define POLYNOMIAL_H #include"Term.h" #include<iostream> #include<math.h> using namespace std; class Polynomial:public Term { private: Term* termArray; int size; public: // make appropriate constructors. Polynomial(); Polynomial(float *coef,int *exp, int size); //functions other than cons...
Comments
Post a Comment