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

タスクリスト

部品定義の仕様を見直す frame:フレーム view:中間部品 ctrl:中間部品 part:基本部品 info:情報部品 フレーム単位にXMLを解析する ViewやCtrlも自身のXMLは自身で解析する ポップアップやBasicフレーム組み込む

NyAR4psgを試す

Processing + NyARToolkit という組合せもあるとのことで試す。一通りサンプルを動かしてみた。 非常に簡単 短いコードでできる グラフィックが派手 OpenGLを使って色々できる 3Dモデルを用意する手間を省ける とりあえずアイディアを試すには最高の組合せで…

タスクリスト

・設計 ・アプリモデルのバリエーションを考える・調査 ・競合の価格・表現力を調べる・開発 ・モジュールを整理する ・jar化する

OpenCVをVC++2008で実行時エラー

問題 error LNK2019: 未解決の外部シンボル _cvReleaseImage が関数 _main で参照されました。 解決 「プロジェクト」→「○×△のプロパティ」→「構成プロパティ」→「リンカ」→「入力」→「追加の依存ファイル」に cv210.lib cxcore210.lib highgui210.lib を書く

Project Eueler: problem22

問題 Using names.txt (right click and 'Save Link/Target As...'), a 46K text file containing over five-thousand first names, begin by sorting it into alphabetical order. Then working out the alphabetical value for each name, multiply this v…

Project Eueler: problem21

問題 Let d(n) be defined as the sum of proper divisors of n (numbers less than n which divide evenly into n). If d(a) = b and d(b) = a, where a b, then a and b are an amicable pair and each of a and b are called amicable numbers.For exampl…

Project Eueler: problem20

問題 n! means n (n 1) ... 3 2 1For example, 10! = 10 9 ... 3 2 1 = 3628800, and the sum of the digits in the number 10! is 3 + 6 + 2 + 8 + 8 + 0 + 0 = 27.Find the sum of the digits in the number 100! 回答 def kai(n) return n if n == 1 retu…

Android: 別パッケージのActivityを起動する

問題 別パッケージのActivityを起動する Intent intent = new Intent(this,jp.leontec.coresaap.CSFrameBrowser.class); intent.setClassName("jp.ex", "jp.ex.myactivity"); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent);という…

Project Eueler: problem18

問題 By starting at the top of the triangle below and moving to adjacent numbers on the row below, the maximum total from top to bottom is 23.3 7 4 2 4 6 8 5 9 3That is, 3 + 7 + 4 + 9 = 23.Find the maximum total from top to bottom of the t…

Project Eueler: problem19

問題 You are given the following information, but you may prefer to do some research for yourself.1 Jan 1900 was a Monday. Thirty days has September, April, June and November. All the rest have thirty-one, Saving February alone, Which has …