麥特不戴蒙

一些解決問題或技術文章存放區的概念

2014年1月27日 星期一

How To Solve The Link Fatal Error lnk1201 error writing to program database pdb

›
When Visual Studio 2003 run on Window 7, it occur the following error every time when compile finish:  Link Fatal error lnk1201 error wri...
2014年1月22日 星期三

解決 Relocations in generic ELF (EM: 40)

›
當 Link 完後出現 Relocations in generic ELF (EM: 40) 代表與別的 .a 連結的 compiler 版本不同 假設有兩個Project 1.JPEGLib 和 2.GUI JPEGLib 使用 arm-linux-...
2014年1月16日 星期四

Update Fedora repo URL

›
今天拿到一個 Fedora 6 的版本,發現要 yum update 時太舊了 查了一下,原來是 fedora.repo 的來源已變更網址 因此只要針對 /etc/yum.repos.d/ 下的 fedora.repo 和 fedora-updates.repo 進行修改 ...
2014年1月3日 星期五

Create Directory Tree in C++/Linux?

›
在 Linux 中我想要用 C/C++ 建立一個資料夾  / tmp / a / b / c 一般懶人作法是  system("mkdir -p /tmp/a/b/c") For Boost: #include <boost/filesyste...
2013年12月30日 星期一

x11

›
xev | grep -A2 --line-buffered '^KeyRelease' | sed -n '/keycode /s/^.*keycode \([0-9]*\).* (.*, \(.*\)).*$/\1 \2/p'
2013年12月26日 星期四

Visual Studio C++ 2003 在 Win7 上搜尋就當機的問題

›
Visual Studio .NET 2003 on Windows 7 hangs on search 個人推薦最簡單的方法 在下面的討論 You can do this by right clicking the shortcut to launch VS.NE...

[Ubuntu] source: not found 的問題

›
我在 .sh 中寫: source /home/myEnv 結果: sh: 1: source: not found 解法: 在 .sh 中面加上指定使用的 Shell #!/bin/bash StackOverflow 上的討論是說: The sou...
2013年12月25日 星期三

待整理 fork pipe dup2 execlp

›
fork()、pipe()、dup2() 和 execlp() 的組合技法 fred-zone.blogspot.tw/2010/05/forkpipedup2-execlp.html

GDB: breakpoint 出現 No Such File 的問題

›
有時使用遠端 Remote Debug 時,在下斷點時 GDB 會莫名出現 "No Such File" 的訊息,使得斷點一下在該檔案 GDB 就會提示一次,並且執行不到該檔案的路徑。 解決方法: Debug Configurations → Sour...
2013年12月23日 星期一

使用 boost::lexical_cast

›
在該篇討論中,最後提到,使用 Boost 的 lexical_cast 會有效率不彰的問題,除非真的必要(或是效率不重要),否則還是少用。 [1] 在文字和數字間轉換:boost::lexical_cast
‹
›
首頁
查看網路版
技術提供:Blogger.