test1.c

来自「公关系统服务器后台程序」· C语言 代码 · 共 33 行

C
33
字号
#include <stdio.h>#include "datapoolgui.h"#include "jmpool.h"int main(){	dataHeadInfo head;	int i;	gameDef game;	dataInit();	game.ID=231;	strcpy(game.name,"hello,...\0");	strcpy(game.filePath,"/movies/dvd/kdf.avi");	strcpy(game.singerName,"hl");	game.soundType=1;	head.dataType=dataGame;	head.dataTypeSize=sizeof(game);	head.dataCount=1;	head.dataVolume=9;	head.pageCur=1;	head.pageCount=1;		dataSetHeadInfo(head,0);	dataWriteNode(&game,0,0);		}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?