Skip to content

Instantly share code, notes, and snippets.

View hoangvvo's full-sized avatar
🐢
I may be slow to respond.

Hoang hoangvvo

🐢
I may be slow to respond.
View GitHub Profile
@hoangvvo
hoangvvo / db.sql
Last active January 2, 2024 10:43
co3103-lms-db
-- This script was generated by the ERD tool in pgAdmin 4.
-- Please log an issue at https://github.com/pgadmin-org/pgadmin4/issues/new/choose if you find any bugs, including reproduction steps.
BEGIN;
CREATE TABLE IF NOT EXISTS public.app_session
(
id serial NOT NULL,
user_id integer NOT NULL,
token character varying(255) COLLATE pg_catalog."default" NOT NULL,
@hoangvvo
hoangvvo / co3001_oop_exercise2.cpp
Last active October 4, 2023 09:03
CO3001_OOP class exercise
#include <iostream>
#include <string>
using namespace std;
class Person {
protected:
string name;
string address;
@hoangvvo
hoangvvo / bankaccount.cpp
Last active September 27, 2023 07:57
CO3001_OOP class exercise
#include <iostream>
#include <string>
#include <exception>
using namespace std;
class BankAccount
{
private:
int accountNumber;
string accountHolderName;