This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
#include <vector> | |
#include <iomanip> | |
using namespace std; | |
class Nguoi { | |
protected: | |
string hoten; | |
int namsinh; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <iomanip> | |
using namespace std; | |
class Array1D { | |
protected: | |
int n; | |
int *a; | |
public: | |
Array1D() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <iomanip> | |
#include <string> | |
#include <vector> | |
#include <algorithm> | |
using namespace std; | |
class NhanSu { | |
protected: | |
string maNV, hoTen, gioiTinh; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <iomanip> | |
#include <string> | |
using namespace std; | |
class MonHoc { | |
protected: | |
string tenMon; | |
float CC, KT, DT; // chuyên cần, kiểm tra, thi | |
public: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
#include <iomanip> | |
using namespace std; | |
class Nguoi { | |
protected: | |
string hoten; | |
int namsinh; | |
string gioitinh; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <iomanip> | |
using namespace std; | |
class Array1D { | |
protected: | |
int n; | |
int *a; | |
public: | |
Array1D() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <iomanip> | |
using namespace std; | |
class Time { | |
private: | |
int h, m, s; | |
public: | |
Time() : h(0), m(0), s(0) {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <iomanip> | |
#include <vector> | |
#include <algorithm> | |
using namespace std; | |
class Thisinh { | |
private: | |
string maTS; | |
string hoten; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```cpp | |
#include <iostream> | |
#include <iomanip> | |
using namespace std; | |
class MaTran { | |
protected: | |
int m, n; | |
int **a; | |
public: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vector> | |
using namespace std; | |
class DaThuc { | |
protected: | |
int bac; | |
vector<double> heso; // lưu hệ số từ bậc 0 -> bậc n | |
public: | |
DaThuc() : bac(0), heso(1,0) {} |
NewerOlder