討論串[問題] 如何寫出符合安全的C/C++ code
共 3 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
要比較放不放preprocessor #define應該是用. #include <stdio.h>. #define SUPER_SECRET_PASSWORD "CrystalBall". const char *password = SUPER_SECRET_PASSWORD ;. int m
(還有264個字)
內容預覽:
突然想到一個方便的小實驗可以驗證上面這個說法,. 寫這樣一段小程式:. #include <stdio.h>. const char *password = "CrystalBall";. int main(void) {. printf("Password = %s\n", password);.
(還有998個字)
內容預覽:
https://www.facebook.com/x43x61x69/posts/780870938716449. 昨天看到很多人傳這一篇文章. 我發現周遭很多人都會犯一樣的錯誤。. 另外還看到很多新手居然把重要參數寫在 #define (preprocessor)中.... (同事的說法 因為編成
(還有394個字)
首頁
上一頁
1
下一頁
尾頁