String in C vs C++ c_str() extern”C”
memcpy, memset strcpy, + operator free new delete
share to be shared 😎
memcpy, memset strcpy, + operator free new delete
whoami, who am i, uname, diskspace file, which, nm, objdump, add2line,…
Dùng fopen (thư viện C) thay vì ofstream. Trong Linux, hàm fopen được dùng để mở một file và trả về một con trỏ kiểu FILE* fopen: mở file với tên và chế độ (ví dụ "r" để đọc, "w" để ghi, "a" để ghi nối thêm).
Compiler cung cấp một số macros được định nghĩa sẵn để hỗ trợ log, trace Chúng ta có thể tự tạo logging macro bao gồm các marcos có sẵn