16,471
社区成员
发帖
与我相关
我的任务
分享
int main( int /*argc*/, char ** argv)
{
cout << "hello world!" << endl;
// Initialize ImageMagick install location for Windows
InitializeMagick(*argv);
return 0;
}
//
// Magick++ demo to generate a simple text button
//
// Copyright Bob Friesenhahn, 1999, 2000, 2001, 2003
//
#include <string>
#include <iostream>
#include <Magick++.h>
using namespace std;
using namespace Magick;
int main( int /*argc*/, char ** argv)
{
cout << "hello world!" << endl;
// Initialize ImageMagick install location for Windows
InitializeMagick(*argv);
return 0;
}
最后一句要extern C ?那个不是C函数啊