re: 基于HGE開發2DRPG[未登錄] TH 2011-05-07 17:04
可以發我看下源碼嘛 ~524710389@qq.com
re: 返璞歸真,網絡傳輸——結構體還是序列化?[未登錄] TH 2010-07-14 16:35
XXXMAN 就是一個2B
re: 一階謂詞邏輯歸結推理系統(1)[未登錄] TH 2009-05-28 12:59
x(A)、$x(A)是指的?xA , ?xA吧?
52oceans@163.com[未登錄] TH 2009-05-27 21:06
懇求您!
re: http://dev.yesky.com/140/7555640.shtml[未登錄] TH 2009-05-27 21:06
您博客上也沒放出核心部分啊 求您了 給下代碼看看吧 真的救命用啊
re: 發布精簡版cygwin-2009.iso[未登錄] th 2009-01-09 10:33
這個好東西啊,謝謝樓主
re: VC++窗口分割與通信實例[未登錄] th 2007-11-27 11:40
找到原因了 我的CTestDlg對話框屬性設置問題。
re: VC++窗口分割與通信實例[未登錄] th 2007-11-27 00:16
你好,CTestDlg應該顯示在 VCRightView里面,但我的為什么顯示在CMainFrame的坐標(0。0)位置?請指點。
re: 繪制牛頓法復雜邊界分形圖 && 海皮扭耶! TH 2007-01-01 12:36
很好,很強大!!
呵呵,ym. 這個圖很漂亮,能不能講一下它生成原理嗎?
呵呵,ym. 這個圖很漂亮,能不能講一下它生成原理嗎?
re: OpenGL的視圖變換 TH 2006-08-15 16:03
@可冰
呵呵,OpenGL本身是沒有對窗口進行處理能力的.需要借助GLUT庫,處理一些簡單的窗口應用.當然處理能力可能不是很強.
還有一個庫GLUI也許可以滿足你的要求:
/**
GLUI is a GLUT-based C++ user interface library which provides controls such as buttons, checkboxes, radio
buttons, spinners, and listboxes to OpenGL applications. It is window-system independent, relying on GLUT to
handle all system-dependent issues, such as window and mouse management.
**/
當然還有很多很優秀的GUI庫.如smartwin++,wxWidgets等.每種都有其不同的設計特點.按需學習了~~~
呵呵,OpenGL本身是沒有對窗口進行處理能力的.需要借助GLUT庫,處理一些簡單的窗口應用.當然處理能力可能不是很強.
還有一個庫GLUI也許可以滿足你的要求:
/**
GLUI is a GLUT-based C++ user interface library which provides controls such as buttons, checkboxes, radio
buttons, spinners, and listboxes to OpenGL applications. It is window-system independent, relying on GLUT to
handle all system-dependent issues, such as window and mouse management.
**/
當然還有很多很優秀的GUI庫.如smartwin++,wxWidgets等.每種都有其不同的設計特點.按需學習了~~~
re: 平衡有序樹AVL樹之兩種思路 TH 2006-06-05 19:27
你一定是一個算法高手. 呵呵,收集你很多文章 .
關注
關注
re: C++資源之不完全導引 TH 2006-06-01 23:29
已拜讀。特別是最后“不得不寫的結束語”,確實給人很多啟示。
給我在C++的定位的思考。
/********************
C++在訓練思維上,確實很好
給我在C++的定位的思考。
/********************
C++在訓練思維上,確實很好
re: C++異常處理一例 TH 2006-05-30 20:37
#include <cstdlib>
#include <iostream>
#include <fstream>
#include <string>
using namespace std;
int main(int argc, char *argv[])
{
ifstream source("c:\\abc.txt"); //´ò¿ªÎļþ
string line;
try //¶¨ÒåÒì³£
{
if (source.fail())
throw "txt"; //Å×ÖÀÒì³£
}
catch(string& s) //¶¨ÒåÒì³£´¦Àí
{
cout << "error opening the file " << s <<endl;
exit(1);
}
while(!source.eof())
{
getline(source, line, '\n');
cout<< line << endl;
}
source.close();
system("PAUSE");
return EXIT_SUCCESS;
}
#include <iostream>
#include <fstream>
#include <string>
using namespace std;
int main(int argc, char *argv[])
{
ifstream source("c:\\abc.txt"); //´ò¿ªÎļþ
string line;
try //¶¨ÒåÒì³£
{
if (source.fail())
throw "txt"; //Å×ÖÀÒì³£
}
catch(string& s) //¶¨ÒåÒì³£´¦Àí
{
cout << "error opening the file " << s <<endl;
exit(1);
}
while(!source.eof())
{
getline(source, line, '\n');
cout<< line << endl;
}
source.close();
system("PAUSE");
return EXIT_SUCCESS;
}
re: 第一個C++程序 TH 2006-05-28 20:36
#include <iostream>
using std::cout;
using std::endl;
int main(int argc, char* argv[])
{
cout<<"Hello , This is my first home for C++."<<endl;
cout<<"I am very like it!"<<endl;
cout<<"I'll stay here.OK."<<endl;
return 0;
}
學習本來就是個嚴謹的過程,做技術的更是如此,所以還需努力才行。
好了,就寫到這里吧。
using std::cout;
using std::endl;
int main(int argc, char* argv[])
{
cout<<"Hello , This is my first home for C++."<<endl;
cout<<"I am very like it!"<<endl;
cout<<"I'll stay here.OK."<<endl;
return 0;
}
學習本來就是個嚴謹的過程,做技術的更是如此,所以還需努力才行。
好了,就寫到這里吧。