2009-01-01から1ヶ月間の記事一覧

パーツ買いました

ドスパラでパーツ買いました。 M/B ASUS M4A78 PRO CPU Phenom X3 8450e MEM Hylix DDR2 PC6400 2G×2しめて26000円

いまさらDirectX9のサンプルを勉強

クラスCD3DApplicationを使うのでd3dapp.cppなどをSamples\C++\Commonに入っているソースを全部コンパイルしてライブラリを作成する。はまった事。 forループスコープの強制準拠 for (int i=0;i<10;i++) { } if (i==0) {};古いVC++だとこれが通るんでコンパ…

多重ループを抜けたい

メモ。http://d.hatena.ne.jp/tanakh/20041002フラグを使うか gotoを使うか 関数にするか

LinuxでC/C++開発環境

C++

仕事で使っていて暇なとき色々いじくりまわしているのだが、EclipseかNetBeansどちらが良いか。

SRV431 DIV1 250

There is a laser cannon at coordinates (0, 0) on the cartesian plane. There are also several targets on the plane. Each target is a vertical line segment, and the endpoints of the i-th target are at coordinates (x[i], y1[i]) and (x[i], y2[…