博客 / 列表

1angx - C中單向鏈表之增刪改查

C中單向鏈表之增刪改查 // 鏈表(Linked List)是一種基礎但至關重要的數據結構。它通過動態內存分配實現數據的非連續存儲,解決了數組的固定長度和插入/刪除低效的問題。無論是算法面試還是實際開發,鏈表都是高頻考點和核心技能之一。 #include iostream #include stdlib.h #include stdio.h #include cstring using names

後端

1angx - FZNCTF2025-PWN-WP

FZNCTF-Langx-PWN-WP fmt 格式化字符串漏洞 int __fastcall main(int argc, const char **argv, const char **envp) { int fd; // [rsp+4h] [rbp-24Ch] char buf[48]; // [rsp+10h] [rbp-240h] BYREF char format[520]

網絡安全

1angx - C_結構體學習_1

這裏記錄一下怎麼為結構體成員變量實現內存連續且為動態 #include iostream #include conio.h #include stdlib.h #include string.h #include stdio.h using namespace std; // 今天描述結構體中的指針和數組 typedef struct _Player { int level; ch

C語言