Code::Blocks 教學 – Debugging

Author: Eric  //  Category: Free Teaching

01. File -> New -> Project -> Console application -> Go -> C/C++ -> 打上 Project title 和選擇要存放的位置 -> Next -> Finish

// 不要懶的創 Project,就 File -> New -> File -> C/C++ source -> Go -> C/C++ -> ...
// 或更偷懶直接,就 File -> Empty file
// 因為這樣會不能使用 Debug 功能

02. 點左邊 Projects 下的 Workspace -> Project title -> Sources -> *.cpp,貼上下面的程式碼,來體驗一下 Code::Blocks 的 Debug 功能。 Read more...

Windows C++ IDE 教學 – C++ Socket Programming

Author: Eric  //  Category: Free Teaching

01. 使用 Code::Blocks 寫 Socket Program 的設定

Settings -> Compiler and debugger -> Linker Settings -> Other linker options -> 加上 -lws2_32 Read more...

Windows C++ IDE 教學 – Increase Stack Size

Author: Eric  //  Category: Free Teaching

01. Code::Blocks 之 Increase Stack Size 的方法

Settings -> Compiler and debugger -> Linker Settings -> Other linker options -> 加上 -Wl,-stack,填需要的大小
// eg : -Wl,-stack,50000000 Read more...