![]() |
||
|
Major Member
加入日期: Aug 2004
文章: 212
|
有人用過Allegro Game Library嗎?
經過一番混戰之後我終於找出安裝Allegro在Visual Studio 2005上的方法,但是卻發生一件很神奇的事情--我沒有辦法用其他不管是iostream、vector或著是 string之類的Library都沒辦法用!出現102個error C2143: syntax error : missing '{' before ':'之類的錯誤。請問有人知道問題是在哪嗎?會不會是我設定有錯誤?
代碼:
#include "allegro.h"
#include <vector>
using namespace std;
int main()
{
allegro_init();
allegro_message("Hello World!");
return 0;
}
END_OF_MAIN()
|
|||||||
|
|