?? command.c
字號:
#include "Command.h"
#include "Server.h"
#include <windows.h>
// 添加一個元素到命令棧中
struct CommandList *Add_Command(struct CommandList *pNode,struct CommandDS Command)
{
if (pNode->pNext = (struct CommandList *)malloc(sizeof(struct CommandList)))
{
pNode = pNode->pNext;
strcpy(pNode->Command.szElement,Command.szElement);
pNode->pNext = NULL;
return pNode;
}
return NULL;
}
//完全清除命令棧元素
void Clear_Command(struct CommandList *pStart)
{
struct CommandList *pPrev;
struct CommandList *pNode;
while (pNode = pStart->pNext)
{
pPrev = pStart;
pPrev->pNext = pNode->pNext;
free(pNode);
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -