我可以在DLL中放一个类吗?我写的课是这样的:
class SDLConsole
{
public:
SDLConsole();
~SDLConsole(){};
void getInfo(int,int);
void initConsole(char*, char*, SDL_Surface*, int, int, int);
void sendMsg(char*,int, SDL_Surface*);
void cls(SDL_Surface*);
private:
TTF_Font *font;
SDL_Surface *consoleImg;
int width, pos, height, line, size, ctLine;
SDL_Surface* render(char*,int);
};
Run Code Online (Sandbox Code Playgroud)
我知道如何加载DLL并在DLL中使用该函数,但是如何在DLL中放置一个类?非常感谢你.
我尝试将DotNetZip与C++/CLR一起使用但是我发现我下载的每个文件都没有.h文件,在示例代码中,有"using namespace Ionic :: Zip;"
如何在我的代码中使用它?
当我编译项目时,英特尔Visual Fortran不断给我这种错误.错误可在以下代码中找到:
dimension tairgl(12),eairgl(24),windgl(12),psisgl(12),yenang(98),yunazm(98)
Run Code Online (Sandbox Code Playgroud)
这是编译器给出的错误消息.
Error: Syntax error, found END-OF-STATEMENT when expecting one of: ( [
Run Code Online (Sandbox Code Playgroud)
有人对这个错误有任何想法吗?