資源簡介
根據cardinal曲線原理完成鼠標取點繪制曲線,并使小車沿曲線運動,使用Qt完成界面設計。
代碼片段和文件信息
#include?“mainwindow.h“
#include?
int?main(int?argc?char?*argv[])
{
????QApplication?a(argc?argv);
????MainWindow?w;
????w.setWindowtitle(“小車運動“);
????w.show();
????return?a.exec();
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????29637??2014-10-14?23:02??hw1\1.png
?????文件????????376??2014-10-14?23:40??hw1\hw1.pro
?????文件??????17970??2014-10-15?00:35??hw1\hw1.pro.user
?????文件????????222??2014-10-14?23:41??hw1\main.cpp
?????文件???????6322??2014-10-14?23:42??hw1\mainwindow.cpp
?????文件???????1633??2014-10-14?23:41??hw1\mainwindow.h
?????文件????????654??2014-10-14?23:40??hw1\mainwindow.ui
?????目錄??????????0??2014-11-16?20:39??hw1
-----------?---------??----------?-----??----
????????????????56814????????????????????8
- 上一篇:latex的內容很豐富的
- 下一篇:基于quartus2的秒表實驗
評論
共有 條評論